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

#include <OperationMessages.h>

Public Member Functions

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

Public Attributes

bool mSuccess
 Was the command successfully executed=. More...
 
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...
 
boost::optional< glm::vec3 > mTargetPosition
 The target position where the command should be take place. More...
 

Constructor & Destructor Documentation

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

Member Data Documentation

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

The entity id of the command caller.

uint32 em5::multiplayer::CommandExecutionResult::mCommandId

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

bool em5::multiplayer::CommandExecutionResult::mSuccess

Was the command successfully executed=.

uint64 em5::multiplayer::CommandExecutionResult::mTargetId

The entity id of the command target.

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

The target position where the command should be take place.


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