Code of the reasons why a peer may leave a room. More...
Static Public Member Functions | |
static string | ToString (int reason) |
Stringify the leave reason code More... | |
Static Public Attributes | |
const byte | ClientDisconnect = 0 |
Indicates that the client called Disconnect() More... | |
const byte | ClientTimeoutDisconnect = 1 |
Indicates that client has timed-out server. This is valid only when using UDP/ENET. More... | |
const byte | ManagedDisconnect = 2 |
Indicates client is too slow to handle data sent. More... | |
const byte | ServerDisconnect = 3 |
Indicates low level protocol error which can be caused by data corruption. More... | |
const byte | TimeoutDisconnect = 4 |
Indicates that the server has timed-out client. More... | |
const byte | ConnectTimeout = 5 |
TBD: Not used currently. More... | |
const byte | SwitchRoom = 100 |
TBD: Not used currently. More... | |
const byte | LeaveRequest = 101 |
Indicates that the client called OpLeave(). More... | |
const byte | PlayerTtlTimedOut = 102 |
Indicates that the inactive actor timed-out, meaning the PlayerTtL of the room expired for that actor. More... | |
const byte | PeerLastTouchTimedout = 103 |
Indicates a very unusual scenario where the actor did not send anything to Photon Servers for 5 minutes. Normally peers timeout long before that but Photon does a check for every connected peer's timestamp of the last exchange with the servers (called LastTouch) every 5 minutes. More... | |
const byte | PluginRequest = 104 |
Indicates that the actor was removed from ActorList by a plugin. More... | |
const byte | PluginFailedJoin = 105 |
Indicates an internal error in a plugin implementation. More... | |
Code of the reasons why a peer may leave a room.
|
inlinestatic |
Stringify the leave reason code
reason | Leave reason code |
|
static |
Indicates that the client called Disconnect()
|
static |
Indicates that client has timed-out server. This is valid only when using UDP/ENET.
|
static |
TBD: Not used currently.
|
static |
Indicates that the client called OpLeave().
|
static |
Indicates client is too slow to handle data sent.
|
static |
|
static |
Indicates that the inactive actor timed-out, meaning the PlayerTtL of the room expired for that actor.
|
static |
Indicates an internal error in a plugin implementation.
|
static |
Indicates that the actor was removed from ActorList by a plugin.
|
static |
Indicates low level protocol error which can be caused by data corruption.
|
static |
TBD: Not used currently.
|
static |
Indicates that the server has timed-out client.