|
static void | ClassInit (CComponentManager &componentManager) |
|
static IComponent * | Allocate (const ScriptInterface &, JS::HandleValue) |
|
static void | Deallocate (IComponent *cmp) |
|
static std::string | GetSchema () |
|
static std::string | GetSchema () |
|
static void | RegisterComponentType (CComponentManager &mgr, EInterfaceId iid, EComponentTypeId cid, AllocFunc alloc, DeallocFunc dealloc, const char *name, const std::string &schema) |
|
static void | RegisterComponentTypeScriptWrapper (CComponentManager &mgr, EInterfaceId iid, EComponentTypeId cid, AllocFunc alloc, DeallocFunc dealloc, const char *name, const std::string &schema) |
|
static u8 | GetSerializationVersion () |
|
◆ Allocate()
◆ CheckPing()
bool CCmpMinimap::CheckPing |
( |
double |
currentTime, |
|
|
double |
pingDuration |
|
) |
| |
|
inlineoverridevirtual |
Returns true if the entity is actively pinging based on the current time.
Implements ICmpMinimap.
◆ ClassInit()
◆ Deallocate()
static void CCmpMinimap::Deallocate |
( |
IComponent * |
cmp | ) |
|
|
inlinestatic |
◆ Deinit()
void CCmpMinimap::Deinit |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Deserialize()
◆ GetComponentTypeId()
int CCmpMinimap::GetComponentTypeId |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetIconPath()
std::string CCmpMinimap::GetIconPath |
( |
| ) |
|
|
inlineoverridevirtual |
Returns a path to icon of this entity.
Implements ICmpMinimap.
◆ GetIconSize()
float CCmpMinimap::GetIconSize |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetRenderData()
Gets the data for rendering this entity on the minimap.
If it should not be drawn, returns false; otherwise the arguments are set to the color and world position.
Implements ICmpMinimap.
◆ GetSchema()
static std::string CCmpMinimap::GetSchema |
( |
| ) |
|
|
inlinestatic |
◆ HandleMessage()
void CCmpMinimap::HandleMessage |
( |
const CMessage & |
msg, |
|
|
bool |
global |
|
) |
| |
|
inlineoverridevirtual |
◆ HasIcon()
bool CCmpMinimap::HasIcon |
( |
| ) |
|
|
inlineoverridevirtual |
Returns true if a minimap should have icon of this entity.
Implements ICmpMinimap.
◆ Init()
void CCmpMinimap::Init |
( |
const CParamNode & |
paramNode | ) |
|
|
inlineoverridevirtual |
◆ Serialize()
◆ SerializeCommon()
template<typename S >
void CCmpMinimap::SerializeCommon |
( |
S & |
serialize | ) |
|
|
inline |
◆ UpdateColor()
void CCmpMinimap::UpdateColor |
( |
| ) |
|
|
inlineoverridevirtual |
Updates the entity's minimap color to match the player color.
Implements ICmpMinimap.
◆ m_Active
bool CCmpMinimap::m_Active |
◆ m_B
◆ m_G
◆ m_HasIcon
bool CCmpMinimap::m_HasIcon = false |
◆ m_IconPath
std::string CCmpMinimap::m_IconPath |
◆ m_IconSize
float CCmpMinimap::m_IconSize = 16.0f |
◆ m_IsPinging
bool CCmpMinimap::m_IsPinging |
◆ m_PingEndTime
double CCmpMinimap::m_PingEndTime |
◆ m_R
◆ m_UsePlayerColor
bool CCmpMinimap::m_UsePlayerColor |
◆ m_X
◆ m_Z
The documentation for this class was generated from the following file: