Class CustomCommandPackage<CommandEnum>
- Namespace
- Zorro.PhotonUtility
- Assembly
- Zorro.PhotonUtility.dll
public abstract class CustomCommandPackage<CommandEnum> where CommandEnum : struct, IConvertible
Type Parameters
CommandEnum
- Inheritance
-
CustomCommandPackage<CommandEnum>
- Derived
-
- Inherited Members
-
- Extension Methods
-
Constructors
CustomCommandPackage()
protected CustomCommandPackage()
Methods
DeserializeData(BinaryDeserializer)
public abstract void DeserializeData(BinaryDeserializer binaryDeserializer)
Parameters
binaryDeserializer
BinaryDeserializer
GetCommandEventCode()
public byte GetCommandEventCode()
Returns
- byte
GetCommandType()
public abstract CommandEnum GetCommandType()
Returns
- CommandEnum
GetSendOptions()
public abstract SendOptions GetSendOptions()
Returns
- SendOptions
Serialize()
public BinarySerializer Serialize()
Returns
- BinarySerializer
SerializeData(BinarySerializer)
protected abstract void SerializeData(BinarySerializer binarySerializer)
Parameters
binarySerializer
BinarySerializer