18 #ifndef INCLUDED_SIMULATIONCOMMAND 19 #define INCLUDED_SIMULATIONCOMMAND 30 : player(player),
data(cx, val)
43 this->
player = other.player;
44 this->
data = other.data;
49 JS::PersistentRootedValue
data;
52 #endif // INCLUDED_SIMULATIONCOMMAND
SimulationCommand & operator=(SimulationCommand &&other)
Definition: SimulationCommand.h:41
int32_t player_id_t
valid player IDs are non-negative (see ICmpOwnership)
Definition: Player.h:24
player_id_t player
Definition: SimulationCommand.h:48
Simulation command, typically received over the network in multiplayer games.
Definition: SimulationCommand.h:27
JS::PersistentRootedValue data
Definition: SimulationCommand.h:49
SimulationCommand(SimulationCommand &&cmd)
Definition: SimulationCommand.h:34
SimulationCommand(player_id_t player, JSContext *cx, JS::HandleValue val)
Definition: SimulationCommand.h:29