vis2k
10689d3131
feature: SyncObject IsRecording() to prepare for NetworkServer.Update not calling ClearAllComponentsDirtyBits on all spawned entities with no observers. ( #2926 )
...
* feature: SyncObject IsRecording() to prepare for NetworkServer.Update not calling ClearAllComponentsDirtyBits on all spawned entities with no observers.
* fix test
2021-09-19 11:05:40 +08:00
MrGadget
4efb0a64ff
fix: Clear hasAuthority when Unspawning ( #2927 )
...
* fix: Clear hasAuthority when Unspawning
* Added UnSpawnAndClearAuthority test
2021-09-19 10:15:42 +08:00
MrGadget1024
113d2b9cf9
fixed comment
2021-09-18 14:06:31 -04:00
vis2k
20daad4806
add TODOs
2021-09-18 23:43:47 +08:00
vis2k
c1a7920076
remove test assert that depends on the current way where changes are actually tracked and only cleared in update
2021-09-18 23:33:24 +08:00
vis2k
2df0975752
Test: SyncList/Set/Dictionary ever growing changes while no observers prevention
2021-09-18 23:23:55 +08:00
vis2k
cb46fd5ce4
SyncList.changes comments
2021-09-18 20:09:39 +08:00
vis2k
81114a498f
i dont need to leave comments
2021-09-18 19:47:57 +08:00
vis2k
0ede6b9da9
NetworkIdentity.RemoveObserverInternal renamed to RemoveObserver for consistency with AddObserver (both functions are internal anyway)
2021-09-18 19:05:51 +08:00
vis2k
d2acc707ac
NetworkIdentity: group observer add/remove/clear functions together
2021-09-18 19:03:50 +08:00
vis2k
de032d6edb
better
2021-09-18 19:01:32 +08:00
vis2k
3a70eeccfd
better
2021-09-18 18:58:15 +08:00
vis2k
6a50fd0c7f
Tests: NetworkServer dirty bits if no observers clearing test
2021-09-18 18:55:10 +08:00
MrGadget1024
9727e0e7e2
updated comment
2021-09-18 06:19:01 -04:00
Devon Merner
413b612856
Prevent NetworkManager.ServerChangeScene from being called if a scene change is already in progress for that scene. ( #2903 )
2021-09-18 16:16:47 +08:00
vis2k
20056edc0f
NetworkServer.Broadcast: explain ClearSpawnedDirtyBits better
2021-09-18 12:34:52 +08:00
vis2k
acebef0e16
NetworkBehaviour.IsDirty: OR both bitmasks instead of comparing separately.
2021-09-18 12:04:18 +08:00
vis2k
2208b6ce52
perf: breaking: SyncObjects (SyncList/SyncSet/SyncDict) Dirty Searching (O(N)) replaced with bit mask (O(1)) ( #2922 )
...
* wip
* internal field
* huh
* more
* use ondirty
* wip
* fix index
* test
* syntax
* restore old TOOD
* xml comment
* fix broken test
2021-09-18 11:56:28 +08:00
vis2k
3d624941a5
fix broken test from rename
2021-09-17 18:44:09 +08:00
MrGadget1024
1bc8232d60
Updated NetworkManager ScriptTemplate
2021-09-17 04:22:52 -04:00
vis2k
76ebb86d6d
Tests: don't need to inherit from SyncList<T> anymore
2021-09-17 14:53:02 +08:00
vis2k
ccb901e708
remove strange import
2021-09-17 14:50:39 +08:00
vis2k
1a5fedf9bf
Tests simplified
2021-09-17 13:37:49 +08:00
vis2k
a9c0ae014a
Tests simplified
2021-09-17 13:36:18 +08:00
vis2k
8adb00bebe
Tests simplified
2021-09-17 13:34:46 +08:00
vis2k
1487b2a27c
Tests simplified
2021-09-17 13:33:01 +08:00
vis2k
c722f6988c
breaking: SyncObject.Flush() renamed to ClearChanges() to make it more obvious.
...
'Flush' sounds like changes would be sent out over the wire.
When really it only clears changes.
2021-09-17 13:27:05 +08:00
vis2k
53d316bd9f
syntax
2021-09-17 13:01:11 +08:00
vis2k
79f492aaf8
TODO
2021-09-17 12:48:55 +08:00
vis2k
19747954a3
fix: Weaver now allows exactly 64 SyncVars too
2021-09-16 21:50:44 +08:00
vis2k
88e1be8965
Tests: rename
2021-09-16 21:48:52 +08:00
vis2k
f01a701779
Tests: Weaver: SyncVarsExactlyMax
2021-09-16 21:48:18 +08:00
vis2k
6ebcbd8311
Tests: Weaver: SyncObjectsExactlyMax
2021-09-16 21:39:39 +08:00
vis2k
42cc181cfa
syntax
2021-09-16 21:37:42 +08:00
vis2k
2e0b58c624
rename
2021-09-16 21:36:39 +08:00
vis2k
d1e60a0f62
fix: Weaver now detects and shows an error for >64 SyncObjects instead of silently not syncing them
2021-09-16 21:26:09 +08:00
vis2k
c77a50258d
Too many SyncVars message improved with exact amount
2021-09-16 21:16:13 +08:00
vis2k
4daabd2fe4
syntax
2021-09-16 20:58:54 +08:00
vis2k
107e5b9f3b
add comments
2021-09-16 15:13:09 +08:00
vis2k
98082c8527
comments
2021-09-16 14:50:06 +08:00
vis2k
3da14d2430
Tests: SetDirtyBit
2021-09-16 14:49:33 +08:00
vis2k
f43a29e712
NetworkBehaviour.AnySyncObjectDirty: reuse DirtyobjectBits
2021-09-16 14:42:44 +08:00
vis2k
0ad7cf7da7
Tests: IsDirty checks sync interval
2021-09-16 14:41:31 +08:00
vis2k
58ef1faaf9
Tests: IsDirty
2021-09-16 14:40:30 +08:00
vis2k
7828f25875
Tests: add SyncVars
2021-09-16 14:38:43 +08:00
vis2k
d9320b72f4
syntax
2021-09-16 14:37:06 +08:00
vis2k
cc22fabe1d
syntax
2021-09-16 14:36:38 +08:00
vis2k
b5b3d33704
syntax
2021-09-16 14:35:31 +08:00
vis2k
f161fa8f43
NetworkBehaviour: DirtyObjectBits grouped to the dirty code section
2021-09-16 14:35:08 +08:00
vis2k
0954fb2b44
comment
2021-09-16 14:32:18 +08:00