mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
Allow Judges to see all information, regardless of room settings (#5053)
This commit is contained in:
parent
e2ab8db958
commit
b7fbc12ac0
6 changed files with 42 additions and 23 deletions
|
|
@ -50,6 +50,7 @@ private:
|
|||
QList<GameEventStorageItem *> gameEventList;
|
||||
int privatePlayerId;
|
||||
int forcedByJudge = -1;
|
||||
bool overwriteOwnership = false;
|
||||
|
||||
public:
|
||||
GameEventStorage();
|
||||
|
|
@ -72,6 +73,10 @@ public:
|
|||
{
|
||||
forcedByJudge = playerId;
|
||||
}
|
||||
void setOverwriteOwnership(bool shouldOverwriteOwnership)
|
||||
{
|
||||
overwriteOwnership = shouldOverwriteOwnership;
|
||||
}
|
||||
|
||||
void enqueueGameEvent(const ::google::protobuf::Message &event,
|
||||
int playerId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue