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
vis2k
02202070d0
Weaver [Command] processing moved into NetworkBehaviourCommandProcessor
2018-12-31 15:58:04 +01:00
vis2k
aa7ba82064
Merge pull request #195 from vis2k/remove_networkserverclient_networkconnectionclass_magic
...
Remove networkserverclient networkconnectionclass magic
2018-12-31 15:56:49 +01:00
vis2k
9fe8872968
Cmd/Rpc/TargetRpc/SyncEvent hashing uses hash(Type:Func) instead of hash(Func), so that Inventory.RpcUse is not called for Equipment.RpcUse etc. Original Weaver did this too, forgot to do it when moving hash calculation to HLAPI.
2018-12-31 14:02:34 +01:00
vis2k
cbf8a462d0
Comment added
2018-12-31 00:30:58 +01:00
vis2k
083e0cc57d
UNetBehaviourProcessor renamed to NetworkBehaviourProcessor
2018-12-31 00:30:19 +01:00
vis2k
a19cb6859c
SyncListStructProcessor: fixed error messages. Looks like they were copied over from MessageClassProcessor without changing them.
2018-12-31 00:29:21 +01:00
vis2k
42f975e62f
Use actual types instead of var
2018-12-31 00:24:42 +01:00
vis2k
70a378678d
SyncListStructProcessor comment added
2018-12-31 00:22:54 +01:00
vis2k
62c04da8c7
MessageClassProcessor comment added
2018-12-31 00:21:42 +01:00
vis2k
df9c996ccc
Use actual type instead of var
2018-12-31 00:19:25 +01:00
vis2k
c5b2d0f1c8
Use actual type instead of var
2018-12-31 00:18:32 +01:00
vis2k
202948f320
MonoBehaviourProcessor comment added
2018-12-31 00:17:30 +01:00
vis2k
0ee375215b
Weaver: removed unused MakeGenericType function
2018-12-31 00:14:32 +01:00
vis2k
97a30e9599
Weaver: removed unused MakeHostInstanceGeneric function
2018-12-31 00:14:10 +01:00
vis2k
ac2361611b
Syntax
2018-12-31 00:12:47 +01:00
vis2k
b88eaf527c
Use string instead of var
2018-12-31 00:12:39 +01:00