Commit Graph

9 Commits

Author SHA1 Message Date
vis2k
54d5ede3e7 UNetwork.Protocol handles message packing and unpacking in one place now, so that we don't construct/deconstruct size/type headers manually everywhere. This way we can change the header any time without worrying about missing it somewhere. 2018-08-06 18:50:11 +02:00
vis2k
2dd907fb28 MsgType.ObjectSpawn renamed to SpawnPrefab, ObjectSpawnScene renamed to SpawnSceneObject. Messages.ObjectSpawnMessage renamed to SpawnPrefabMessage, etc. to make it perfectly clear what the messages do in order to avoid any confusion. 2018-07-20 16:37:05 +02:00
vis2k
e0a2a373ed Syntax 2018-07-20 16:06:37 +02:00
vis2k
06f0967eda MsgType: removed unused messages 2018-07-20 00:57:32 +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
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
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
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