PhotonCloudAPI > Photon Voice Client > 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 InData 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 bReliable 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)

Inputs

In
Exec

Target
Photon Voice Client Object Reference

In Data
Photon JSON Object Reference

Photon Player Targets
Array of Integers

Cache
EPhotonEventCache Enum

Reliable
Boolean

Interest Group
Byte

Receiver Group
EPhotonPlayerTarget Enum

Outputs

Out
Exec

Return Value
Boolean

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 InData 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 bReliable 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)