| 319 | } |
| 320 | |
| 321 | void NetworkServer::queueGameCommand(CompanyId company, const OpenLoco::GameCommands::registers& regs) |
| 322 | { |
| 323 | GameCommandPacket newPacket; |
| 324 | newPacket.index = ++_gameCommandIndex; |
| 325 | newPacket.tick = 0; |
| 326 | newPacket.company = company; |
| 327 | newPacket.regs = regs; |
| 328 | _gameCommands.push(newPacket); |
| 329 | } |
| 330 | |
| 331 | void NetworkServer::runGameCommands() |
| 332 | { |
no test coverage detected