Commit Graph

30 Commits

Author SHA1 Message Date
JohnCorby
140d42cabd funny moment 2022-06-07 11:40:06 -07:00
JohnCorby
f0696684af HasChanged -> CheckChanged, then make variable (like IsValid) 2022-05-29 11:58:23 -07:00
Mister_Nebula
adf1945b75 sync flames 2022-05-19 14:34:49 +01:00
JohnCorby
d0cce35103 use send initial state event 2022-04-06 11:35:40 -07:00
JohnCorby
c5cae127bc QSBNetworkBehaviour: DontDestroyOnLoad 2022-03-14 02:34:04 -07:00
JohnCorby
06c6ae179b world object link: further improve, implement for raft 2022-03-14 01:52:49 -07:00
JohnCorby
6dcce3da84 world object link: improve api 2022-03-14 01:52:49 -07:00
JohnCorby
e4da50a656 solution-wide: file-scoped namespaces 2022-03-02 19:46:33 -08:00
JohnCorby
a8fba743f6 Revert "solution wide: use file-scoped namespace" 2022-02-27 05:25:39 -08:00
JohnCorby
9548ea6d87 Sync: get from attached before checking HasChanged, and apply to attached after deserializing 2022-02-25 23:18:52 -08:00
JohnCorby
c278a46cb4 bruh 2022-02-25 23:18:52 -08:00
JohnCorby
69a13c2304 comment 2022-02-25 23:18:52 -08:00
JohnCorby
a6e387f3aa QSBNetworkBehaviour: only update prev data right before serialize 2022-02-25 23:18:51 -08:00
JohnCorby
2f2037bcc9 SyncBase: move IsValid to QSBNetworkBehaviour, use that to guard Serialize/Deserialize 2022-02-25 23:18:51 -08:00
JohnCorby
396102a055 QSBNetworkBehaviour: require world objects ready when sending and receiving 2022-02-25 23:18:51 -08:00
JohnCorby
3d7a1ed6af comment 2022-02-25 23:18:50 -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
2f6b67845a QSBNetworkBehaviour: remove unneeded check 2022-02-16 18:40:38 -08:00
JohnCorby
743142e6d8 QSBNetworkBehaviour: isClient is always true 2022-02-12 21:42:19 -08:00
JohnCorby
1441dc4a32 Revert "Revert "QSBNetworkBehaviour: SendInitialState""
This reverts commit 6eb8b144b3.
2022-02-04 14:17:23 -08:00
JohnCorby
13f5e2ebc3 - no more initial state for qsb network behaviours because it is dumb and i hate it
- spawn authqueue objects with no authority for real instead of with server authority
2022-01-27 03:15:52 -08:00
JohnCorby
47b98f2a1c tweak 2022-01-18 15:02:48 -08:00
JohnCorby
0912b6cee0 merge de/ser again, just make sure that it doesnt mess with anything (ie store and defer to getfrom/applytoattached 2022-01-16 07:23:35 -08:00
JohnCorby
7f1c6ea6c8 split up UpdateTransform + refactor 2022-01-16 06:53:45 -08:00
JohnCorby
1d2764f09f split into initial state de/ser and regular de/ser 2022-01-16 01:58:47 -08:00
JohnCorby
7610fcac18 guh 2022-01-16 00:15:27 -08:00
JohnCorby
0ef0f2aadc rename 2022-01-14 21:25:02 -08:00
JohnCorby
cdea31a310 UpdatePrevData on initial serialize instead of Awake 2022-01-14 20:38:03 -08:00
JohnCorby
3f90a34b1f custom network behaviour and transform 2022-01-14 20:13:04 -08:00