This commit is contained in:
vis2k 2021-03-08 22:11:22 +08:00
parent 3fa8eb727c
commit 6045736266

View File

@ -16,9 +16,7 @@ namespace Mirror
// (probably even shorter)
public static class MessagePacking
{
/// <summary>
/// this is the minimum size of a message that mirror will accept
/// </summary>
// message header size
internal const int HeaderSize = sizeof(ushort);
public static int GetId<T>() where T : struct, NetworkMessage