| 1575 | } |
| 1576 | |
| 1577 | void NetworkBase::ServerSendGameAction(const GameActions::GameAction* action) |
| 1578 | { |
| 1579 | Packet packet(Command::gameAction); |
| 1580 | |
| 1581 | DataSerialiser stream(true); |
| 1582 | action->Serialise(stream); |
| 1583 | |
| 1584 | packet << getGameState().currentTicks << action->GetType() << stream; |
| 1585 | |
| 1586 | SendPacketToClients(packet); |
| 1587 | } |
| 1588 | |
| 1589 | void NetworkBase::ServerSendTick() |
| 1590 | { |
no test coverage detected