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

#include <OperationMessages.h>

Classes

struct  CircleParameters
 
struct  IconParameters
 
struct  Parameters
 

Public Types

enum  MessageType { RemoveIcon, AddIcon, AddCircle, RemovePolygon }
 

Public Member Functions

 MinimapIconMessageData ()
 
 MinimapIconMessageData (MessageType messageType, uint64 entityId, std::unique_ptr< Parameters > &&parameters)
 
 MinimapIconMessageData (const MinimapIconMessageData &other)
 

Static Public Member Functions

static MinimapIconMessageData CreateRemoveIconMessageData (uint64 entityId)
 
static MinimapIconMessageData CreateAddIconMessageData (uint64 entityId, int8 iconType, float iconScale)
 
static MinimapIconMessageData CreateAddCirclePolygonMessageData (uint64 entityId, float radius, uint8 points, const qsf::Color4 &color, bool updatePosition)
 
static MinimapIconMessageData CreateRemovePolygonMessageData (uint64 entityId)
 

Public Attributes

MessageType mMessageType
 
uint64 mEntityId
 
std::unique_ptr< ParametersmParameters
 

Member Enumeration Documentation

Enumerator
RemoveIcon 
AddIcon 
AddCircle 
RemovePolygon 

Constructor & Destructor Documentation

em5::multiplayer::MinimapIconMessageData::MinimapIconMessageData ( )
inline
em5::multiplayer::MinimapIconMessageData::MinimapIconMessageData ( MessageType  messageType,
uint64  entityId,
std::unique_ptr< Parameters > &&  parameters 
)
inline
em5::multiplayer::MinimapIconMessageData::MinimapIconMessageData ( const MinimapIconMessageData other)
inline

Member Function Documentation

static MinimapIconMessageData em5::multiplayer::MinimapIconMessageData::CreateAddCirclePolygonMessageData ( uint64  entityId,
float  radius,
uint8  points,
const qsf::Color4 color,
bool  updatePosition 
)
inlinestatic
static MinimapIconMessageData em5::multiplayer::MinimapIconMessageData::CreateAddIconMessageData ( uint64  entityId,
int8  iconType,
float  iconScale 
)
inlinestatic
static MinimapIconMessageData em5::multiplayer::MinimapIconMessageData::CreateRemoveIconMessageData ( uint64  entityId)
inlinestatic
static MinimapIconMessageData em5::multiplayer::MinimapIconMessageData::CreateRemovePolygonMessageData ( uint64  entityId)
inlinestatic

Member Data Documentation

uint64 em5::multiplayer::MinimapIconMessageData::mEntityId
MessageType em5::multiplayer::MinimapIconMessageData::mMessageType
std::unique_ptr<Parameters> em5::multiplayer::MinimapIconMessageData::mParameters

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