Emergency 20 Dokumentation  4.2.0
em5::MiniMapIconRegistrationLogic Class Reference

Minimap registration logic. More...

#include <MiniMapIconRegistrationLogic.h>

Public Member Functions

 MiniMapIconRegistrationLogic ()
 
 ~MiniMapIconRegistrationLogic ()
 
void onStartup ()
 Startup the minimap icon registration logic. More...
 
void onShutdown ()
 Shutdown the minimap icon registration logic. More...
 
void setPathVisualizationEntityId (uint64 entityId)
 
void registerPolygon (uint64 entityId, const qsf::Color4 &color)
 
void registerPolygon (uint64 entityId, const qsf::Color4 &color, const std::vector< glm::vec3 > &vertices)
 
void registerCirclePolygon (uint64 entityId, float radius, uint32 points, const qsf::Color4 &color, bool updatePosition=false) const
 
void unregisterPolygon (uint64 entityId)
 
void registerIcon (uint64 entityId, MiniMapIconType minimapIconType, bool onlyForLocalPlayer=false) const
 
void registerEventIcon (uint64 entityId) const
 
void registerHighlightIcon (const glm::vec3 &worldPosition) const
 
void registerHighlightIcon (uint64 entityId) const
 
void registerBombIcon (uint64 entityId) const
 
void registerGangsterIcon (uint64 entityId) const
 
void registerSearchIcon (uint64 entityId) const
 
void unregisterIcon (uint64 entityId, bool onlyForLocalPlayer=false) const
 
void unregisterIcon (const qsf::Entity &entity, bool onlyForLocalPlayer=false) const
 
void registerUnitIcon (qsf::Entity &entity) const
 
void showAllHarborIcons (bool show)
 
void registerPingByWorldPosition (const glm::vec3 &worldPosition, bool cyclesAnimation=true, bool playSound=true)
 

Static Public Member Functions

static uint64 getHeadquarterEntityId ()
 
static MiniMapIconType translateCommandableMiniMapIconType (const qsf::StringHash &commandableMiniMapIconType)
 

Detailed Description

Minimap registration logic.

Constructor & Destructor Documentation

em5::MiniMapIconRegistrationLogic::MiniMapIconRegistrationLogic ( )
em5::MiniMapIconRegistrationLogic::~MiniMapIconRegistrationLogic ( )

Member Function Documentation

static uint64 em5::MiniMapIconRegistrationLogic::getHeadquarterEntityId ( )
static
void em5::MiniMapIconRegistrationLogic::onShutdown ( )

Shutdown the minimap icon registration logic.

void em5::MiniMapIconRegistrationLogic::onStartup ( )

Startup the minimap icon registration logic.

void em5::MiniMapIconRegistrationLogic::registerBombIcon ( uint64  entityId) const
void em5::MiniMapIconRegistrationLogic::registerCirclePolygon ( uint64  entityId,
float  radius,
uint32  points,
const qsf::Color4 color,
bool  updatePosition = false 
) const
void em5::MiniMapIconRegistrationLogic::registerEventIcon ( uint64  entityId) const
void em5::MiniMapIconRegistrationLogic::registerGangsterIcon ( uint64  entityId) const
void em5::MiniMapIconRegistrationLogic::registerHighlightIcon ( const glm::vec3 &  worldPosition) const
void em5::MiniMapIconRegistrationLogic::registerHighlightIcon ( uint64  entityId) const
void em5::MiniMapIconRegistrationLogic::registerIcon ( uint64  entityId,
MiniMapIconType  minimapIconType,
bool  onlyForLocalPlayer = false 
) const
void em5::MiniMapIconRegistrationLogic::registerPingByWorldPosition ( const glm::vec3 &  worldPosition,
bool  cyclesAnimation = true,
bool  playSound = true 
)
void em5::MiniMapIconRegistrationLogic::registerPolygon ( uint64  entityId,
const qsf::Color4 color 
)
void em5::MiniMapIconRegistrationLogic::registerPolygon ( uint64  entityId,
const qsf::Color4 color,
const std::vector< glm::vec3 > &  vertices 
)
void em5::MiniMapIconRegistrationLogic::registerSearchIcon ( uint64  entityId) const
void em5::MiniMapIconRegistrationLogic::registerUnitIcon ( qsf::Entity entity) const
void em5::MiniMapIconRegistrationLogic::setPathVisualizationEntityId ( uint64  entityId)
void em5::MiniMapIconRegistrationLogic::showAllHarborIcons ( bool  show)
static MiniMapIconType em5::MiniMapIconRegistrationLogic::translateCommandableMiniMapIconType ( const qsf::StringHash commandableMiniMapIconType)
static
void em5::MiniMapIconRegistrationLogic::unregisterIcon ( uint64  entityId,
bool  onlyForLocalPlayer = false 
) const
void em5::MiniMapIconRegistrationLogic::unregisterIcon ( const qsf::Entity entity,
bool  onlyForLocalPlayer = false 
) const
void em5::MiniMapIconRegistrationLogic::unregisterPolygon ( uint64  entityId)

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