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
vis2k
cae59e82ad
WriteServerActiveCheck comment added
2018-12-31 16:47:11 +01:00
vis2k
2333446e5a
WriteClientActiveCheck comment added
2018-12-31 16:45:38 +01:00
vis2k
dd28896f34
Weaver GenerateConstants: use for int instead of separate counting variable
2018-12-31 16:31:12 +01:00
vis2k
c19fb132f0
Merge pull request #198 from vis2k/weaver_divide_and_conquer
...
Weaver divide and conquer
2018-12-31 16:30:22 +01:00
vis2k
8d8c3f70f1
Static classes
2018-12-31 16:07:14 +01:00
vis2k
83f72e8598
Weaver processors shorter names
2018-12-31 16:04:00 +01:00
vis2k
300572470e
Weaver processor classes moved into Processors folder
2018-12-31 16:00:08 +01:00
vis2k
39a599963a
Weaver ProcessEvents moved into NetworkBehaviourSyncEventProcessor too
2018-12-31 15:58:39 +01:00
vis2k
4f5f76e42f
Weaver SyncVar processing moved into NetworkBehaviourSyncVarProcessor
2018-12-31 15:58:04 +01:00
vis2k
181e1231d7
Weaver Validate methods generation moved into their classes
2018-12-31 15:58:04 +01:00
vis2k
5ffe496b25
Weaver SyncEvent processing moved into NetworkBehaviourSyncEventProcessor
2018-12-31 15:58:04 +01:00
vis2k
a12ac8e8b0
Weaver [TargetRpc] processing moved into NetworkBehaviourTargetRpcProcessor
2018-12-31 15:58:04 +01:00
vis2k
b9963fdf4d
Weaver [Rpc] processing moved into NetworkBehaviourRpcProcessor
2018-12-31 15:58:04 +01:00