Photon Server API
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

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

Member Data Documentation

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