MessagePacking.HeaderSize made public for convenience

This commit is contained in:
vis2k 2021-06-18 19:30:38 +08:00
parent 64040536a6
commit 15e3b3b11d

View File

@ -11,7 +11,7 @@ namespace Mirror
public static class MessagePacking
{
// message header size
internal const int HeaderSize = sizeof(ushort);
public const int HeaderSize = sizeof(ushort);
public static ushort GetId<T>() where T : struct, NetworkMessage
{