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 |
|
vis2k
|
fa893c0ff1
|
NetworkIdentity.HandleRemoteCall: check componentIndex == -1 case too
|
2018-12-30 19:01:16 +01:00 |
|
vis2k
|
98dc229e98
|
NetworkIdentity.HandleRemoteCall function that is reused by HandleSyncEvent/Command/Rpc now
|
2018-12-30 18:56:43 +01:00 |
|
vis2k
|
8947e9d974
|
ClientScene.OnRPCMessage: removed redundant error message because HandleRPC already has one
|
2018-12-30 18:44:35 +01:00 |
|
vis2k
|
c560cf4bf2
|
NetworkBehaviour.GetCmdHashHandlerName simplified
|
2018-12-30 18:39:14 +01:00 |
|
vis2k
|
ba6e34ab9b
|
NetworkBehaviour.InvokeHandlerDelegateOfType renamed to InvokeHandlerDelegate for simplicity
|
2018-12-30 18:36:21 +01:00 |
|
vis2k
|
e573acd33e
|
NetworkBehaviour.InvokeCommand/Rpc/SyncEventDelegate wrapper functions removed.
|
2018-12-30 18:35:32 +01:00 |
|
vis2k
|
24b700b266
|
NetworkBehaviour.RegisterCommand/Rpc/EventDelegate use RegisterDelegate function now
|
2018-12-30 18:28:56 +01:00 |
|
vis2k
|
d1b0d78bde
|
NetworkBehaviour: removed unnecessary GetInvokerForHashCommand/ClientRpc/SyncEvent wrapper functions
|
2018-12-30 18:28:56 +01:00 |
|
vis2k
|
4c2fdc51bf
|
UNetInvokeType moved to UNetwork.cs so that NetworkBehaviour is less cluttered and so that it can be used from other classes more easily.
|
2018-12-30 18:28:56 +01:00 |
|
vis2k
|
5bf7244533
|
NetworkBehaviour.GetInvokerForHash actually returns the invoker and a new GetInvokerFunctionForHash function returns the function. Can be reused in InvokeHandlerDelegateOfType now too.
|
2018-12-30 18:28:48 +01:00 |
|
vis2k
|
376cfebcdf
|
Syntax
|
2018-12-30 18:04:56 +01:00 |
|
vis2k
|
77fe8e0145
|
NetworkBehaviour.InvokeCommand/Rpc/SyncEventDelegate all use InvokeHandlerDelegateOfType function now
|
2018-12-30 18:03:26 +01:00 |
|
vis2k
|
0924e2f144
|
NetworkBehaviour.InvokeSyncEventDelegate: added missing IsInstanceOfType check that the other invokes have
|
2018-12-30 17:59:54 +01:00 |
|
vis2k
|
c52e36af57
|
NetworkBehaviour.GetInvokerForHash simplified
|
2018-12-30 17:42:36 +01:00 |
|
vis2k
|
c9f68f4b73
|
NetworkBehaviour.SendRPCInternal/SendTargetRPCInternal: improved error messages
|
2018-12-30 17:36:40 +01:00 |
|
vis2k
|
aed13e68e2
|
NetworkBehaviour: removed unused GetCmdHashPrefixName function
|
2018-12-30 17:31:24 +01:00 |
|
vis2k
|
98f984182a
|
NetworkBehaviour.InvokeSyncEventDelegate simplified
|
2018-12-30 17:30:43 +01:00 |
|
vis2k
|
3d7a10fd08
|
NetworkBehaviour.InvokeRpcDelegate simplified
|
2018-12-30 17:29:57 +01:00 |
|
vis2k
|
b3a4c3159c
|
NetworkBehaviour.InvokeCommandDelegate simplified
|
2018-12-30 17:29:07 +01:00 |
|
vis2k
|
dd7915bf75
|
NetworkBehaviour: removed unused GetCmdHashCmdName/RpcName/EventName functions
|
2018-12-30 17:26:31 +01:00 |
|
vis2k
|
113eb2a8f0
|
NetworkBehaviour: removed unused ContainsCommandDelegate function
|
2018-12-30 17:24:36 +01:00 |
|
vis2k
|
a1e3d94f2f
|
Syntax
|
2018-12-30 17:23:45 +01:00 |
|
vis2k
|
58528e5179
|
NetworkBehaviour.Invoker: removed unused DebugString function
|
2018-12-30 17:23:24 +01:00 |
|
vis2k
|
c1f510882d
|
NetworkBehaviour: removed unused GetInvoker function
|
2018-12-30 17:23:00 +01:00 |
|
vis2k
|
9c21f76234
|
Syntax
|
2018-12-30 17:14:28 +01:00 |
|
vis2k
|
53c1ea3788
|
Weaver passes cmd/rpc/targetrpc/event names instead of hashcodes now. HLAPI worries about sending hashcodes instead.
|
2018-12-30 17:13:03 +01:00 |
|
vis2k
|
283727b88a
|
Removed Utils again
|
2018-12-30 17:02:49 +01:00 |
|
vis2k
|
be9206c27a
|
Removed comment
|
2018-12-30 17:01:59 +01:00 |
|
vis2k
|
cc56bbd048
|
Weaver passes cmd/rpc/targetrpc/event names instead of hashcodes now. HLAPI worries about sending hashcodes instead.
|
2018-12-30 17:00:51 +01:00 |
|
vis2k
|
1b33f7d633
|
HLAPI: GetStableHashCode added too
|
2018-12-30 16:24:28 +01:00 |
|
vis2k
|
07ab30f366
|
Weaver: GetHashCode replaced with string.GetStableHashCode extension that is less weird and can be used in HLAPI too (without compiling with /unsafe flag)
|
2018-12-30 16:23:56 +01:00 |
|
vis2k
|
86c482cf60
|
NetworkBehaviour: improved error message
|
2018-12-30 15:56:38 +01:00 |
|
vis2k
|
ce803e1ea1
|
NetworkScenePostProcess: 'uvs' renamed to 'identities'
|
2018-12-30 15:54:29 +01:00 |
|
vis2k
|
163600c498
|
NetworkScenePostProcess: removed prefabWarnings HashSet because the extra code is not worth the rare case where we have more than one NetworkIdentity on a prefab. There is no harm in showing a warning for each one.
|
2018-12-30 15:29:45 +01:00 |
|