MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / sendChatMessage

Function sendChatMessage

src/OpenLoco/src/Network/Network.cpp:111–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 void sendChatMessage(std::string_view message)
112 {
113 auto serverOrClient = getServerOrClient();
114 if (serverOrClient != nullptr)
115 {
116 serverOrClient->sendChatMessage(message);
117 }
118 }
119
120 void receiveChatMessage(client_id_t client, std::string_view message)
121 {

Callers

nothing calls this directly

Calls 2

getServerOrClientFunction · 0.85
sendChatMessageMethod · 0.45

Tested by

no test coverage detected