Public Types | |
enum | DeserializationFlags { DeserializationFlags.None = 0, DeserializationFlags.AllowPooledByteArray = 1, DeserializationFlags.WrapIncomingStructs = 2 } |
Public Member Functions | |
abstract void | Serialize (StreamBuffer dout, object serObject, bool setType) |
abstract void | SerializeShort (StreamBuffer dout, Int16 serObject, bool setType) |
abstract void | SerializeString (StreamBuffer dout, String serObject, bool setType) |
abstract void | SerializeEventData (StreamBuffer stream, EventData serObject, bool setType) |
abstract void | SerializeOperationRequest (StreamBuffer stream, byte operationCode, Dictionary< byte, object > parameters, bool setType) |
abstract void | SerializeOperationRequest (StreamBuffer stream, byte operationCode, ParameterDictionary parameters, bool setType) |
abstract void | SerializeOperationResponse (StreamBuffer stream, OperationResponse serObject, bool setType) |
abstract object | Deserialize (StreamBuffer din, byte type, DeserializationFlags flags=0) |
abstract short | DeserializeShort (StreamBuffer din) |
abstract byte | DeserializeByte (StreamBuffer din) |
abstract EventData | DeserializeEventData (StreamBuffer din, EventData target=null, DeserializationFlags flags=0) |
abstract OperationRequest | DeserializeOperationRequest (StreamBuffer din, DeserializationFlags flags=DeserializationFlags.None) |
abstract OperationResponse | DeserializeOperationResponse (StreamBuffer stream, DeserializationFlags flags=DeserializationFlags.None) |
abstract DisconnectMessage | DeserializeDisconnectMessage (StreamBuffer stream) |
byte[] | Serialize (object obj) |
Serialize creates a byte-array from the given object and returns it. More... | |
object | Deserialize (StreamBuffer stream) |
Deserialize returns an object reassembled from the given StreamBuffer. More... | |
object | Deserialize (byte[] serializedData) |
Deserialize returns an object reassembled from the given byte-array. More... | |
object | DeserializeMessage (StreamBuffer stream) |
Public Attributes | |
readonly ByteArraySlicePool | ByteArraySlicePool = new ByteArraySlicePool() |
Properties | |
abstract string | ProtocolType [get] |
abstract byte[] | VersionBytes [get] |
|
inline |
Deserialize returns an object reassembled from the given byte-array.
serializedData | The byte-array to be Deserialized |
|
pure virtual |
Implemented in ExitGames.Client.Photon.Protocol16, and ExitGames.Client.Photon.Protocol18.
|
inline |
Deserialize returns an object reassembled from the given StreamBuffer.
stream | The buffer to be Deserialized |
|
pure virtual |
Implemented in ExitGames.Client.Photon.Protocol16, and ExitGames.Client.Photon.Protocol18.
|
pure virtual |
Implemented in ExitGames.Client.Photon.Protocol18, and ExitGames.Client.Photon.Protocol16.
|
pure virtual |
Implemented in ExitGames.Client.Photon.Protocol16, and ExitGames.Client.Photon.Protocol18.
|
inline |
|
pure virtual |
Implemented in ExitGames.Client.Photon.Protocol18, and ExitGames.Client.Photon.Protocol16.
|
pure virtual |
Implemented in ExitGames.Client.Photon.Protocol18, and ExitGames.Client.Photon.Protocol16.
|
pure virtual |
Implemented in ExitGames.Client.Photon.Protocol16, and ExitGames.Client.Photon.Protocol18.
|
inline |
Serialize creates a byte-array from the given object and returns it.
obj | The object to serialize |
|
pure virtual |
Implemented in ExitGames.Client.Photon.Protocol16, and ExitGames.Client.Photon.Protocol18.
|
pure virtual |
Implemented in ExitGames.Client.Photon.Protocol16, and ExitGames.Client.Photon.Protocol18.
|
pure virtual |
Implemented in ExitGames.Client.Photon.Protocol16, and ExitGames.Client.Photon.Protocol18.
|
pure virtual |
Implemented in ExitGames.Client.Photon.Protocol16, and ExitGames.Client.Photon.Protocol18.
|
pure virtual |
Implemented in ExitGames.Client.Photon.Protocol16, and ExitGames.Client.Photon.Protocol18.
|
pure virtual |
Implemented in ExitGames.Client.Photon.Protocol16, and ExitGames.Client.Photon.Protocol18.
|
pure virtual |
Implemented in ExitGames.Client.Photon.Protocol16, and ExitGames.Client.Photon.Protocol18.
readonly ByteArraySlicePool ExitGames.Client.Photon.IProtocol.ByteArraySlicePool = new ByteArraySlicePool() |
|
get |
|
get |