JohnCorby
adbeef6caf
QSBWorldSync: cancel tasks after checking dictionaries
2022-02-25 23:18:51 -08:00
JohnCorby
3d7a1ed6af
comment
2022-02-25 23:18:50 -08:00
JohnCorby
9b94f54a45
WorldObjectType -> WorldObjectScene
2022-02-25 23:18:47 -08:00
JohnCorby
182678c4bc
solution wide: use file-scoped namespace
2022-02-25 23:18:46 -08:00
JohnCorby
9e5e7bb6a1
initial state:
...
- always send from the host
- QSBNetworkBehaviour will store last known data in an array and send that, since real data will be wrong if no authority
2022-02-16 19:22:21 -08:00
JohnCorby
6fb47ffd35
QSBWorldSync: check _cts == null after awaiting tasks, since that means it's been cancelled so we should stop stop working
2022-02-16 18:14:40 -08:00
JohnCorby
1441dc4a32
Revert "Revert "QSBNetworkBehaviour: SendInitialState""
...
This reverts commit 6eb8b144b3b0bfe906b3b69a4475823842d9b7db.
2022-02-04 14:17:23 -08:00
JohnCorby
4f12462f82
Manager -> IAddComponentOnStart
2022-02-01 14:24:21 -08:00
Mister_Nebula
19d72dffee
add manager stuff
2022-02-01 08:58:52 +00:00
JohnCorby
806438b324
remove a space
2022-01-31 11:38:53 -08:00
Will Corby
c30624fb1f
Update RequestInitialStatesMessage.cs
2022-01-31 11:31:23 -08:00
Mister_Nebula
1991c681eb
cleanup qsb
2022-01-31 14:23:50 +00:00
JohnCorby
0cb8b48b71
make everything in QSBWorldSync readonly, just for fun
2022-01-29 15:33:33 -08:00
Mister_Nebula
3c88bc7072
fix dialogue condition funkiness
2022-01-29 20:41:12 +00:00
JohnCorby
2895e54083
rename
2022-01-29 01:29:02 -08:00
JohnCorby
c9321fff84
rename
2022-01-29 01:26:28 -08:00
JohnCorby
e42aec8bae
move everything over to UnityEvents
2022-01-29 01:24:15 -08:00
JohnCorby
abf4cb5ceb
rename
2022-01-28 23:22:13 -08:00
JohnCorby
c73591d5c6
- only await for the tasks that dont finish instantly
...
- warn about still-running tasks in RemoveWorldObjects
2022-01-28 23:05:42 -08:00
JohnCorby
bcc87190a3
make AllObjectsAdded and AllObjectsReady non-computed again
2022-01-28 21:56:39 -08:00
JohnCorby
835f495247
oops forgot to use Try in BuildWorldObjects
2022-01-28 21:40:26 -08:00
JohnCorby
d706ffd998
check _cts before building/removing world objects
2022-01-28 21:17:59 -08:00
JohnCorby
8a67003196
AllObjectsAdded and AllObjectsReady just means no more tasks are running
2022-01-28 21:09:14 -08:00
JohnCorby
cb3b851ecf
make BuildWorldObjects async, truly
2022-01-28 21:05:04 -08:00
JohnCorby
edf469d3e4
rename
2022-01-28 20:50:34 -08:00
JohnCorby
2f99dec87f
make BuildWorldObjects async
2022-01-28 20:49:07 -08:00
JohnCorby
81ff327509
- tweaks
...
- clear cache on start scene load
- wait until Start to set the parent so we don't mess with sibling indexes
- patch before scene load and unpatch when world objects ready
2022-01-27 15:58:33 -08:00
JohnCorby
7d50e7b510
debug logging
2022-01-26 19:43:40 -08:00
JohnCorby
f240b532fe
debug logging
2022-01-26 19:21:18 -08:00
JohnCorby
0e1f7f180b
deterministic manager
2022-01-26 18:54:50 -08:00
JohnCorby
091d1f2988
Merge branch 'dev' into vendor-compatibility
2022-01-26 16:04:39 -08:00
JohnCorby
8aaeeb8463
rename IWorldObject.ReturnObject to AttachedObject
2022-01-26 00:59:59 -08:00
JohnCorby
b309f117df
rename IWorldObject.ReturnObject to AttachedObject
2022-01-26 00:55:47 -08:00
JohnCorby
141ed5c13c
request initial states EVERY time world objects are ready, goofus
2022-01-26 00:12:44 -08:00
JohnCorby
a2660d6a54
send initial states less often and not in RequestStateResyncMessage
2022-01-26 00:12:44 -08:00
JohnCorby
1800e6f21f
make SendResyncInfo abstract to make sure we handle resyncs
2022-01-25 21:08:04 -08:00
JohnCorby
687e5fcdbd
fix a dumb orb transform sync bug
2022-01-25 19:43:59 -08:00
JohnCorby
2ec0cf7781
- rename WorldObjectsToUnityObjects
...
- remove unneeded checks in GetWorldObject
2022-01-25 19:43:58 -08:00
JohnCorby
11cefff4f2
fix a dumb orb transform sync bug
2022-01-25 19:42:22 -08:00
JohnCorby
733eb0088c
- rename WorldObjectsToUnityObjects
...
- remove unneeded checks in GetWorldObject
2022-01-25 18:13:34 -08:00
JohnCorby
56bb9f6040
make PersistentConditions private
2022-01-25 02:34:16 -08:00
JohnCorby
14afe37136
sort deterministic
2022-01-25 02:34:15 -08:00
JohnCorby
5fd8cfe20c
LogName -> ToString()
2022-01-23 00:29:59 -08:00
JohnCorby
a848312eab
bruh
2022-01-21 23:38:45 -08:00
JohnCorby
4918815e92
implement SendResyncInfo
2022-01-21 15:15:57 -08:00
JohnCorby
a741964812
SendResyncInfo virtual method
2022-01-21 14:56:45 -08:00
JohnCorby
3bd9d6c5c4
add QSBWorldSync.AllObjectsReady check in ShouldDisplayDebug
2022-01-21 14:50:07 -08:00
JohnCorby
f035f64d10
some cleanup
2022-01-20 22:37:42 -08:00
JohnCorby
d6315a06bf
use Exception.ToString since that prints message and stacktrace
2022-01-20 12:48:22 -08:00
JohnCorby
47b98f2a1c
tweak
2022-01-18 15:02:48 -08:00