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