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

Method shouldProcessTick

src/OpenLoco/src/Network/NetworkClient.cpp:360–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360bool NetworkClient::shouldProcessTick(uint32_t tick) const
361{
362 if (_status != NetworkClientStatus::connected)
363 {
364 return true;
365 }
366
367 return _localTick >= tick;
368}
369
370void NetworkClient::runGameCommandsForTick(uint32_t tick)
371{

Callers 1

shouldProcessTickFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected