Commit Graph

19 Commits

Author SHA1 Message Date
vis2k
fc4080535b SendWriter functions removed to avoid redundancy with SendBytes. Simply call SendBytes(writer.ToArray()) instead. 2018-07-20 12:42:39 +02:00
vis2k
2e9dc82e0e Removed numBytes parameter from all Send/SendBytes functions. Uses bytes.Length instead. 2018-07-20 12:29:51 +02:00
vis2k
ee2d0373eb UNetwork.MsgType converted to Enum. Easier + faster string conversion and more flexible code. 2018-07-19 21:03:00 +02:00
vis2k
7cea90460f NetworkMessageHandlers class removed because it was just a wrapper around a Dictionary with the added bonus of not allowing us to overwrite internal message handlers from the outside, which sucks. NetworkClient, NetworkServer, NetworkConnection all use a simple Dictionary now. 2018-07-19 20:48:37 +02:00
vis2k
ea3634b1e4 Relay feature removed because Unity pretty much abandoned it and hosting games on people's home computers never ends well anyway. People that need it might as well use the 'fixes-only' version. 2018-07-19 17:46:47 +02:00
vis2k
27f5717b70 Matchmaking feature removed because Unity pretty much abandoned it and plans to replace it with a solution on Google Cloud. People that need it might as well use the 'fixes-only' version. 2018-07-19 17:46:42 +02:00
vis2k
498433e124 Network Simulator support removed because the feature was confirmed to be broken by UNET Developers, it never worked 2018-07-19 11:48:48 +02:00
vis2k
89d45e1e1b ChannelBuffer/ChannelPacket/PacketStat/GetStatsInOut/ChannelOption removed because ChanneLBuffer's job was to: buffer packets and only send them every now and then to save bandwidth, to handle fragmentation, and to handle resending reliable messages. NetworkTransport already takes care of all of that in the newer versions, e.g. with ConnectionConfig.SendDelay, so none of it is needed anymore. 2018-07-17 23:23:06 +02:00
vis2k
ffa6e4e2ea NetworkCRC removed because all it did was compare each script's channelIds by sending all the script names over the network. This uses unnecessary bandwidth, causes unnecessary code complexity and makes no real sense because there's virtually no reason why anyone would modify a script's channel after building the server/client. 2018-07-17 22:06:26 +02:00
vis2k
225c7955cd NetworkClient.Send/SendUnreliable reuse SendByChannel function 2018-07-16 20:01:20 +02:00
vis2k
72ac13e74e NetworkClient.UpdateClients: remove null clients first, then update valid clients. Fixes a bug where if a client was removed, the next one would be skipped. 2018-06-26 12:09:04 +02:00
vis2k
3047539600 Removed UNET_HOST_MIGRATION code (wasn't stable and hosting on other people's computers never works well anyway) 2018-06-22 09:32:19 +02:00
vis2k
3ac3790ee7 Removed all [Obsolete] code 2018-06-22 09:32:19 +02:00
vis2k
5fd74c29ec NetworkClient: no more fixed error buffer size 2018-06-22 09:32:19 +02:00
vis2k
4bc0711a9d NetworkClient: syntax improvements to simplify code 2018-06-22 09:32:19 +02:00
vis2k
8e7095262f NetworkClient: removed static message caching to simplify code and reduce state 2018-06-22 09:32:19 +02:00
vis2k
5909cc6937 NetworkClient.IsValidIPV6 fixed 2018-06-08 12:04:37 +02:00
vis2k
d1b8181db1 Messages: ErrorMessage value changed from int to byte because that's what NetworkServer actually uses. Also saves bandwidth. 2018-06-08 11:52:39 +02:00
vis2k
1e77e191b3 HLAPI 2017.4 (from https://bitbucket.org/Unity-Technologies/networking/src 2017.3, which is the same for 2017.4) 2018-06-07 15:41:08 +02:00