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

#include <OperationMessages.h>

Public Member Functions

 UnitSpawnedData ()
 
 UnitSpawnedData (uint64 spawnedUnitEntityId, uint32 playerIndex, uint32 orderInfoId, uint64 containerEntityId, uint64 spawnpointEntityId, uint64 userData)
 

Public Attributes

uint64 mSpawnedUnitEntityId
 The ID of the spawned unit. More...
 
uint32 mPlayerIndex
 The player index, which caused the spawing. More...
 
uint32 mOrderInfoId
 The ID of the order info, which describes the unit. More...
 
uint64 mContainerEntityId
 The entity ID to which the entity is linked to on spawn (is valid for unit persons) More...
 
uint64 mSpawnpointEntityId
 The entity ID of the spawn point. More...
 
uint64 mUserData
 Optional user data to send in "em5::Messages::EM5_SPAWN_UNIT", "qsf::getUninitialized<uint64>()" if there's no user data. More...
 

Constructor & Destructor Documentation

em5::multiplayer::UnitSpawnedData::UnitSpawnedData ( )
inline
em5::multiplayer::UnitSpawnedData::UnitSpawnedData ( uint64  spawnedUnitEntityId,
uint32  playerIndex,
uint32  orderInfoId,
uint64  containerEntityId,
uint64  spawnpointEntityId,
uint64  userData 
)
inline

Member Data Documentation

uint64 em5::multiplayer::UnitSpawnedData::mContainerEntityId

The entity ID to which the entity is linked to on spawn (is valid for unit persons)

uint32 em5::multiplayer::UnitSpawnedData::mOrderInfoId

The ID of the order info, which describes the unit.

uint32 em5::multiplayer::UnitSpawnedData::mPlayerIndex

The player index, which caused the spawing.

uint64 em5::multiplayer::UnitSpawnedData::mSpawnedUnitEntityId

The ID of the spawned unit.

uint64 em5::multiplayer::UnitSpawnedData::mSpawnpointEntityId

The entity ID of the spawn point.

uint64 em5::multiplayer::UnitSpawnedData::mUserData

Optional user data to send in "em5::Messages::EM5_SPAWN_UNIT", "qsf::getUninitialized<uint64>()" if there's no user data.


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