Commit Graph

14 Commits

Author SHA1 Message Date
vis2k
2b54665915 Weaver SyncEvent code doesn't manually construct the message anymore. The NetworkWriter is now passed to NetworkBehaviour.SendEventInternal, where the message is properly constructed. Reduces dependencies on NetworkConnection.SendBytes and avoids expensive GetComponent calls that the Weaver previously generated. 2018-07-26 20:09:51 +02:00
vis2k
83927f27b0 Weaver TargetRpc code doesn't manually construct the message anymore. The NetworkWriter is now passed to NetworkBehaviour.SendTargetRPCInternal, where the message is properly constructed. Reduces dependencies on NetworkConnection.SendBytes and avoids expensive GetComponent calls that the Weaver previously generated. 2018-07-26 19:33:38 +02:00
vis2k
1097d000ff Weaver Rpc code doesn't manually construct the message anymore. The NetworkWriter is now passed to NetworkBehaviour.SendRPCInternal, where the message is properly constructed. Reduces dependencies on NetworkConnection.SendBytes and avoids expensive GetComponent calls that the Weaver previously generated. 2018-07-26 19:15:42 +02:00
vis2k
75351927c1 Weaver Command code doesn't manually construct the message anymore. The NetworkWriter is now passed to NetworkBehaviour.SendCommandInternal, where the message is properly constructed. Reduces depencies on NetworkConnection.SendBytes and avoids expensive GetComponent calls that the Weaver previously generated. 2018-07-26 14:19:29 +02:00
vis2k
d7539fcef3 NetworkBehaviour.IsDirty: removed some empty trailing spaces 2018-07-26 12:54:18 +02:00
Paul Pacheco
ec92854058 Separate dirtiness and network channel. These are independent of each other 2018-07-23 09:46:32 -05: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
ee2d0373eb UNetwork.MsgType converted to Enum. Easier + faster string conversion and more flexible code. 2018-07-19 21:03:00 +02:00
vis2k
fff714e1ec NetworkBehaviour.GetInvokerForHash parameter syntax simplified 2018-07-19 11:38:39 +02:00
vis2k
56a3bf05cd NetworkBehaviour.InvokeCommandDelegate 'IsInstanceOfType' comments added 2018-06-29 10:37:04 +02:00
Paul Pacheco
eff9287236 Simplify command invocation 2018-06-28 22:47:33 -05:00
vis2k
8a976f94a2 NetworkBehaviour: syntax improvements to simplify code 2018-06-22 09:32:19 +02:00
vis2k
a67508f624 [SyncVar] limit increased from 32 to 64 per component 2018-06-07 15:50:31 +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