mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Add token creation for opponent board items (#2744)
This commit is contained in:
parent
5abfda49be
commit
e8dbdc3c6d
4 changed files with 69 additions and 28 deletions
|
|
@ -593,6 +593,11 @@ void TabGame::adminLockChanged(bool lock)
|
|||
sayEdit->setVisible(v);
|
||||
}
|
||||
|
||||
bool TabGame::isSpectator()
|
||||
{
|
||||
return spectator;
|
||||
}
|
||||
|
||||
void TabGame::actGameInfo()
|
||||
{
|
||||
DlgCreateGame dlg(gameInfo, roomGameTypes);
|
||||
|
|
@ -735,7 +740,7 @@ void TabGame::processGameEventContainer(const GameEventContainer &cont, Abstract
|
|||
case GameEvent::GAME_SAY: eventSpectatorSay(event.GetExtension(Event_GameSay::ext), playerId, context); break;
|
||||
case GameEvent::LEAVE: eventSpectatorLeave(event.GetExtension(Event_Leave::ext), playerId, context); break;
|
||||
default: {
|
||||
qDebug() << "unhandled spectator game event";
|
||||
qDebug() << "unhandled spectator game event" << eventType;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue