vis2k
|
9fb8b071c6
|
LocalConnections: removed redundant functions. no need to overwrite SendByChannel, as NetworkConnection.SendByChannel calls SendBytes anyway. Also removed NetworkServer.InvokeHandler since it's not needed anymore. InvokeBytes is the way to go.
|
2018-08-06 12:36:02 +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
|
9852923982
|
LocalConnection.Send/SendUnreliable reuse SendByChannel function
|
2018-07-20 11:35:20 +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
|
59cc34eaa8
|
NetworkServer made entirely static, there was no real reason to have an instance since only one was active anyway. Reduces complexity, simplifies code.
|
2018-06-22 20:34:35 +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
|
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 |
|