mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax
This commit is contained in:
parent
b663636a5b
commit
b882653768
@ -208,11 +208,6 @@ public override int GetMaxPacketSize(int channelId = Channels.DefaultReliable)
|
||||
public override int GetMaxBatchSize(int channelId) =>
|
||||
KcpConnection.UnreliableMaxMessageSize;
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "KCP";
|
||||
}
|
||||
|
||||
// server statistics
|
||||
public int GetAverageMaxSendRate() =>
|
||||
server.connections.Count > 0
|
||||
@ -313,6 +308,8 @@ void OnLogStatistics()
|
||||
Debug.Log(log);
|
||||
}
|
||||
}
|
||||
|
||||
public override string ToString() => "KCP";
|
||||
}
|
||||
}
|
||||
//#endif MIRROR <- commented out because MIRROR isn't defined on first import yet
|
||||
|
Loading…
Reference in New Issue
Block a user