Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
SimulationCommand Struct Reference

Simulation command, typically received over the network in multiplayer games. More...

#include <SimulationCommand.h>

Public Member Functions

 SimulationCommand (player_id_t player, JSContext *cx, JS::HandleValue val)
 
 SimulationCommand (SimulationCommand &&cmd)
 
SimulationCommandoperator= (SimulationCommand &&other)
 

Public Attributes

player_id_t player
 
JS::PersistentRootedValue data
 

Detailed Description

Simulation command, typically received over the network in multiplayer games.

Constructor & Destructor Documentation

◆ SimulationCommand() [1/2]

SimulationCommand::SimulationCommand ( player_id_t  player,
JSContext *  cx,
JS::HandleValue  val 
)
inline

◆ SimulationCommand() [2/2]

SimulationCommand::SimulationCommand ( SimulationCommand &&  cmd)
inline

Member Function Documentation

◆ operator=()

SimulationCommand & SimulationCommand::operator= ( SimulationCommand &&  other)
inline

Member Data Documentation

◆ data

JS::PersistentRootedValue SimulationCommand::data

◆ player

player_id_t SimulationCommand::player

The documentation for this struct was generated from the following file: