More stuff (#5056)

* Skeleton + RemoveMessages

* GameJoinedData
This commit is contained in:
Zach H 2024-06-16 23:26:03 -04:00 committed by GitHub
parent 291c535edb
commit 0994d10410
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 41 additions and 2 deletions

View file

@ -11,14 +11,17 @@ import { serverShutdown } from './serverShutdown';
import { userJoined } from './userJoined';
import { userLeft } from './userLeft';
import { userMessage } from './userMessage';
import { gameJoined } from './gameJoined';
export const SessionEvents: ProtobufEvents = {
'.Event_AddToList.ext': addToList,
'.Event_ConnectionClosed.ext': connectionClosed,
'.Event_GameJoined.ext': gameJoined,
'.Event_ListRooms.ext': listRooms,
'.Event_NotifyUser.ext': notifyUser,
'.Event_PlayerPropertiesChanges.ext': playerPropertiesChanges,
'.Event_RemoveFromList.ext': removeFromList,
// '.Event_ReplayAdded.ext': () => {}, // TODO Eventually
'.Event_ServerIdentification.ext': serverIdentification,
'.Event_ServerMessage.ext': serverMessage,
'.Event_ServerShutdown.ext': serverShutdown,