Photon Quantum 3.0.0

Public Member Functions | Public Attributes | List of all members
Photon.Deterministic.Protocol.Disconnect Class Reference

Is sent from the server to gracefully disconnect a client. More...

Inheritance diagram for Photon.Deterministic.Protocol.Disconnect:
Photon.Deterministic.Protocol.Message

Public Member Functions

override void Serialize (Serializer serializer, BitStream stream)
 The message serialization (writing and reading). More...
 
override string ToString ()
 Debug string with message content. More...
 

Public Attributes

String Reason
 Disconnect reason debug string. More...
 

Detailed Description

Is sent from the server to gracefully disconnect a client.

Member Function Documentation

◆ Serialize()

override void Photon.Deterministic.Protocol.Disconnect.Serialize ( Serializer  serializer,
BitStream  stream 
)
inlinevirtual

The message serialization (writing and reading).

Parameters
serializerQuantum protocol serializer
streamThe bitstream to write to or read from

Implements Photon.Deterministic.Protocol.Message.

◆ ToString()

override string Photon.Deterministic.Protocol.Disconnect.ToString ( )
inline

Debug string with message content.

Returns
Debug string

Member Data Documentation

◆ Reason

String Photon.Deterministic.Protocol.Disconnect.Reason

Disconnect reason debug string.