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

Instances of this class will be created for unknown custom types sent by a client if the Protocol.AllowRawCustomValues property is set to true. More...

Inheritance diagram for Photon.SocketServer.Rpc.ValueTypes.RawCustomValue:

Public Member Functions

 RawCustomValue (byte code, byte[] data)
 Initializes a new instance of the RawCustomValue class. More...
 
bool Equals (RawCustomValue other)
 

Properties

byte Code [get, set]
 Gets or sets the type code of the custom type. More...
 
byte[] Data [get, set]
 Gets or sets the serialized data of the custom type. More...
 

Detailed Description

Instances of this class will be created for unknown custom types sent by a client if the Protocol.AllowRawCustomValues property is set to true.

Constructor & Destructor Documentation

Photon.SocketServer.Rpc.ValueTypes.RawCustomValue.RawCustomValue ( byte  code,
byte[]  data 
)
inline

Initializes a new instance of the RawCustomValue class.

Parameters
codeThe code of the custom type.
dataThe serialized data.

Member Function Documentation

bool Photon.SocketServer.Rpc.ValueTypes.RawCustomValue.Equals ( RawCustomValue  other)
inline

Property Documentation

byte Photon.SocketServer.Rpc.ValueTypes.RawCustomValue.Code
getset

Gets or sets the type code of the custom type.

byte [] Photon.SocketServer.Rpc.ValueTypes.RawCustomValue.Data
getset

Gets or sets the serialized data of the custom type.