mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax
This commit is contained in:
parent
4e71f324c6
commit
8bcc8d29ef
@ -83,7 +83,7 @@ public void Send<T>(T msg, int channelId = Channels.DefaultReliable)
|
||||
// would check max size and show errors internally. best to do it
|
||||
// in one place in hlapi.
|
||||
// => it's important to log errors, so the user knows what went wrong.
|
||||
protected internal static bool ValidatePacketSize(ArraySegment<byte> segment, int channelId)
|
||||
protected static bool ValidatePacketSize(ArraySegment<byte> segment, int channelId)
|
||||
{
|
||||
if (segment.Count > Transport.activeTransport.GetMaxPacketSize(channelId))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user