Class MessagePacking
Inheritance
MessagePacking
Assembly: doc.dll
Syntax
public static class MessagePacking : object
Fields
|
Improve this Doc
View Source
Declaration
public const int HeaderSize = null
Field Value
Properties
|
Improve this Doc
View Source
MaxContentSize
Declaration
public static int MaxContentSize { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetId<T>()
Declaration
public static ushort GetId<T>()
where T : struct, NetworkMessage
Returns
Type Parameters
|
Improve this Doc
View Source
Pack<T>(T, NetworkWriter)
Declaration
public static void Pack<T>(T message, NetworkWriter writer)
where T : struct, NetworkMessage
Parameters
Type Parameters
|
Improve this Doc
View Source
Unpack(NetworkReader, out UInt16)
Declaration
public static bool Unpack(NetworkReader messageReader, out ushort msgType)
Parameters
Returns