401 Commits

Author SHA1 Message Date
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
JohnCorby
16f3210016 remove unused setters in DebugSettings 2022-02-01 14:10:30 -08:00
JohnCorby
dd01ea497a remove the rest of the debug settings 2022-02-01 14:08:00 -08:00
Mister_Nebula
d7eb6f5e64 remove unused UnitTestDetector 2022-02-01 15:42:20 +00:00
Mister_Nebula
19d72dffee add manager stuff 2022-02-01 08:58:52 +00:00
Mister_Nebula
01e798ff6a Merge branch 'dev' into echoes-of-the-eye 2022-01-31 22:44:53 +00:00
JohnCorby
ea3bc72701 improve UIHelper a bit 2022-01-31 12:47:00 -08:00
Mister_Nebula
2583965c0a Merge branch 'echoes-of-the-eye' into better-player-prefab 2022-01-30 09:31:01 +00:00
Mister_Nebula
adbb052a92 Merge branch 'dev' into echoes-of-the-eye 2022-01-30 09:27:43 +00:00
JohnCorby
0f8fbfe287 match exactly with ModUnityEvents, just in case 2022-01-29 02:03:31 -08:00
JohnCorby
4c1e0ba3d6 all things in Delay should perform their checks/do their things at the very end of the PlayerLoop 2022-01-29 01:59:58 -08:00
JohnCorby
7e6dfd1f56 nah 2022-01-29 01:40:28 -08:00
JohnCorby
faeec86304 reorder 2022-01-29 01:39:37 -08:00
JohnCorby
e657c8a48a cancellation support 2022-01-29 01:31:05 -08:00