#include <ICmpTurretHolder.h>
|
using | AllocFunc = IComponent *(*)(const ScriptInterface &scriptInterface, JS::HandleValue ctor) |
|
using | DeallocFunc = void(*)(IComponent *) |
|
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 () |
|
◆ GetTurrets()
virtual std::vector<std::pair<std::string, entity_id_t> > ICmpTurretHolder::GetTurrets |
( |
| ) |
const |
|
pure virtual |
Returns the correlation between garrisoned turrets (their ID) and which turret point they occupy (name).
Implemented in CCmpTurretHolderScripted.
◆ SetInitEntities()
virtual void ICmpTurretHolder::SetInitEntities |
( |
std::vector< std::pair< std::string, entity_id_t >> && |
entities | ) |
|
|
pure virtual |
Correlation between entities (ID) and the turret point they ought to occupy (name).
Implemented in CCmpTurretHolderScripted.
The documentation for this class was generated from the following file: