|
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 () |
|
◆ CCmpVisibilityScripted()
CCmpVisibilityScripted::CCmpVisibilityScripted |
( |
const ScriptInterface & |
scriptInterface, |
|
|
JS::HandleValue |
instance |
|
) |
| |
|
inline |
◆ Allocate()
◆ ClassInit()
static void CCmpVisibilityScripted::ClassInit |
( |
CComponentManager & |
componentManager | ) |
|
|
inlinestatic |
◆ Deallocate()
static void CCmpVisibilityScripted::Deallocate |
( |
IComponent * |
cmp | ) |
|
|
inlinestatic |
◆ Deinit()
void CCmpVisibilityScripted::Deinit |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Deserialize()
◆ GetAlwaysVisible()
bool CCmpVisibilityScripted::GetAlwaysVisible |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetComponentTypeId()
int CCmpVisibilityScripted::GetComponentTypeId |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetJSInstance()
JS::Value CCmpVisibilityScripted::GetJSInstance |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetRetainInFog()
bool CCmpVisibilityScripted::GetRetainInFog |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetSchema()
static std::string CCmpVisibilityScripted::GetSchema |
( |
| ) |
|
|
inlinestatic |
◆ GetVisibility()
◆ HandleMessage()
void CCmpVisibilityScripted::HandleMessage |
( |
const CMessage & |
msg, |
|
|
bool |
global |
|
) |
| |
|
inlineoverridevirtual |
◆ Init()
void CCmpVisibilityScripted::Init |
( |
const CParamNode & |
paramNode | ) |
|
|
inlineoverridevirtual |
◆ IsActivated()
bool CCmpVisibilityScripted::IsActivated |
( |
| ) |
|
|
inlineoverridevirtual |
This function is a fallback for some entities whose visibility status cannot be cached by the range manager (especially local entities like previews).
Calling the scripts is expensive, so only call it if really needed.
Implements ICmpVisibility.
◆ Serialize()
void CCmpVisibilityScripted::Serialize |
( |
ISerializer & |
serialize | ) |
|
|
inlineoverridevirtual |
◆ m_Script
The documentation for this class was generated from the following file: