Do not alert the application for game events when spectating.

Add a configuration toggle to enable alerts when spectating.

Default behavior is to not alert.
This commit is contained in:
Gavin Bises 2015-02-20 20:29:36 -05:00
parent 06e5327595
commit 11bd2444d8
4 changed files with 26 additions and 10 deletions

View file

@ -164,6 +164,7 @@ private:
void setActivePhase(int phase);
void eventSetActivePhase(const Event_SetActivePhase &event, int eventPlayerId, const GameEventContext &context);
void eventPing(const Event_Ping &event, int eventPlayerId, const GameEventContext &context);
void emitUserEvent();
signals:
void gameClosing(TabGame *tab);
void playerAdded(Player *player);