Photon Bolt Engine API
1.3
Public Member Functions | |
| bool | AddRoomProperty (string key, object value, bool showInLobby=true) |
| Adds the room property. More... | |
| PhotonRoomProperties () | |
| void | Read (UdpPacket packet) |
| Used to deserialize the Token reading data from the data packet. More... | |
| bool | RemoveRoomProperty (string key) |
| Removes the room property. More... | |
| void | Write (UdpPacket packet) |
| Used to serialize the Token by writing data into the data packet. More... | |
Properties | |
| Dictionary< object, object > | CustomRoomProperties [get] |
| HashSet< string > | CustomRoomPropertiesInLobby [get] |
| bool | IsOpen [get, set] |
| bool | IsVisible [get, set] |
| object | this[string key] [get, set] |
|
inline |
|
inline |
Adds the room property.
true, if room property was added, false otherwise.| key | Propety Key. |
| value | Property Value. |
| showInLobby | If set to true show this property on the Lobby too, so the client can see the properties before entering the room. |
|
inline |
Used to deserialize the Token reading data from the data packet.
| packet | Data packet that contains the Token info |
Implements Photon.Bolt.IProtocolToken.
|
inline |
Removes the room property.
true, if room property was removed, false otherwise.| key | Property Key. |
|
inline |
Used to serialize the Token by writing data into the data packet.
| packet | Data packet used to store the Token info |
Implements Photon.Bolt.IProtocolToken.
|
get |
|
get |
|
getset |
|
getset |
|
getset |