vis2k
|
372f628d42
|
NetworkConnection.HandleReader removed and code put into HandleBytes, because that's what HandleBytes does and we don't need that extra HandleBytes/HandleReader redundancy
|
2018-08-06 15:41:27 +02:00 |
|
vis2k
|
ddc53e27cc
|
NetworkConnection message logging improved: uses BitConverter instead of reinventing the wheel and always logs the complete message. Logging partial messages would cause a lot of problems when debugging. If we expected a message with length 20 and HLAPI shows only up to length 18, then this will be really difficult to debug. Also removed k_MaxMessageLogSize because it's not needed anymore.
|
2018-08-02 14:51:00 +02:00 |
|
vis2k
|
6c80b054ac
|
SendToTransport failed. error:WrongConnection error isn't shown anymore if someone disconnects, since this is expected behaviour and totally normal.
|
2018-07-28 15:54:56 +02:00 |
|
vis2k
|
0ed342ecb8
|
NetworkConnection.SendBytes is now protected so that outside classes can't send random bytes to the client anymore. This is better & safer design and allows us to remove the redundant SendBytesToReady function
|
2018-07-26 21:09:59 +02:00 |
|
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
|
00b1bc119d
|
NetworkConnection: removed m_MessageInfo caching to simplify code and reduce state
|
2018-07-19 20:29:41 +02:00 |
|
vis2k
|
0e4f905a72
|
NetworkConnection.InvokeHandler error messages are now shown if handler not found for msgType instead of failing silently
|
2018-07-19 20:28:29 +02:00 |
|
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 |
|