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
|
|
@ -5,18 +5,18 @@
|
|||
# Uncomment a rule to see debug level logs for that category,
|
||||
# or set <category> = false to disable logging
|
||||
|
||||
#main = true
|
||||
main = true
|
||||
#qt_translator = true
|
||||
#window_main.* = true
|
||||
window_main.* = true
|
||||
#release_channel = true
|
||||
#spoiler_background_updater = true
|
||||
#theme_manager = true
|
||||
#sound_engine = true
|
||||
#tapped_out_interface = true
|
||||
|
||||
#tab_game = true
|
||||
#tab_message = true
|
||||
#tab_supervisor = true
|
||||
tab_game = true
|
||||
tab_message = true
|
||||
tab_supervisor = true
|
||||
|
||||
#dlg_edit_avatar = true
|
||||
#dlg_load_deck_from_website = true
|
||||
|
|
@ -28,16 +28,16 @@
|
|||
#servers_settings = true
|
||||
#shortcuts_settings = true
|
||||
|
||||
#local_client = true
|
||||
#remote_client = true
|
||||
local_client = true
|
||||
remote_client = true
|
||||
|
||||
#player = true
|
||||
#game_scene = true
|
||||
#game_scene.player_addition_removal = true
|
||||
#card_zone = true
|
||||
#view_zone = true
|
||||
player = true
|
||||
game_scene = true
|
||||
game_scene.player_addition_removal = true
|
||||
card_zone = true
|
||||
view_zone = true
|
||||
|
||||
#user_info_connection = true
|
||||
user_info_connection = true
|
||||
|
||||
#picture_loader = true
|
||||
#picture_loader.worker = true
|
||||
|
|
|
|||
|
|
@ -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