PhotonCloudAPI > Photon Cloud Object > Get Master Player Number

Get Master Player Number

Returns the number of the master client if the user joined a room or -1 if not
\return int32 number of the master client or -1 (no room)

Inputs

Target
Photon Cloud Object Object Reference

Outputs

Return Value
Integer

Returns the number of the master client if the user joined a room or -1 if not
\return int32 number of the master client or -1 (no room)