MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / NetworkClientSendChat

Function NetworkClientSendChat

src/network/network_client.cpp:1321–1324  ·  view source on GitHub ↗

* Send a chat message. * @param action The action associated with the message. * @param type The destination type. * @param dest The destination index, be it a company index or client id. * @param msg The actual message. * @param data Arbitrary extra data. */

Source from the content-addressed store, hash-verified

1319 * @param data Arbitrary extra data.
1320 */
1321void NetworkClientSendChat(NetworkAction action, DestType type, int dest, std::string_view msg, int64_t data)
1322{
1323 MyClient::SendChat(action, type, dest, msg, data);
1324}
1325
1326/**
1327 * Tell whether the client has team members who they can chat to.

Callers 3

ConSayFunction · 0.85
ConSayCompanyFunction · 0.85
ConSayClientFunction · 0.85

Calls 1

SendChatFunction · 0.85

Tested by

no test coverage detected