140 Commits

Author SHA1 Message Date
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
a0d1ab5e22 CameraFacingBillboard: move to proper namespace 2022-02-11 05:03:08 -08:00
JohnCorby
1088603538 use "out * __result" instead of "ref * __result" where we can 2022-02-07 00:50:03 -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
edf469d3e4 rename 2022-01-28 20:50:34 -08:00
JohnCorby
2f99dec87f make BuildWorldObjects async 2022-01-28 20:49:07 -08:00
JohnCorby
9acf99319b ConversationStartEndMessage is always sent by the local player 2022-01-27 01:36:45 -08:00
JohnCorby
32329d9af7 write and read work now with arrays and enums 2022-01-27 00:32:30 -08:00
JohnCorby
c4aeb14bea we can use generics for qsb message 2022-01-26 21:00:12 -08:00
JohnCorby
75ae6416f7 we can use generics for qsb message 2022-01-26 20:35:43 -08:00
JohnCorby
f44440741b oops 2022-01-26 00:12:44 -08:00
JohnCorby
daba499d90 - rename
- apparently weaver weave arrays correctly, so be explicit
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
f0eb9712aa RemoteDialogueResyncMessage 2022-01-26 00:12:44 -08:00
JohnCorby
2c10e12304 clean up RemoteDialogueTrigger a bit 2022-01-26 00:12:44 -08:00
JohnCorby
0a423a8ce6 comment 2022-01-25 21:32:43 -08:00
JohnCorby
1800e6f21f make SendResyncInfo abstract to make sure we handle resyncs 2022-01-25 21:08:04 -08:00
JohnCorby
7e1f62666a seperate building and unbuilding of world objects 2022-01-18 00:46:27 -08:00
JohnCorby
2743c8ffa9 move a bunch of WorldObjectManager stuff to QSBWorldSync 2022-01-18 00:27:32 -08:00
JohnCorby
1fa6ad6edb get these messages updated 2022-01-14 14:30:54 -08:00
JohnCorby
e1b7f5ffd4 Merge branch 'dev' into mirror
# Conflicts:
#	QSB/ConversationSync/Messages/DialogueConditionMessage.cs
#	QSB/Player/Messages/EnterLeaveMessage.cs
#	QSB/QSB.csproj
#	QSB/SaveSync/Messages/GameStateMessage.cs
#	QSBTests/MessageTests.cs
2022-01-14 14:14:40 -08:00
JohnCorby
235ed1203b baba booey use NetworkReader and NetworkWriter 2022-01-13 23:40:15 -08:00
JohnCorby
a349e4dd2b cleanup enums 2022-01-11 20:08:38 -08:00
JohnCorby
82e4bda771 make PersistentConditionsToSync readonly array 2022-01-11 17:00:39 -08:00
Mister_Nebula
89765b5b56 remove logs 2022-01-08 15:04:52 +00:00
Mister_Nebula
7434b59940 fix infinite loop of sending dialogue conditions 2022-01-08 12:19:39 +00:00
Mister_Nebula
93eb642b77 aaaaaaa 2022-01-08 11:41:55 +00:00
JohnCorby
ad076e716d use __instance in patches instead of ___whatever since we can access fields directly 2021-12-26 21:25:26 -08:00
JohnCorby
7acd63e339 remove default ctors from messages 2021-12-26 18:55:54 -08:00
JohnCorby
8abddb4e8c move/rename eventnames, also move FactReveal out of WorldSync folder 2021-12-26 00:53:43 -08:00
JohnCorby
c4228f1440 marshmallow 2021-12-25 22:53:36 -08:00
JohnCorby
e00aa13461 make getting world object from id or unity object an extension method (and rename) 2021-12-25 22:45:25 -08:00
JohnCorby
d3247487b5 buh 2021-12-25 22:12:21 -08:00
JohnCorby
9f39b13ed7 dont use message field where we dont have to 2021-12-25 16:48:26 -08:00
JohnCorby
b030671119 change ConversationMessage ctor param order 2021-12-25 16:30:25 -08:00
JohnCorby
4be9195673 conversation 2021-12-25 16:29:00 -08:00
JohnCorby
22400aeb0c EnterRemoteDialogueMessage 2021-12-23 23:00:20 -08:00
JohnCorby
347f8d1945 ship fly and suit 2021-12-23 22:41:11 -08:00
JohnCorby
74a4775511 OPTIMIZE IMPORTS 2021-12-23 17:07:29 -08:00
JohnCorby
507af7a1fa rename ALL Events folders to Messages so i dont have to do it later 2021-12-23 16:26:31 -08:00
JohnCorby
e15bae9840 DialogueConditionMessage 2021-12-23 16:20:17 -08:00
JohnCorby
3ef26a6da7 implement (might be wrong for some, like maybe AirlockManager? not sure if GhostAirlock shows up in the eye) 2021-12-20 18:41:12 -08:00
Mister_Nebula
1b0934be9f make auto-triggers work 2021-12-20 11:48:50 +00:00
Mister_Nebula
a9fc152ff8 replace RequireWorldObjectsReady with property 2021-12-05 11:03:09 +00:00
Mister_Nebula
88084bb24d add RequireWorldObjectsReady check to all events 2021-12-04 16:39:37 +00:00
_nebula
4b3b8cd4a1
Merge pull request #394 from misternebula/eventnames-nameof
use nameof in EventNames
2021-12-04 16:19:57 +00:00
Mister_Nebula
0bd60ddb68 rename variables, fix QSBOWItem (again) 2021-12-04 09:51:27 +00:00