mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
clean up
This commit is contained in:
parent
3fa8eb727c
commit
6045736266
@ -16,9 +16,7 @@ namespace Mirror
|
|||||||
// (probably even shorter)
|
// (probably even shorter)
|
||||||
public static class MessagePacking
|
public static class MessagePacking
|
||||||
{
|
{
|
||||||
/// <summary>
|
// message header size
|
||||||
/// this is the minimum size of a message that mirror will accept
|
|
||||||
/// </summary>
|
|
||||||
internal const int HeaderSize = sizeof(ushort);
|
internal const int HeaderSize = sizeof(ushort);
|
||||||
|
|
||||||
public static int GetId<T>() where T : struct, NetworkMessage
|
public static int GetId<T>() where T : struct, NetworkMessage
|
||||||
|
Loading…
Reference in New Issue
Block a user