514 Commits

Author SHA1 Message Date
JohnCorby
6dcce3da84 world object link: improve api 2022-03-14 01:52:49 -07:00
JohnCorby
dc220611d9 api for linking world objects and network behaviours 2022-03-13 23:50:36 -07:00
Mister_Nebula
9e166b34fe change some stuff aaaaa (extract out init code into QSBWorldSync) 2022-03-13 21:44:04 +00:00
Mister_Nebula
ff001cc8c8 AAAAA (world object variable syncers) 2022-03-13 16:14:22 +00:00
JohnCorby
c4c1adb12c large bruh moment 2022-03-11 07:26:03 -08:00
JohnCorby
7c7a3e6423 Revert "DebugTeleportInfoMessage: use WarpToPositionRotation"
This reverts commit 01332e3ad24d67fc9cf506be57328470acaad6c8.
2022-03-11 07:20:49 -08:00
JohnCorby
01332e3ad2 DebugTeleportInfoMessage: use WarpToPositionRotation 2022-03-11 03:33:27 -08:00
JohnCorby
079a36c0b0 make AvoidTimeSync not depend on DebugMode 2022-03-11 02:42:57 -08:00
JohnCorby
46f93ee5b9 RelativeTransformUtil: make vel and ang vel actually relative 2022-03-11 00:55:49 -08:00
JohnCorby
310daa7d45 update Extensions.cs 2022-03-10 21:23:06 -08:00
JohnCorby
cba14d3e6f debug log format 2022-03-07 17:45:58 -08:00
JohnCorby
09885437b9 Merge branch 'quantum-objects-fixes' into dev
# Conflicts:
#	QSB/QuantumSync/QuantumManager.cs
2022-03-07 13:00:07 -08:00
Mister_Nebula
9356a4f704 stuffz 2022-03-07 20:34:35 +00:00
JohnCorby
ae88766ee1 PlayerInfo: ToString 2022-03-06 01:01:58 -08: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
1f41cf8c32 DebugSettings: use MemberSerialization.OptIn so it only deserializes fields/properties with JsonPropertyAttribute 2022-02-25 23:18:45 -08:00
JohnCorby
1924dd6899 DebugActions: cycle between players to teleport to instead of doing random one 2022-02-25 23:18:45 -08:00
JohnCorby
555083f857 DebugActions: teleport to random other player 2022-02-25 23:18:45 -08:00
JohnCorby
6592ecc68f async Try: SuppressCancellationThrow 2022-02-21 04:19:58 -08:00
JohnCorby
2a7d4ad97f QuaternionHelper: format lol 2022-02-16 20:21:34 -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
83bec7b75f optimization: MinBy and MaxBy instead of sorting 2022-02-16 18:14:40 -08:00
JohnCorby
80e84251eb GetPlayerId: use {conn} instead of {conn.address} 2022-02-13 18:04:25 -08:00
JohnCorby
c3c2665cf2 update Mirror 2022-02-13 18:01:25 -08:00
JohnCorby
9c36e79c57 Extensions.Try: rename parameter 2022-02-13 17:05:20 -08:00
JohnCorby
743142e6d8 QSBNetworkBehaviour: isClient is always true 2022-02-12 21:42:19 -08:00
JohnCorby
1885ab201d make debug log hook a setting 2022-02-10 17:21:02 -08:00
JohnCorby
1088539b37 improve patches 2022-02-07 14:23:16 -08:00
JohnCorby
0a6b56179e update QSBNetworkManager 2022-02-05 19:01:53 -08:00
JohnCorby
f8f37aa011 IAddComponentOnStart: some of these can be destroyed right after running 2022-02-05 03:28:37 -08:00
JohnCorby
86cb1211bf Revert "make PreserveTimeScale and WakeUpSync not NetworkBehaviours attached to the player"
This reverts commit ac86f843bea5b29692d5852aecb47badb3e3aa76.
2022-02-05 01:50:14 -08:00
JohnCorby
ac86f843be make PreserveTimeScale and WakeUpSync not NetworkBehaviours attached to the player 2022-02-04 17:35:13 -08:00
JohnCorby
1441dc4a32 Revert "Revert "QSBNetworkBehaviour: SendInitialState""
This reverts commit 6eb8b144b3b0bfe906b3b69a4475823842d9b7db.
2022-02-04 14:17:23 -08:00
JohnCorby
3674d19de1 make playerIdInLogs not require debugMode=true 2022-02-04 14:12:35 -08:00
JohnCorby
6eb8b144b3 Revert "QSBNetworkBehaviour: SendInitialState"
This reverts commit c571d3eba789a0cde7d752443a7a50f8ec11a51c.
2022-02-04 00:15:23 -08:00
JohnCorby
c571d3eba7 QSBNetworkBehaviour: SendInitialState 2022-02-03 16:43:50 -08:00
JohnCorby
7d0ae8fcec GetNetworkConnection 2022-02-03 16:43:26 -08:00
JohnCorby
c06cdb8906 organize DebugSettings 2022-02-02 22:00:49 -08:00
JohnCorby
d65c4db781 null check in DebugCameraSettings 2022-02-01 14:31:53 -08:00
JohnCorby
4f12462f82 Manager -> IAddComponentOnStart 2022-02-01 14:24:21 -08:00