You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-14 06:06:30 +09:00
Changed target framework to 4.5.1 for all projects
Changed some minor things after running .net portability analyzer Fixed a bunch of warnings (mostly CLS compliance)
This commit is contained in:
@@ -104,7 +104,7 @@ namespace SpeedTestClient
|
||||
int size = s_client.Configuration.MaximumTransmissionUnit - 30;
|
||||
NetOutgoingMessage om = s_client.CreateMessage(size);
|
||||
byte[] tmp = new byte[size];
|
||||
NetRandom.Instance.NextBytes(tmp);
|
||||
MWCRandom.Instance.NextBytes(tmp);
|
||||
int slot = (int)s_method + s_sequenceChannel;
|
||||
om.Write(s_nextSendNumber[slot]);
|
||||
s_nextSendNumber[slot]++;
|
||||
|
||||
Reference in New Issue
Block a user