events library

Official setonix server library

Classes

AuthenticatedRequested
AuthenticateRequest
BackgroundChanged
BackgroundDefinition
BackgroundTranslation
Base64IdMapHook
Base64Uint8ListHook
BoardDeckDefinition
BoardDefinition
BoardMoveRequest
BoardRemoveRequest
BoardsSpawnRequest
BoardTile
BoardTilesChanged
BoardTilesSpawned
BoardTranslation
BrowsedGameServer
CellHideChanged
CellMergeStrategy
CellMergeStrategyChanged
CellRollRequest
CellShuffled
CellSwitched
ChatMessage
ClientWorldEvent
Events that will be send by the client Naming convention: present tense + Request
DataMetadata
DeckDefinition
DeckTranslation
DescriptiveTranslation
DialogCloseRequest
DialogOpened
DialogsClosed
DistributeCellMergeStrategy
FatalServerEventError
FigureBackDefinition
FigureDeckDefinition
FigureDefinition
FigureTranslation
FigureVariationTranslation
FileMetadata
GameDialog
GameDialogButton
GameDialogCheckboxComponent
GameDialogCheckboxValue
GameDialogComponent
GameDialogComponentValue
GameDialogDropdownComponent
GameDialogDropdownOption
GameDialogDropdownValue
GameDialogMarkdownComponent
GameDialogTextFieldComponent
GameDialogTextFieldValue
GameDialogValue
GameInfo
GameMode
GameObject
GameObjectDefinition
GameProperty
GameServer
GameTable
GameTeam
GameToolbar
GlobalVectorDefinition
HybridWorldEvent
IgnoreEqualityBox<T>
IgnoreForEquality
ImagesRequest
ImagesUpdated
InvalidPacksError
ItemLocation
ItemLocationHook
KickMessage
KickMessageHook
KickServerResponse
LanGameServer
LanProperty
LayoutCellMergeStrategy
ListGameServer
ListProperty
LocalWorldEvent
MergedCellStrategy
MessageRequest
MessageSent
MetadataChanged
ModeChangeRequest
NoteChanged
NoteRemoved
ObjectIndexChanged
ObjectsChanged
ObjectsMoved
ObjectsRemoved
ObjectsSpawned
PackItem<T>
PacksChangeRequest
PackTranslation
PlayableWorldEvent
Events that can be processed by the event management system This can be a ServerWorldEvent or a LocalWorldEvent
PlayerInfo
ServerList
ServerProcessed
ServerResponse
ServerState
ServerStateUpdated
ServerWorldEvent
Events that will be send by the client Naming convention: present tense + Event
SetonixAccount
SetonixConfig
SetonixData
SetonixFile
ShuffleCellRequest
SignatureMetadata
StackedCellMergeStrategy
TableCell
TableRemoved
TableRenamed
TeamChanged
TeamJoined
TeamJoinRequest
TeamLeaveRequest
TeamLeft
TeamRemoved
ToolbarAction
ToolbarActionRequest
ToolbarUpdated
TranslationsStore
UpdateServerResponse
VariationDefinition
VectorDefinition
VectorDefinitionHook
VisualDefinition
Waypoint
WaypointChanged
WaypointRemoved
WorldEvent
WorldInitialized
WorldState

Enums

CellMergeDirection
FileType
GameState
KickReason
TeamColor
WorldOperationMode

Constants

kBroadcastPort → const int
kDefaultPort → const int
kFallbackLocale → const String
kFileVersion → const int
kGameNotesPath → const String
kGameTablePath → const String
kGameTeamPath → const String
kPackAccountsPath → const String
kPackBackgroundsPath → const String
kPackBoardsPath → const String
kPackDecksPath → const String
kPackFiguresPath → const String
kPackInfoPath → const String
kPackMetadataPath → const String
kPackModesPath → const String
kPackScriptsPath → const String
kPackTexturesPath → const String
kPackTranslationsPath → const String

Functions

buildServerAddress(Uri uri, bool secure, {bool webSockets = true}) Uri
createPackIdentifier(List<int> data) String
getDefaultLocale() String?
isServerSupported(List<SignatureMetadata> mySignature, List<SignatureMetadata> serverSignature) bool
isValidClientEvent(WorldEvent event, Channel channel, WorldState state, {required AssetManager assetManager, ChallengeManager? challengeManager}) bool
isValidServerEvent(ServerWorldEvent event, WorldState state) bool
processClientEvent(WorldEvent? event, Channel channel, WorldState state, {required AssetManager assetManager, bool allowServerEvents = false, ChallengeManager? challengeManager, UserManager? userManager}) Future<ServerResponse?>
processServerEvent(ServerWorldEvent event, WorldState state, {required List<SignatureMetadata> signature}) ServerProcessed