MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / GetChatText

Function GetChatText

netcon/mtclient/chat_api.cpp:305–312  ·  view source on GitHub ↗

returns NULL if no line is there to print, otherwise returns a string to print (all preformatted of course)

Source from the content-addressed store, hash-verified

303// returns NULL if no line is there to print, otherwise returns a string to
304// print (all preformatted of course)
305const char *GetChatText() {
306
307 if (!Socket_connected)
308 return nullptr;
309
310 // ChatGetString will do the formatting
311 return ChatGetString();
312}
313
314// Send a string to be sent as chat, or scanned for messages (/msg <user>
315// string)

Callers 5

MainMultiplayerMenuFunction · 0.85
JoinNewLobbyFunction · 0.85
FindPilotFunction · 0.85
GetPilotStatsFunction · 0.85

Calls 1

ChatGetStringFunction · 0.85

Tested by

no test coverage detected