Commit Graph

850 Commits

Author SHA1 Message Date
Matt Jaeger
4a3fc70d14 Add error message for missing parameter-less constructor (#233)
* Add error message for missing parameter-less constructor

* Add error message for missing parameter-less constructor
2019-01-02 21:56:00 -06:00
Paul Pacheco
eb1863a96c
Detect hash collisions in rpc registration (#231) 2019-01-02 19:32:47 -06:00
Paul Pacheco
92d35a6039 Unity version check (#229)
* Check unity version

* Simplify a little bit

* Improve error message
2019-01-02 21:04:02 +01:00
vis2k
c0658b2568 NetworkBehaviour.IsDirty uses >= for sync interval check to be 100% accurate 2019-01-02 20:19:20 +01:00
vis2k
7c03bc1eb2 SyncEventProcessor.ProcessEvents syntax simplified 2019-01-02 20:04:53 +01:00
vis2k
d0fa4505d8 TargetRpcProcessor.ProcessMethodsValidateTargetRpc simplified 2019-01-02 20:04:39 +01:00
vis2k
c964ef7855 RpcProcessor.ProcessMethodsValidateRpc simplified 2019-01-02 20:04:02 +01:00
vis2k
476af23829 CommandProcessor.ProcessMethodsValidateCommand simplified 2019-01-02 20:01:42 +01:00
vis2k
be86ac5096 NetworkBehaviourProcessor: removed unused HasMethod function 2019-01-02 19:56:45 +01:00
MichalPetryka
7d905626ae Weaver - ?: (#225)
* ?:

* Pauls suggestion

* Update Weaver.cs
2019-01-02 19:26:05 +01:00
MichalPetryka
c8a0ddb6d3 Weaver - first switch (#224) 2019-01-02 12:19:24 -06:00
MichalPetryka
4fee160b6c NetworkTransportChild - ?: (#209) 2019-01-02 10:29:34 -06:00
MichalPetryka
7ec94c79b1 NetworkManager - only ?: (#207) 2019-01-02 10:19:02 -06:00
vis2k
2ad3aca857 Weaver.ProcessSiteMethod uses correct processed function check name 2019-01-02 17:17:37 +01:00
vis2k
2f8125ef70 Better name 2019-01-02 17:17:14 +01:00
vis2k
ff056707d4 NetworkBehaviourProcessor: MirrorProcessed function name stored in const 2019-01-02 17:15:48 +01:00
vis2k
0710c720ef Weaver.ProcessSiteMethod: fixed OnDeserialize check 2019-01-02 17:14:26 +01:00
vis2k
7d73e6ad5d Weaver.ProcessSiteMethod: simplify syntax 2019-01-02 17:14:04 +01:00
vis2k
8a31f15d64 Weaver.CanBeResolved moved to Extensions 2019-01-02 17:08:36 +01:00
MichalPetryka
3ce7eb9915 Add BytesMessage (#214) 2019-01-02 17:02:39 +01:00
vis2k
a0e763bd38 Weaver.IsArrayType moved to Extensions 2019-01-02 16:18:44 +01:00
MichalPetryka
b96c92c0de TelepathyTransport - switches (#221) 2019-01-02 07:07:00 -06:00
vis2k
52d6792f73 Weaver.ResolveProperty moved to Resolvers 2019-01-02 13:42:12 +01:00
vis2k
539d2515b4 Weaver.ResolveField moved to Resolvers 2019-01-02 13:39:48 +01:00
vis2k
abdc6b8e56 Weaver.ResolveMethodGeneric moved to Resolvers 2019-01-02 13:37:55 +01:00
vis2k
ee618ad8f6 Weaver.ResolveDefaultPublicCtor moved to Resolvers 2019-01-02 13:35:55 +01:00
vis2k
a33c20c823 ResolveMethodWithArg reuses the string version 2019-01-02 13:18:52 +01:00
vis2k
fb124269f9 Added comment 2019-01-02 13:16:41 +01:00
vis2k
3a6a994e37 Weaver.ResolveMethodWithArg moved to Resolvers 2019-01-02 13:15:24 +01:00
vis2k
6252201f21 Weaver.ResolveMethodInParents moved to Resolvers 2019-01-02 13:09:34 +01:00
vis2k
feb6a9e01d Weaver.ResolveMethod moved to Resolvers 2019-01-02 12:52:43 +01:00
Paul Pacheco
b5eb487c65
Fix issue #219 (#220)
* Fix issue #219

pass the invoker class from the weaver when invoking rpcs so that it can produce the same hash they registered
2019-01-01 17:27:49 -06:00
Paul Pacheco
07b73dea26
Fix documentation validation
site validation should work again
2019-01-01 16:56:28 -06:00
vis2k
1643444a9b Weaver ImplementsInterface is now an extension. Easier usage and less magic in Weaver.cs 2019-01-01 19:29:24 +01:00
vis2k
750f94eab8 Weaver IsDerivedFrom is now an extension. Easier usage and less magic in Weaver.cs 2019-01-01 19:29:24 +01:00
MichalPetryka
7ce386a4f0 Fix language version to use one used by unity (#216) 2019-01-01 12:05:56 -06:00
vis2k
5ecb40f055 Weaver SyncList code moved into SyncListProcessor 2019-01-01 18:45:48 +01:00
vis2k
b9ec4a5dc5 Weaver SyncObject code moved into SyncObjectProcessor 2019-01-01 18:45:28 +01:00
vis2k
32dcaf14e3 Remove unnecessary Syntax 2019-01-01 18:24:26 +01:00
Paul Pacheco
f8ff8969f5 Don't generate OnSerialize/OnDeserialize if not needed (#218) 2019-01-01 18:21:55 +01:00
vis2k
3f0d3af349 Weaver IsNetworkBehaviour uses IsDerivedFrom 2019-01-01 16:37:56 +01:00
vis2k
22c97de71a Syntax 2019-01-01 16:34:10 +01:00
vis2k
4d76ac5301 Syntax 2019-01-01 16:33:45 +01:00
vis2k
7626310b94 Weaver: fix comment typos 2019-01-01 16:33:23 +01:00
vis2k
8b40a0c9db NetworkBehaviourProcessor: changed processed string from confusing UNetVersion to MirrorProcessed 2019-01-01 16:20:31 +01:00
vis2k
1d4a98b84f NetworkBehaviourProcessor.WasProcessed/MarkAsProcessed that is also reused in Weaver to avoid redundant code 2019-01-01 16:18:04 +01:00
vis2k
20132046eb Fix typo 2019-01-01 16:18:04 +01:00
vis2k
5129a78a6a SyncVarProcessor made static 2019-01-01 16:18:04 +01:00
vis2k
969124d8bc Weaver: removed unnecessary ProcessSyncListStructType function 2019-01-01 16:18:04 +01:00
vis2k
49c2575499 SyncListStructProcessor made static 2019-01-01 16:18:04 +01:00