Gets the player time to live in milliseconds. You need to join a room to get the real value.
If a client disconnects or if it leaves a room with the 'willComeBack' flag set to true,
its player becomes inactive first and only gets removed from the room after this timeout.
-1 and INT_MAX set the inactivity time to 'infinite'.
0 (default) deactivates player inactivity.
All other positive values set the inactivity time to their value in milliseconds.
All other negative values get ignored and the behavior for them is as if the default value was used.
Note: A player is only able to rejoin a room in its existing player slot while it is still inactive.
Once it has left for good it will be treated as a completely new player.
|
Target
Photon Cloud Object Object Reference
|
|
Return Value
Integer
|
Gets the player time to live in milliseconds. You need to join a room to get the real value. |