|
static void | ClassInit (CComponentManager &componentManager) |
|
static IComponent * | Allocate (const ScriptInterface &scriptInterface, JS::HandleValue instance) |
|
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 () |
|
◆ CCmpTurretHolderScripted()
CCmpTurretHolderScripted::CCmpTurretHolderScripted |
( |
const ScriptInterface & |
scriptInterface, |
|
|
JS::HandleValue |
instance |
|
) |
| |
|
inline |
◆ Allocate()
◆ ClassInit()
static void CCmpTurretHolderScripted::ClassInit |
( |
CComponentManager & |
componentManager | ) |
|
|
inlinestatic |
◆ Deallocate()
static void CCmpTurretHolderScripted::Deallocate |
( |
IComponent * |
cmp | ) |
|
|
inlinestatic |
◆ Deinit()
void CCmpTurretHolderScripted::Deinit |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Deserialize()
◆ GetComponentTypeId()
int CCmpTurretHolderScripted::GetComponentTypeId |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetJSInstance()
JS::Value CCmpTurretHolderScripted::GetJSInstance |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetSchema()
static std::string CCmpTurretHolderScripted::GetSchema |
( |
| ) |
|
|
inlinestatic |
◆ GetTurrets()
std::vector<std::pair<std::string, entity_id_t> > CCmpTurretHolderScripted::GetTurrets |
( |
| ) |
const |
|
inlineoverridevirtual |
- Returns
- - Correlation between garrisoned turrets (their ID) and which turret point they occupy (name).
Implements ICmpTurretHolder.
◆ HandleMessage()
void CCmpTurretHolderScripted::HandleMessage |
( |
const CMessage & |
msg, |
|
|
bool |
global |
|
) |
| |
|
inlineoverridevirtual |
◆ Init()
void CCmpTurretHolderScripted::Init |
( |
const CParamNode & |
paramNode | ) |
|
|
inlineoverridevirtual |
◆ Serialize()
void CCmpTurretHolderScripted::Serialize |
( |
ISerializer & |
serialize | ) |
|
|
inlineoverridevirtual |
◆ SetInitEntities()
void CCmpTurretHolderScripted::SetInitEntities |
( |
std::vector< std::pair< std::string, entity_id_t >> && |
entities | ) |
|
|
inlineoverridevirtual |
Correlation between entities (ID) and the turret point they ought to occupy (name).
Implements ICmpTurretHolder.
◆ m_Script
The documentation for this class was generated from the following file: