MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / UpdateStatus

Method UpdateStatus

src/client/ui/float_sub_mode_panel.cpp:122–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 void SubModePanel::UpdateStatus(const MsgClientFloatControllerPanelUpdate& msg) {
123 if (MsgClientFloatControllerPanelUpdate::EUpdate::kWorkMode == msg.update_type_) {
124 sb_game_->SetStatus(SwitchWorkMode::kGame == settings_->work_mode_);
125 sb_work_->SetStatus(SwitchWorkMode::kWork == settings_->work_mode_);
126 }
127 }
128}

Callers

nothing calls this directly

Calls 1

SetStatusMethod · 0.45

Tested by

no test coverage detected