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

Method MakeMonitorSwitched

src/render/network/net_message_maker.cpp:236–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234 }
235
236 std::shared_ptr<Data> NetMessageMaker::MakeMonitorSwitched(const std::string& name, const int& mon_index) {
237 tc::Message msg;
238 msg.set_type(kMonitorSwitched);
239 msg.mutable_monitor_switched()->set_name(name);
240 msg.mutable_monitor_switched()->set_index(mon_index);
241 return ProtoAsData(&msg);
242 }
243
244}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected