MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Chat

Method Chat

engine/Poseidon/Network/NetworkClientActions.cpp:2050–2054  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2048 SendMsg(&msg, NMFGuaranteed);
2049}
2050
2051void NetworkClient::Chat(int channel, RString text)
2052{
2053 ChatMessage msg(channel, GetLocalPlayerName(), text);
2054 SendMsg(&msg, NMFGuaranteed | GetChatPriority());
2055}
2056
2057void NetworkClient::Chat(int channel, AIUnit* sender, RefArray<NetworkObject>& units, RString text)

Callers 1

DisconnectMethod · 0.45

Calls 1

GetLocalPlayerNameFunction · 0.85

Tested by

no test coverage detected