Photon Server API Documentation v5.0RC1

Static Public Member Functions | List of all members
Photon.SocketServer.Rpc.Protocols.GpBinaryV18.GpBinaryByteReaderV18 Class Reference

Static Public Member Functions

static bool Read (ref ReadContext context, out object result, out string errorMsg, int depth)
 Reads an object from a binary reader. More...
 
static bool ReadEventData (ref ReadContext context, out object result, out string errorMsg, int depth=0)
 
static bool ReadEventData (ref ReadContext context, out EventData result, out string errorMsg, int depth=0)
 
static bool ReadOperationRequest (ref ReadContext context, out object operationRequest, out string errorMsg, int depth=0)
 
static bool ReadOperationRequest (ref ReadContext context, out OperationRequest operationRequest, out string errorMsg, int depth=0)
 
static bool TryReadOperationResponse (ref ReadContext context, out object result, out string errorMsg, int depth)
 
static bool TryReadOperationResponse (ref ReadContext context, out OperationResponse result, out string errorMsg, int depth=0)
 
static bool TryReadDisconnectMessage (ref ReadContext context, out object result, out string errorMsg, int depth)
 
static bool TryReadDisconnectMessage (ref ReadContext context, out DisconnectMessage result, out string errorMsg, int depth=0)
 

Member Function Documentation

◆ Read()

static bool Photon.SocketServer.Rpc.Protocols.GpBinaryV18.GpBinaryByteReaderV18.Read ( ref ReadContext  context,
out object  result,
out string  errorMsg,
int  depth 
)
inlinestatic

Reads an object from a binary reader.

Parameters
contextcontains everything for deserialization
resultThe result.
errorMsg
depthcontains depth of the stack calls. every recursive call increase it
Returns
The next object read from the binary reader.

◆ ReadEventData() [1/2]

static bool Photon.SocketServer.Rpc.Protocols.GpBinaryV18.GpBinaryByteReaderV18.ReadEventData ( ref ReadContext  context,
out EventData  result,
out string  errorMsg,
int  depth = 0 
)
inlinestatic

◆ ReadEventData() [2/2]

static bool Photon.SocketServer.Rpc.Protocols.GpBinaryV18.GpBinaryByteReaderV18.ReadEventData ( ref ReadContext  context,
out object  result,
out string  errorMsg,
int  depth = 0 
)
inlinestatic

◆ ReadOperationRequest() [1/2]

static bool Photon.SocketServer.Rpc.Protocols.GpBinaryV18.GpBinaryByteReaderV18.ReadOperationRequest ( ref ReadContext  context,
out object  operationRequest,
out string  errorMsg,
int  depth = 0 
)
inlinestatic

◆ ReadOperationRequest() [2/2]

static bool Photon.SocketServer.Rpc.Protocols.GpBinaryV18.GpBinaryByteReaderV18.ReadOperationRequest ( ref ReadContext  context,
out OperationRequest  operationRequest,
out string  errorMsg,
int  depth = 0 
)
inlinestatic

◆ TryReadDisconnectMessage() [1/2]

static bool Photon.SocketServer.Rpc.Protocols.GpBinaryV18.GpBinaryByteReaderV18.TryReadDisconnectMessage ( ref ReadContext  context,
out DisconnectMessage  result,
out string  errorMsg,
int  depth = 0 
)
inlinestatic

◆ TryReadDisconnectMessage() [2/2]

static bool Photon.SocketServer.Rpc.Protocols.GpBinaryV18.GpBinaryByteReaderV18.TryReadDisconnectMessage ( ref ReadContext  context,
out object  result,
out string  errorMsg,
int  depth 
)
inlinestatic

◆ TryReadOperationResponse() [1/2]

static bool Photon.SocketServer.Rpc.Protocols.GpBinaryV18.GpBinaryByteReaderV18.TryReadOperationResponse ( ref ReadContext  context,
out object  result,
out string  errorMsg,
int  depth 
)
inlinestatic

◆ TryReadOperationResponse() [2/2]

static bool Photon.SocketServer.Rpc.Protocols.GpBinaryV18.GpBinaryByteReaderV18.TryReadOperationResponse ( ref ReadContext  context,
out OperationResponse  result,
out string  errorMsg,
int  depth = 0 
)
inlinestatic