Commit Graph

764 Commits

Author SHA1 Message Date
vis2k
39a599963a Weaver ProcessEvents moved into NetworkBehaviourSyncEventProcessor too 2018-12-31 15:58:39 +01:00
vis2k
4f5f76e42f Weaver SyncVar processing moved into NetworkBehaviourSyncVarProcessor 2018-12-31 15:58:04 +01:00
vis2k
181e1231d7 Weaver Validate methods generation moved into their classes 2018-12-31 15:58:04 +01:00
vis2k
5ffe496b25 Weaver SyncEvent processing moved into NetworkBehaviourSyncEventProcessor 2018-12-31 15:58:04 +01:00
vis2k
a12ac8e8b0 Weaver [TargetRpc] processing moved into NetworkBehaviourTargetRpcProcessor 2018-12-31 15:58:04 +01:00
vis2k
b9963fdf4d Weaver [Rpc] processing moved into NetworkBehaviourRpcProcessor 2018-12-31 15:58:04 +01:00
vis2k
02202070d0 Weaver [Command] processing moved into NetworkBehaviourCommandProcessor 2018-12-31 15:58:04 +01:00
vis2k
aa7ba82064
Merge pull request #195 from vis2k/remove_networkserverclient_networkconnectionclass_magic
Remove networkserverclient networkconnectionclass magic
2018-12-31 15:56:49 +01:00
vis2k
9fe8872968 Cmd/Rpc/TargetRpc/SyncEvent hashing uses hash(Type:Func) instead of hash(Func), so that Inventory.RpcUse is not called for Equipment.RpcUse etc. Original Weaver did this too, forgot to do it when moving hash calculation to HLAPI. 2018-12-31 14:02:34 +01:00
vis2k
cbf8a462d0 Comment added 2018-12-31 00:30:58 +01:00
vis2k
083e0cc57d UNetBehaviourProcessor renamed to NetworkBehaviourProcessor 2018-12-31 00:30:19 +01:00
vis2k
a19cb6859c SyncListStructProcessor: fixed error messages. Looks like they were copied over from MessageClassProcessor without changing them. 2018-12-31 00:29:21 +01:00
vis2k
42f975e62f Use actual types instead of var 2018-12-31 00:24:42 +01:00
vis2k
70a378678d SyncListStructProcessor comment added 2018-12-31 00:22:54 +01:00
vis2k
62c04da8c7 MessageClassProcessor comment added 2018-12-31 00:21:42 +01:00
vis2k
df9c996ccc Use actual type instead of var 2018-12-31 00:19:25 +01:00
vis2k
c5b2d0f1c8 Use actual type instead of var 2018-12-31 00:18:32 +01:00
vis2k
202948f320 MonoBehaviourProcessor comment added 2018-12-31 00:17:30 +01:00
vis2k
0ee375215b Weaver: removed unused MakeGenericType function 2018-12-31 00:14:32 +01:00
vis2k
97a30e9599 Weaver: removed unused MakeHostInstanceGeneric function 2018-12-31 00:14:10 +01:00
vis2k
ac2361611b Syntax 2018-12-31 00:12:47 +01:00
vis2k
b88eaf527c Use string instead of var 2018-12-31 00:12:39 +01:00
vis2k
29f55fed48 Removed unused Weaver ResolveInheritanceHierarchy function 2018-12-31 00:10:25 +01:00
vis2k
ea1e571ccd NetworkIdentity: group fields together 2018-12-30 23:55:27 +01:00
vis2k
e2cd6977d6 Syntax 2018-12-30 23:51:52 +01:00
vis2k
db9244a977 Syntax 2018-12-30 23:50:14 +01:00
vis2k
3cf87c8238 NetworkManager.UpdateScene: use && instead of early return 2018-12-30 23:47:47 +01:00
vis2k
fa02b01f7b NetworkManager.StartHost: use actual type instead of var 2018-12-30 23:44:50 +01:00
vis2k
49a5ed7b2b NetworkManager.RegisterClientMessages: use actual type instead of var 2018-12-30 23:44:05 +01:00
vis2k
b1e7938160 NetworkServer.DestroyPlayerForConnection: use actual type instead of var 2018-12-30 23:38:22 +01:00
vis2k
c2008654b4 SendSpawnMessage: added a comment about missing msg.rotation for scene objects 2018-12-30 23:36:52 +01:00
vis2k
b7e80514b5 NetworkServer.SetClientReadyInternal moved into SetClientReady because we can't override it anyway 2018-12-30 23:25:12 +01:00
vis2k
3ef7df8a72 NetworkServer.SendToClientOfPlayer simplified: doesn't loop through all connections anymore, which was crazy 2018-12-30 23:09:08 +01:00
vis2k
8031f7b55c Removed empty line 2018-12-30 23:02:26 +01:00
vis2k
3d99ce2928 NetworkServer.InternalUpdate moved into Update because we can't inherit from it anymore anyway 2018-12-30 23:02:11 +01:00
vis2k
a0aa55da97 NetworkServer.InternalDisconnectAll moved into DisconnectAll. The class can't be inherited from anymore, no need for an internal version here. 2018-12-30 23:00:36 +01:00
vis2k
de59e32ce3 NetworkServer.SpawnObjects: use foreach in second loop too 2018-12-30 22:52:38 +01:00
vis2k
1418fb66b7 NetworkServer.SpawnObjects: use foreach in first loop 2018-12-30 22:51:47 +01:00
vis2k
df7c66e4c7 Syntax 2018-12-30 22:08:58 +01:00
vis2k
418fc02b3f Syntax 2018-12-30 22:08:20 +01:00
vis2k
39098090b6 Fixed comment 2018-12-30 22:07:30 +01:00
vis2k
5e90fc1c37 NetworkServer.SetClientReadyInternal: use bool instead of var and proper naming 2018-12-30 22:06:50 +01:00
vis2k
245c94e6b1 Remove NetworkClient/NetworkServer.NetworkConnectionClass magic 2018-12-30 22:04:05 +01:00
vis2k
c87cd7b351 NetworkServer.localConnection: remove unnecessary cast 2018-12-30 21:53:25 +01:00
vis2k
fbf5994159 NetworkServer.SetClientReadyInternal: use bool instead of var and use proper naming 2018-12-30 20:33:04 +01:00
vis2k
3c6e2f65ad Removed unnecessary empty line 2018-12-30 20:26:25 +01:00
vis2k
cca2f7a77f Syntax 2018-12-30 20:25:35 +01:00
vis2k
bd0558924e NetworkBehaviour: removed GetCmdHashHandlerName which was used by NetworkIdentity.HandleRemoteCall. This function made not much sense because if the function with that hash couldn't be invoked then the function's name won't be found to display for the error message anyway. 2018-12-30 20:23:06 +01:00
vis2k
4ae6d21418 Removed old comment 2018-12-30 20:12:07 +01:00
vis2k
8854eba284 NetworkIdentity.HandleRemoteCall uses NetworkBehaviour.InvokeHandlerDelegate; Removed unnecessary GetInvokerFunctionForHash afterwards. 2018-12-30 20:07:46 +01:00