Photon Server API
Public Member Functions | Properties | List of all members
Photon.SocketServer.Rpc.Protocols.CustomTypeCache Class Reference

Public Member Functions

void Clear ()
 
bool TryGet (Type type, out CustomTypeInfo customTypeInfo)
 
bool TryGet (byte typeCode, out CustomTypeInfo customTypeInfo)
 
bool TryGetCustomTypeInfo (Type type, CustomTypeCache privateCustomTypeCache, out CustomTypeInfo customTypeInfo)
 
bool TryGetCustomTypeInfo (byte typeCode, CustomTypeCache privateCustomTypeCache, out CustomTypeInfo customTypeInfo)
 
bool TryRegisterType (Type type, byte typeCode, Func< object, byte[]> serializeFunction, Func< byte[], object > deserializeFunction)
 

Properties

IUnknownTypeMapper TypeMapper [get, set]
 

Member Function Documentation

void Photon.SocketServer.Rpc.Protocols.CustomTypeCache.Clear ( )
inline
bool Photon.SocketServer.Rpc.Protocols.CustomTypeCache.TryGet ( Type  type,
out CustomTypeInfo  customTypeInfo 
)
inline
bool Photon.SocketServer.Rpc.Protocols.CustomTypeCache.TryGet ( byte  typeCode,
out CustomTypeInfo  customTypeInfo 
)
inline
bool Photon.SocketServer.Rpc.Protocols.CustomTypeCache.TryGetCustomTypeInfo ( Type  type,
CustomTypeCache  privateCustomTypeCache,
out CustomTypeInfo  customTypeInfo 
)
inline
bool Photon.SocketServer.Rpc.Protocols.CustomTypeCache.TryGetCustomTypeInfo ( byte  typeCode,
CustomTypeCache  privateCustomTypeCache,
out CustomTypeInfo  customTypeInfo 
)
inline
bool Photon.SocketServer.Rpc.Protocols.CustomTypeCache.TryRegisterType ( Type  type,
byte  typeCode,
Func< object, byte[]>  serializeFunction,
Func< byte[], object >  deserializeFunction 
)
inline

Property Documentation

IUnknownTypeMapper Photon.SocketServer.Rpc.Protocols.CustomTypeCache.TypeMapper
getset