1
0
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:
lidgren
2014-08-10 09:27:36 +00:00
parent 5f5cd5ecf6
commit 54ff6f1c37
50 changed files with 843 additions and 870 deletions

View File

@@ -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]++;