18 #ifndef INCLUDED_ICMPCOMMANDQUEUE
19 #define INCLUDED_ICMPCOMMANDQUEUE
54 virtual void FlushTurn(
const std::vector<SimulationCommand>& commands) = 0;
59 #endif // INCLUDED_ICMPCOMMANDQUEUE
virtual void FlushTurn(const std::vector< SimulationCommand > &commands)=0
Calls the ProcessCommand(player, cmd) global script function for each command in the local queue and ...
A trivial wrapper around a jsval.
virtual void PushLocalCommand(player_id_t player, CScriptVal cmd)=0
Pushes a new command onto the local queue.
int32_t player_id_t
valid player IDs are non-negative (see ICmpOwnership)
virtual void PostNetworkCommand(CScriptVal cmd)=0
Send a command associated with the current player to the networking system.
Command queue, for sending orders to entities.
#define DECLARE_INTERFACE_TYPE(iname)