Commit Graph

859 Commits

Author SHA1 Message Date
vis2k
8b151e71cf NetworkManager.OnValidate: no need to artificially limit max connections 2019-01-06 15:47:37 +01:00
MichalPetryka
430e6bc6a7 Changed ports to be ushorts instead of ints (#246)
* Changed port to ushort

* Fix transports
2019-01-06 14:54:58 +01:00
Paul Pacheco
27a99cbcae
ensure future c# code has consistent EOL 2019-01-05 10:09:05 -06:00
Paul Pacheco
316fdddac9
Add Documentation badge 2019-01-05 09:48:31 -06:00
vis2k
ea0d15d2d1 Fix Rider error because of error message format 2019-01-05 01:11:17 +01:00
Paul Pacheco
807e1d9287 Specify bundler version 2019-01-04 08:08:11 -06:00
vis2k
65f338b318
NetworkTransform reimplemented (#236)
* NetworkTransform reimplemented

* Replace FindLocalObject with NetworkIdentity.spawned

* Syntax

* Comment typo

* Fix comment

* Tests

* Remove 'Some' compression option because Much is good enough

* Added comment
2019-01-04 13:12:08 +01:00
vis2k
83ab0d100e Removed AssemblyInfo from Weaver too 2019-01-03 21:22:55 +01:00
vis2k
c97560d814 Removed remaining AssemblyInfo files 2019-01-03 17:04:33 +01:00
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