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

Method MakeHelloMsg

src/render/network/net_message_maker.cpp:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23{
24
25 std::string NetMessageMaker::MakeHelloMsg() {
26 auto msg = std::make_shared<Message>();
27 msg->set_type(tc::kHello);
28 auto hello = new Hello();
29 msg->set_allocated_hello(hello);
30 return msg->SerializeAsString();
31 }
32
33 std::string NetMessageMaker::MakeAckMsg() {
34 auto msg = std::make_shared<Message>();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected