Emergency 20 Dokumentation  4.2.0
em5::multiplayer::CommandExecutionData Struct Reference

#include <OperationMessages.h>

Public Member Functions

 CommandExecutionData ()
 
 CommandExecutionData (const uint32 commandId, const uint64 targetId, const bool allowSelfExecution, const boost::optional< glm::vec3 > &targetPosition)
 

Public Attributes

uint32 mCommandId
 The player index which initiated the unit ordering on a client. More...
 
std::vector< uint64mCallerIds
 The entity id of the command caller. More...
 
uint64 mTargetId
 The entity id of the command target. More...
 
bool mAllowSelfExecution
 Indicates if the command is executable on the caller itself. More...
 
boost::optional< glm::vec3 > mTargetPosition
 The target position where the command should be take place. More...
 

Constructor & Destructor Documentation

em5::multiplayer::CommandExecutionData::CommandExecutionData ( )
inline
em5::multiplayer::CommandExecutionData::CommandExecutionData ( const uint32  commandId,
const uint64  targetId,
const bool  allowSelfExecution,
const boost::optional< glm::vec3 > &  targetPosition 
)
inline

Member Data Documentation

bool em5::multiplayer::CommandExecutionData::mAllowSelfExecution

Indicates if the command is executable on the caller itself.

std::vector<uint64> em5::multiplayer::CommandExecutionData::mCallerIds

The entity id of the command caller.

uint32 em5::multiplayer::CommandExecutionData::mCommandId

The player index which initiated the unit ordering on a client.

uint64 em5::multiplayer::CommandExecutionData::mTargetId

The entity id of the command target.

boost::optional<glm::vec3> em5::multiplayer::CommandExecutionData::mTargetPosition

The target position where the command should be take place.


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