Skip to main content

Module events

Module events 

Source
Expand description

Public event type enums and structs for parsed MTG Arena log events.

These types represent the structured output of the parser and form the contract between the parser library and its consumers. Each event corresponds to a category in the Event-to-Class Mapping.

Structs§

ClientActionEvent
Client-to-GRE player actions.
ConnectionErrorEvent
Connection error event (error-path markers).
DeckCollectionEvent
Deck snapshot.
DeckSubmissionEvent
Deck-submission event.
DetailedLoggingStatusEvent
Detailed logging status event.
DraftBotEvent
Bot draft events.
DraftCompleteEvent
Draft completion event.
DraftHumanEvent
Human draft pick events.
EventLifecycleEvent
Event lifecycle transitions.
EventMetadata
Fields shared by every event: timestamp, raw bytes, and raw-bytes hash.
GameResultEvent
Game result event — triggers post-game batch assembly.
GameStateEvent
GRE-to-client game state messages.
InventoryEvent
Inventory snapshot.
LogFileRotatedEvent
Log file rotation event.
MatchConnectionStateEvent
Match connection state machine transition event.
MatchStateEvent
Match room state transitions.
RankEvent
Rank snapshot.
SessionEvent
Session identity and connection events.
TcpConnectionCloseEvent
TCP connection close event.
TruncationEvent
GSM truncation marker event.
WebSocketClosedEvent
WebSocket close event.

Enums§

GameEvent
A parsed MTG Arena log event.
PerformanceClass
Performance class determining latency target and delivery path.