mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Stuffs
Took 39 minutes Took 4 seconds Took 43 minutes
This commit is contained in:
parent
ef93d8a253
commit
98da0a066f
4 changed files with 42 additions and 13 deletions
|
|
@ -882,6 +882,14 @@ void TabGame::eventGameStateChanged(const Event_GameStateChanged &event,
|
|||
}
|
||||
deckViewContainer->playerDeckView->setReadyStart(prop.ready_start());
|
||||
deckViewContainer->playerDeckView->setSideboardLocked(prop.sideboard_locked());
|
||||
} else {
|
||||
DeckList loader;
|
||||
loader.loadFromString_Native(QString::fromStdString(playerInfo.deck_list()));
|
||||
QMapIterator<int, TabbedDeckViewContainer *> i(deckViewContainers);
|
||||
while (i.hasNext()) {
|
||||
i.next();
|
||||
i.value()->addOpponentDeckView(loader, playerId, player->getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -967,6 +975,7 @@ void TabGame::eventPlayerPropertiesChanged(const Event_PlayerPropertiesChanged &
|
|||
i.value()->addOpponentDeckView(loader, eventPlayerId, player->getName());
|
||||
}
|
||||
}
|
||||
qInfo() << "lol, lmao even";
|
||||
break;
|
||||
}
|
||||
case GameEventContext::SET_SIDEBOARD_LOCK: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue