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...
|
| 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...
|
| |
Instances of this class will be created for unknown custom types sent by a client if the Protocol.AllowRawCustomValues property is set to true.
◆ RawCustomValue()
| Photon.SocketServer.Rpc.ValueTypes.RawCustomValue.RawCustomValue |
( |
byte |
code, |
|
|
byte[] |
data |
|
) |
| |
|
inline |
Initializes a new instance of the RawCustomValue class.
- Parameters
-
| code | The code of the custom type. |
| data | The serialized data. |
◆ Equals()
| bool Photon.SocketServer.Rpc.ValueTypes.RawCustomValue.Equals |
( |
RawCustomValue |
other | ) |
|
|
inline |
◆ Code
| byte Photon.SocketServer.Rpc.ValueTypes.RawCustomValue.Code |
|
getset |
Gets or sets the type code of the custom type.
◆ Data
| byte [] Photon.SocketServer.Rpc.ValueTypes.RawCustomValue.Data |
|
getset |
Gets or sets the serialized data of the custom type.