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

Function update

src/OpenLoco/src/Network/Network.cpp:98–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 void update()
99 {
100 auto serverOrClient = getServerOrClient();
101 if (serverOrClient != nullptr)
102 {
103 serverOrClient->update();
104 if (serverOrClient->isClosed())
105 {
106 close();
107 }
108 }
109 }
110
111 void sendChatMessage(std::string_view message)
112 {

Callers

nothing calls this directly

Calls 4

getServerOrClientFunction · 0.85
isClosedMethod · 0.80
closeFunction · 0.70
updateMethod · 0.45

Tested by

no test coverage detected