| 333 | } |
| 334 | |
| 335 | void NetworkClient::sendGameCommand(CompanyId company, const OpenLoco::GameCommands::registers& regs) |
| 336 | { |
| 337 | if (_serverConnection != nullptr && _status == NetworkClientStatus::connected) |
| 338 | { |
| 339 | GameCommandPacket packet; |
| 340 | packet.company = company; |
| 341 | packet.regs = regs; |
| 342 | _serverConnection->sendPacket(packet); |
| 343 | } |
| 344 | } |
| 345 | |
| 346 | void NetworkClient::updateLocalTick() |
| 347 | { |
nothing calls this directly
no test coverage detected