| 309 | } |
| 310 | |
| 311 | void NetworkServer::sendGameCommand(uint32_t index, uint32_t tick, CompanyId company, const OpenLoco::GameCommands::registers& regs) |
| 312 | { |
| 313 | GameCommandPacket packet; |
| 314 | packet.index = index; |
| 315 | packet.tick = tick; |
| 316 | packet.company = company; |
| 317 | packet.regs = regs; |
| 318 | sendPacketToAll(packet); |
| 319 | } |
| 320 | |
| 321 | void NetworkServer::queueGameCommand(CompanyId company, const OpenLoco::GameCommands::registers& regs) |
| 322 | { |