MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / ChatAvailable

Function ChatAvailable

src/openrct2/interface/Chat.cpp:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48static int32_t ChatHistoryDrawString(RenderTarget& rt, const char* text, const ScreenCoordsXY& screenCoords, int32_t width);
49
50bool ChatAvailable()
51{
52 return Network::GetMode() != Network::Mode::none && Network::GetStatus() == Network::Status::connected
53 && Network::GetAuthstatus() == Network::Auth::ok;
54}
55
56void ChatOpen()
57{

Callers 3

ChatDrawFunction · 0.85
onMouseUpMethod · 0.85

Calls 3

GetModeFunction · 0.85
GetStatusFunction · 0.85
GetAuthstatusFunction · 0.85

Tested by

no test coverage detected