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