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

Method ProcessModifyFps

src/render/plugins/plugin_net_event_router.cpp:548–554  ·  view source on GitHub ↗

client -> render 修改帧率

Source from the content-addressed store, hash-verified

546
547 // client -> render 修改帧率
548 void PluginNetEventRouter::ProcessModifyFps(std::shared_ptr<Message>&& msg) {
549 auto mf = msg->modify_fps();
550 int fps = mf.fps();
551 if (context_) {
552 context_->SendAppMessage(MsgModifyFps{.fps_ = fps});
553 }
554 }
555
556// void PluginNetEventRouter::ProcessFocusOutEvent() {
557// win_event_replayer_->HandleFocusOutEvent();

Callers

nothing calls this directly

Calls 1

SendAppMessageMethod · 0.45

Tested by

no test coverage detected