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 |
|
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 |
|