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
vis2k
c27b89cc14
Weaver: removed unnecessary ProcessMonoBehaviourType function
2019-01-01 16:18:04 +01:00
vis2k
880c67226c
MonoBehaviourProcessor made static
2019-01-01 16:18:04 +01:00
vis2k
6a919716c3
Weaver: removed unnecessary ProcessMessageType function
2019-01-01 16:18:04 +01:00
vis2k
722a63f1c2
MessageClassProcessor made static
2019-01-01 16:18:04 +01:00
Paul Pacheco
40a3ecce08
Revert "Don't generate OnSerialize/OnDeserialize if not needed ( #199 )" ( #217 )
...
This reverts commit 6eec19b205
.
2019-01-01 09:08:39 -06:00
vis2k
7dc918b706
Syntax
2019-01-01 15:51:45 +01:00
vis2k
ac120dce04
Weaver: removed unused GetEventLoadInstruction function
2019-01-01 15:44:35 +01:00
vis2k
db06497c1e
Weaver: simplify GetSyncVarStart
2019-01-01 15:39:38 +01:00
vis2k
d928817a3d
Weaver: remove unused MemoryStreamType and Ctor
2019-01-01 15:34:04 +01:00
vis2k
d31ad60a59
Weaver: removed unused OutSymbolsFormat
2019-01-01 15:30:57 +01:00
vis2k
fe7a433f0a
NetworkBehaviourInspector: Simplify synclist acounting
2019-01-01 15:08:50 +01:00
vis2k
21ef026148
NetworkBehaviourInspector.Init: simplify getfields
2019-01-01 15:06:57 +01:00
vis2k
a57e23ea60
Use actual type instead of var. And consistent naming.
2019-01-01 15:03:32 +01:00
vis2k
49be1cc588
NetworkBehaviourInspector: move m_SyncVarIndicatorContent to field definition
2019-01-01 15:02:50 +01:00
vis2k
f69452b761
NetworkBehaviourInspector: syncInterval is shown if class only has synclist now too
2019-01-01 15:00:34 +01:00
Paul Pacheco
6eec19b205
Don't generate OnSerialize/OnDeserialize if not needed ( #199 )
...
use the base OnSerialize/OnDeserialize if there is nothing to sync
2019-01-01 14:40:15 +01:00
Kosio
b618fb017c
Fill Server events
2018-12-31 19:31:35 -06:00
Kosio
e0902361b7
Fill Client events based on Unity's HLAPI documentation
2018-12-31 19:31:35 -06:00
Kosio
2a2194aed8
Fill Application events (with small changes from Unity's HLAPI documentation)
2018-12-31 19:31:35 -06:00
konstantin890
4609ca1a29
Documentation: Fix typo in "Custom Player Spawning"
...
SyncVar attribute didn't have brackets
2018-12-31 19:31:35 -06:00
MichalPetryka
ff8747feb2
NetworkManagerEditor code cleanup - changes if to setting variable with ?: ( #205 )
...
* NetworkManagerEditor code cleanup - changes if to setting variable with ?:
* Made Pauls suggestions
2018-12-31 17:16:36 -06:00
MichalPetryka
9dc5ab96a0
MonoBehaviourProcessor - switch ( #211 )
2018-12-31 17:12:50 -06:00
MichalPetryka
86a11f4761
NetworkInformationPreview code cleanup (changes if to method call with ?: ( #204 )
2018-12-31 15:42:03 -06:00
vis2k
81d98015b7
Replace NetworkSettings and GetSendInterval with NetworkBehaviour.syncInterval ( #202 )
...
* Remove NetworkSettings attribute and the weird weaver code
* Replace GetNetworkSendInterval with sendInterval field
* rename to SyncInterval
* Tooltip
* Add comment
* NetworkBehaviourInspector shows syncInterval as slider and only if it has OnSerialize
* Rename var
* Adjust NetworkTransform Editors too
* Obsolete NetworkSettingsAttribute
2018-12-31 19:44:06 +01:00
vis2k
e6d16b68fd
Merge pull request #201 from vis2k/weaver_improvements
...
Weaver improvements
2018-12-31 19:37:37 +01:00
vis2k
37659d5d4d
Use actual type instead of var
2018-12-31 16:55:50 +01:00
vis2k
8659b2a989
Rename GenerateCommandDelegate to GenerateRegisterCommandDelegate because that's what it does
2018-12-31 16:54:38 +01:00
vis2k
91e13ce87a
GenerateSyncListInstanceInitializer comment added
2018-12-31 16:53:04 +01:00
vis2k
648cb0ba1a
ProcessVersion comment added
2018-12-31 16:48:39 +01:00