mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
MessagePacking.HeaderSize made public for convenience
This commit is contained in:
parent
64040536a6
commit
15e3b3b11d
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user