Commit Graph

12 Commits

Author SHA1 Message Date
vis2k
a14a03b6d1 NetworkConnection: forgot to remove s_MaxPacketStats 2018-07-18 10:45:17 +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
368543b734 NetworkConnection.IsSequencedQoS/IsReliableQoS/IsUnreliableQoS moved out of NetworkConnection class into UNetwork.cs because it's a helper function used in other places too, and makes NetworkConnection.cs less complex. 2018-07-17 22:28:31 +02:00
vis2k
f57d5ae905 NetworkConnection Send/SendUnreliable/SendByChannel syntax improved 2018-07-17 22:17:31 +02:00
vis2k
38142a6d6f NetworkConnection.m_Writer isn't cached anymore to simplify code 2018-07-17 22:16:09 +02:00
vis2k
0a34efbaf4 NetworkReader/Writer use C#'s built in BinaryReader/Writer; removed NetworkBuffer; removed redundant .AsArray()/AsArraySegment() functions; removed unnecessary constructors 2018-06-22 09:32:19 +02:00
vis2k
3ac3790ee7 Removed all [Obsolete] code 2018-06-22 09:32:19 +02:00
vis2k
ebb0844bcc NetworkConnection: syntax improvements to simplify code 2018-06-22 09:32:19 +02:00
vis2k
b9e5f77a47 NetworkConnection.Disconnect doesn't clear the address so that it's still available in NetworkManager.OnServerDisconnect 2018-06-08 12:20:30 +02:00
vis2k
d1ff029cc9 Fixed client scene switching/loading bugs where messages were processed while a scene load was in progress, hence losing all the processed data once the scene was loaded, causing all kinds of state errors. 2018-06-08 12:18:56 +02:00
vis2k
9eabd22c19 NetworkConnection: IsSequencedQoS, IsReliableQoS made public for external use; IsUnreliableQoS added 2018-06-08 10:47: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