![]() |
Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
|
Game-level command sender and event dispatcher. More...
#include "player/event_processing_options.h"#include <QLoggingCategory>#include <QObject>#include <libcockatrice/protocol/pb/event_leave.pb.h>#include <libcockatrice/protocol/pb/serverinfo_player.pb.h>Go to the source code of this file.
Classes | |
| class | GameEventHandler |
| Central dispatcher for game-wide commands and events. More... | |
Functions | |
| Q_LOGGING_CATEGORY (GameEventHandlerLog, "game_event_handler") | |
Game-level command sender and event dispatcher.
GameEventHandler sends commands initiated by the local client to the server and processes incoming game-wide events. It bridges the networking layer (protobuf events received via AbstractClient) with the game model and UI (GameState, PlayerManager, logging, widgets).
Player-scoped events are forwarded to PlayerEventHandler instances, while spectator and global game events are handled directly here.
|
inline |