Photon Fusion 2.0.0

Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
NetCommandDisconnect Struct Reference

Disconnect Command, it can be used by either side of the connection. More...

Static Public Member Functions

static NetCommandDisconnect Create (NetDisconnectReason reason, byte *token, int tokenLength)
 
static NetCommandDisconnect Create (NetDisconnectReason reason, byte[] token)
 

Public Attributes

NetCommandHeader Header
 
NetDisconnectReason Reason
 
fixed byte TokenData [TOKEN_MAX_LENGTH_BYTES]
 
int TokenLength
 

Static Public Attributes

const int TOKEN_MAX_LENGTH_BYTES = 128
 

Detailed Description

Disconnect Command, it can be used by either side of the connection.