Commit Graph

111 Commits

Author SHA1 Message Date
JohnCorby
8abddb4e8c move/rename eventnames, also move FactReveal out of WorldSync folder 2021-12-26 00:53:43 -08:00
JohnCorby
5375cf3378 remove qsbevent 2021-12-25 23:55:54 -08:00
JohnCorby
4c7ef91704 doc 2021-12-25 23:48:32 -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
74a4775511 OPTIMIZE IMPORTS 2021-12-23 17:07:29 -08:00
JohnCorby
2e8a2d0f2a update docs again 2021-12-23 16:53:22 -08:00
JohnCorby
5a27757626 indicate when ObjectId and WorldObject are set 2021-12-23 16:08:02 -08:00
JohnCorby
e88ef0cc9c change that back to protected 2021-12-23 15:46:18 -08:00
JohnCorby
e90a00f06b rename more folders 2021-12-23 13:57:33 -08:00
JohnCorby
0122b73a80 and rename folder 2021-12-23 13:49:47 -08:00
JohnCorby
d3f6747c30 actually call the static constructor of messages 2021-12-23 13:06:18 -08:00
JohnCorby
506a73f5a8 meteors 2021-12-23 01:24:57 -08:00
JohnCorby
35f0316d5b fragment resync 2021-12-22 22:59:08 -08:00
JohnCorby
da1819c51d server/client state message 2021-12-22 18:27:12 -08:00
JohnCorby
65b8186b3d RequestStateResyncMessage 2021-12-22 18:20:53 -08:00
JohnCorby
c4be4fa6be PlayerInformation 2021-12-22 17:38:12 -08:00
JohnCorby
6d7fc8ecbf use constructors for everything 2021-12-22 17:13:54 -08:00
JohnCorby
1f5144a007 some player messages 2021-12-22 16:46:38 -08:00
JohnCorby
9d8b6d1685 fyck me 2021-12-22 16:46:38 -08:00
JohnCorby
f5d6339862 auth queue message 2021-12-22 01:16:44 -08:00
JohnCorby
4c335d6b81 split raw message and regular message 2021-12-21 12:38:43 -08:00
JohnCorby
800d8b5b8e raw message that doesn't contain from or to 2021-12-20 16:36:16 -08:00
JohnCorby
3837e29672 slight optimization 2021-12-20 15:39:50 -08:00
JohnCorby
a2ce35e178 more error checking 2021-12-11 19:02:34 -08:00
JohnCorby
1ccd277c5c moved checks higher 2021-12-11 18:40:20 -08:00
JohnCorby
00d93f765c bruh 2021-12-11 18:33:02 -08:00
JohnCorby
a925327c0c Merge branch 'dev' into message-manager
# Conflicts:
#	QSB/Events/QSBEvent.cs
#	QSB/Events/QSBEventManager.cs
#	QSB/Messaging/MessageHandler.cs
#	QSB/Patches/QSBPatchManager.cs
#	QSB/QSBCore.cs
#	QSB/QSBNetworkManager.cs
2021-12-11 18:31:28 -08:00
JohnCorby
d77a490ca6 update to reflect save-sync 2021-12-11 14:25:12 -08:00
JohnCorby
caffbe2100 slight documentation 2021-12-11 00:46:55 -08:00
JohnCorby
3909139ebc dont pre-create messages 2021-12-11 00:19:24 -08:00
JohnCorby
a157c2c238 implement the checks that were in OnReceive 2021-12-11 00:15:59 -08:00
JohnCorby
1b9110aa48 use field To instead of parameter in Send 2021-12-11 00:10:42 -08:00
JohnCorby
990f91c80c - message manager
- automatically add patches, events, world object managers, messages
- qsbevent uses message manager
- remove RepeatingManager, merge it into QSBSectorManager since it's only used there
2021-12-10 23:28:42 -08:00
Mister_Nebula
554c2bb2dd cleanup 2021-12-07 15:56:08 +00:00
Mister_Nebula
cffe6856a8 Merge branch 'dev' into new-save-sync 2021-12-07 15:47:30 +00:00
JohnCorby
36547dfe58 fix ForIdOverride 2021-12-06 01:44:04 -08:00
JohnCorby
ed14c30f9e with request resync, server should only send requesting client the info, rather than sending it to everyone 2021-12-06 01:44:03 -08:00
JohnCorby
45537b8636 remove OnlySendToSpecific, just use uint.MaxValue to denote no ForId 2021-12-06 01:44:03 -08:00
JohnCorby
4b4c142e20 goofs 2021-12-06 01:44:02 -08:00
JohnCorby
62e7ea1906 - add ForId and OnlySendToSpecific
- dont send ForId or OnlySendToSpecific if we dont have to
- fix message type check (`this is not PlayerInformationEvent or PlayerReadyEvent`)
2021-12-06 01:44:02 -08:00
Mister_Nebula
bcec680235 add ToId and SendToSpecific 2021-12-05 23:34:06 +00:00
Mister_Nebula
a4035bcd50 remove some logs 2021-11-30 08:37:41 +00:00
Mister_Nebula
f612d2b37b remove EventType 2021-11-29 22:26:32 +00:00
Mister_Nebula
1d66baf1d8 add comments to playermessage, change OnlySendToServer to OnlySendToHost 2021-08-08 20:05:34 +01:00
Mister_Nebula
a0286c3c74 fix ones in QSB 2021-06-18 22:38:32 +01:00
Mister_Nebula
b4232bd09b do the stuff 2021-03-30 17:28:05 +01:00
Mister_Nebula
14d7c9422e do message stuff 2021-03-29 14:36:16 +01:00
Mister_Nebula
d4e9b372b8 fix invoke issues 2021-02-06 22:03:10 +00:00
Mister_Nebula
244544c0d5 rename files 2020-12-23 12:58:45 +00:00
Mister_Nebula
7a4149bee6 Revert "REVERT"
This reverts commit 661c04a987.
2020-12-16 09:08:38 +00:00