Photon Server API Documentation v5.0RC1

Public Member Functions | Public Attributes | List of all members
Photon.SocketServer.Rpc.Protocols.CustomTypeInfo Class Reference

Public Member Functions

 CustomTypeInfo (Type type, byte code, Func< object, byte[]> serializeFunction, Func< byte[], object > deserializeFunction)
 

Public Attributes

readonly byte Code
 
readonly Func< byte[], object > DeserializeFunction
 
readonly Func< object, byte[]> SerializeFunction
 
readonly Type Type
 

Constructor & Destructor Documentation

◆ CustomTypeInfo()

Photon.SocketServer.Rpc.Protocols.CustomTypeInfo.CustomTypeInfo ( Type  type,
byte  code,
Func< object, byte[]>  serializeFunction,
Func< byte[], object >  deserializeFunction 
)
inline

Member Data Documentation

◆ Code

readonly byte Photon.SocketServer.Rpc.Protocols.CustomTypeInfo.Code

◆ DeserializeFunction

readonly Func<byte[], object> Photon.SocketServer.Rpc.Protocols.CustomTypeInfo.DeserializeFunction

◆ SerializeFunction

readonly Func<object, byte[]> Photon.SocketServer.Rpc.Protocols.CustomTypeInfo.SerializeFunction

◆ Type

readonly Type Photon.SocketServer.Rpc.Protocols.CustomTypeInfo.Type