PhotonCloudAPI > Photon Cloud Object > Send Player Data

Send Player Data

Sends custom user data as JSON to a list of player targets, with the ability of save the data in the server for future players entering the current joined room
\param Data json with the data you want to send
\param PhotonPlayerTargets list of players to receive this message
\param cache if you want to save the data with a policy for cache
\param Reliable only true if you want to make sure the message is received
\param InterestGroup (use function ChangeGroups to enable/disable) default = 0
\param ReceiverGroup instead of specifying the targets manually (cheaper)
\param CacheSliceIndex - cache slice index to be used when caching option requires it

Inputs

In
Exec

Target
Photon Cloud Object Object Reference

Data
Photon JSON Object Reference

Photon Player Targets
Array of Integers

Cache
EPhotonEventCache Enum

Reliable
Boolean

Interest Group
Byte

Receiver Group
EPhotonPlayerTarget Enum

Cache Slice Index
Integer

Outputs

Out
Exec