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

#include <OperationMessages.h>

Public Member Functions

 OrderUnitData ()
 
 OrderUnitData (uint32 playerIndex, uint32 orderInfoId, const glm::vec3 &targetPosition, const OrderInfo::OrderPairList &orderPairList)
 

Public Attributes

uint32 mPlayerIndex
 The player index which initiated the unit ordering on a client. More...
 
uint32 mOrderInfoId
 The order info id of the ordered unit. More...
 
glm::vec3 mTargetPosition
 The target position to which the ordered unit should go first. More...
 
OrderInfo::OrderPairList mOrderPairList
 A list how many personnel the ordered unit should have. More...
 

Constructor & Destructor Documentation

em5::multiplayer::OrderUnitData::OrderUnitData ( )
inline
em5::multiplayer::OrderUnitData::OrderUnitData ( uint32  playerIndex,
uint32  orderInfoId,
const glm::vec3 &  targetPosition,
const OrderInfo::OrderPairList orderPairList 
)
inline

Member Data Documentation

uint32 em5::multiplayer::OrderUnitData::mOrderInfoId

The order info id of the ordered unit.

OrderInfo::OrderPairList em5::multiplayer::OrderUnitData::mOrderPairList

A list how many personnel the ordered unit should have.

uint32 em5::multiplayer::OrderUnitData::mPlayerIndex

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

glm::vec3 em5::multiplayer::OrderUnitData::mTargetPosition

The target position to which the ordered unit should go first.


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