#include <IComponent.h>
Inherited by ICmpAIInterface, ICmpAIManager, ICmpAttack, ICmpCinemaManager, ICmpCommandQueue, ICmpDecay, ICmpExample, ICmpFogging, ICmpFootprint, ICmpGarrisonHolder, ICmpGuiInterface, ICmpIdentity, ICmpMinimap, ICmpMirage, ICmpMotion, ICmpObstruction, ICmpObstructionManager, ICmpOverlayRenderer, ICmpOwnership, ICmpParticleManager, ICmpPathfinder, ICmpPlayer, ICmpPlayerManager, ICmpPosition, ICmpProjectileManager, ICmpRallyPoint, ICmpRallyPointRenderer, ICmpRangeManager, ICmpRangeOverlayRenderer, ICmpSelectable, ICmpSettlement, ICmpSound, ICmpSoundManager, ICmpTemplateManager, ICmpTerrain, ICmpTerritoryDecayManager, ICmpTerritoryInfluence, ICmpTerritoryManager, ICmpTest1, ICmpTest2, ICmpTurretHolder, ICmpUnitMotion, ICmpUnitMotionManager, ICmpUnitRenderer, ICmpUnknownScript, ICmpValueModificationManager, ICmpVisibility, ICmpVision, ICmpVisual, and ICmpWaterManager.
|
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 () |
|
◆ AllocFunc
◆ DeallocFunc
◆ ~IComponent()
IComponent::~IComponent |
( |
| ) |
|
|
virtual |
◆ Deinit()
virtual void IComponent::Deinit |
( |
| ) |
|
|
pure virtual |
Implemented in CCmpExample, CCmpAIManager, CCmpCinemaManager, CCmpCommandQueue, CCmpDecay, CCmpFootprint, CCmpMinimap, CCmpMotionBall, CCmpObstruction, CCmpObstructionManager, CCmpOverlayRenderer, CCmpOwnership, CCmpParticleManager, CCmpPathfinder, CCmpPosition, CCmpProjectileManager, CCmpRallyPointRenderer, CCmpRangeManager, CCmpRangeOverlayRenderer, CCmpSelectable, CCmpSoundManager, CCmpTemplateManager, CCmpTerrain, CCmpTerritoryInfluence, CCmpTerritoryManager, CCmpTest1A, CCmpTest1B, CCmpTest2A, CCmpTest1Scripted, CCmpTest2Scripted, CCmpUnitMotion, CCmpUnitMotionManager, CCmpUnitRenderer, CCmpVision, CCmpVisualActor, CCmpWaterManager, CCmpAIInterfaceScripted, CCmpAttackScripted, CCmpFoggingScripted, CCmpGarrisonHolderScripted, CCmpGuiInterfaceScripted, CCmpIdentityScripted, CCmpMirageScripted, CCmpMotionScripted, CCmpPlayerScripted, CCmpPlayerManagerScripted, CCmpRallyPointScripted, CCmpSettlementScripted, CCmpSoundScripted, CCmpTerritoryDecayManagerScripted, CCmpTurretHolderScripted, CCmpUnitMotionScripted, CCmpUnknownScript, CCmpValueModificationManagerScripted, and CCmpVisibilityScripted.
◆ Deserialize()
Implemented in CCmpExample, CCmpAIManager, CCmpCommandQueue, CCmpDecay, CCmpFootprint, CCmpMinimap, CCmpMotionBall, CCmpObstruction, CCmpObstructionManager, CCmpOverlayRenderer, CCmpOwnership, CCmpParticleManager, CCmpPathfinder, CCmpPosition, CCmpProjectileManager, CCmpRallyPointRenderer, CCmpRangeManager, CCmpRangeOverlayRenderer, CCmpSelectable, CCmpSoundManager, CCmpTemplateManager, CCmpTerrain, CCmpTerritoryInfluence, CCmpTerritoryManager, CCmpTest1A, CCmpTest1B, CCmpTest2A, CCmpTest1Scripted, CCmpTest2Scripted, CCmpUnitMotion, CCmpUnitMotionManager, CCmpUnitRenderer, CCmpVision, CCmpVisualActor, CCmpWaterManager, CCmpAIInterfaceScripted, CCmpAttackScripted, CCmpFoggingScripted, CCmpGarrisonHolderScripted, CCmpGuiInterfaceScripted, CCmpIdentityScripted, CCmpMirageScripted, CCmpMotionScripted, CCmpPlayerScripted, CCmpPlayerManagerScripted, CCmpRallyPointScripted, CCmpSettlementScripted, CCmpSoundScripted, CCmpTerritoryDecayManagerScripted, CCmpTurretHolderScripted, CCmpUnitMotionScripted, CCmpUnknownScript, CCmpValueModificationManagerScripted, CCmpVisibilityScripted, and CCmpCinemaManager.
◆ GetComponentTypeId()
virtual int IComponent::GetComponentTypeId |
( |
| ) |
const |
|
pure virtual |
Implemented in CCmpAIManager, CCmpCinemaManager, CCmpCommandQueue, CCmpDecay, CCmpFootprint, CCmpMinimap, CCmpMotionBall, CCmpObstruction, CCmpObstructionManager, CCmpOverlayRenderer, CCmpOwnership, CCmpParticleManager, CCmpPathfinder, CCmpPosition, CCmpProjectileManager, CCmpRallyPointRenderer, CCmpRangeManager, CCmpRangeOverlayRenderer, CCmpSelectable, CCmpSoundManager, CCmpTemplateManager, CCmpTerrain, CCmpTerritoryInfluence, CCmpTerritoryManager, CCmpTest1A, CCmpTest1B, CCmpTest2A, CCmpTest1Scripted, CCmpTest2Scripted, CCmpUnitMotion, CCmpUnitMotionManager, CCmpUnitRenderer, CCmpVision, CCmpVisualActor, CCmpWaterManager, CCmpAIInterfaceScripted, CCmpAttackScripted, CCmpFoggingScripted, CCmpGarrisonHolderScripted, CCmpGuiInterfaceScripted, CCmpIdentityScripted, CCmpMirageScripted, CCmpMotionScripted, CCmpPlayerScripted, CCmpPlayerManagerScripted, CCmpRallyPointScripted, CCmpSettlementScripted, CCmpSoundScripted, CCmpTerritoryDecayManagerScripted, CCmpTurretHolderScripted, CCmpUnitMotionScripted, CCmpUnknownScript, CCmpValueModificationManagerScripted, CCmpVisibilityScripted, and CCmpExample.
◆ GetEntityHandle()
◆ GetEntityId()
◆ GetJSInstance()
JS::Value IComponent::GetJSInstance |
( |
| ) |
const |
|
virtual |
Reimplemented in CCmpTest1Scripted, CCmpTest2Scripted, CCmpAIInterfaceScripted, CCmpAttackScripted, CCmpFoggingScripted, CCmpGarrisonHolderScripted, CCmpGuiInterfaceScripted, CCmpIdentityScripted, CCmpMirageScripted, CCmpMotionScripted, CCmpPlayerScripted, CCmpPlayerManagerScripted, CCmpRallyPointScripted, CCmpSettlementScripted, CCmpSoundScripted, CCmpTerritoryDecayManagerScripted, CCmpTurretHolderScripted, CCmpUnitMotionScripted, CCmpUnknownScript, CCmpValueModificationManagerScripted, and CCmpVisibilityScripted.
◆ GetSchema()
std::string IComponent::GetSchema |
( |
| ) |
|
|
static |
◆ GetSerializationVersion()
static u8 IComponent::GetSerializationVersion |
( |
| ) |
|
|
inlinestatic |
◆ GetSimContext()
const CSimContext & IComponent::GetSimContext |
( |
| ) |
const |
|
inline |
◆ GetSystemEntity()
◆ HandleMessage()
void IComponent::HandleMessage |
( |
const CMessage & |
msg, |
|
|
bool |
global |
|
) |
| |
|
virtual |
Reimplemented in CCmpExample, CCmpCinemaManager, CCmpDecay, CCmpMinimap, CCmpMotionBall, CCmpObstruction, CCmpObstructionManager, CCmpOverlayRenderer, CCmpOwnership, CCmpParticleManager, CCmpPathfinder, CCmpPosition, CCmpProjectileManager, CCmpRallyPointRenderer, CCmpRangeManager, CCmpRangeOverlayRenderer, CCmpSelectable, CCmpTemplateManager, CCmpTerritoryManager, CCmpTest1A, CCmpTest1B, CCmpTest2A, CCmpTest1Scripted, CCmpTest2Scripted, CCmpUnitMotion, CCmpUnitMotionManager, CCmpUnitRenderer, CCmpVision, CCmpVisualActor, CCmpWaterManager, CCmpAIInterfaceScripted, CCmpAttackScripted, CCmpFoggingScripted, CCmpGarrisonHolderScripted, CCmpGuiInterfaceScripted, CCmpIdentityScripted, CCmpMirageScripted, CCmpMotionScripted, CCmpPlayerScripted, CCmpPlayerManagerScripted, CCmpRallyPointScripted, CCmpSettlementScripted, CCmpSoundScripted, CCmpTerritoryDecayManagerScripted, CCmpTurretHolderScripted, CCmpUnitMotionScripted, CCmpUnknownScript, CCmpValueModificationManagerScripted, and CCmpVisibilityScripted.
◆ Init()
virtual void IComponent::Init |
( |
const CParamNode & |
paramNode | ) |
|
|
pure virtual |
Implemented in CCmpTest1B, CCmpTest2A, CCmpExample, CCmpAIManager, CCmpCinemaManager, CCmpCommandQueue, CCmpDecay, CCmpFootprint, CCmpMinimap, CCmpMotionBall, CCmpObstruction, CCmpObstructionManager, CCmpOverlayRenderer, CCmpOwnership, CCmpParticleManager, CCmpPathfinder, CCmpPosition, CCmpProjectileManager, CCmpRallyPointRenderer, CCmpRangeManager, CCmpRangeOverlayRenderer, CCmpSelectable, CCmpSoundManager, CCmpTemplateManager, CCmpTerrain, CCmpTerritoryInfluence, CCmpTerritoryManager, CCmpTest1A, CCmpTest1Scripted, CCmpTest2Scripted, CCmpUnitMotion, CCmpUnitMotionManager, CCmpUnitRenderer, CCmpVision, CCmpVisualActor, CCmpWaterManager, CCmpAIInterfaceScripted, CCmpAttackScripted, CCmpFoggingScripted, CCmpGarrisonHolderScripted, CCmpGuiInterfaceScripted, CCmpIdentityScripted, CCmpMirageScripted, CCmpMotionScripted, CCmpPlayerScripted, CCmpPlayerManagerScripted, CCmpRallyPointScripted, CCmpSettlementScripted, CCmpSoundScripted, CCmpTerritoryDecayManagerScripted, CCmpTurretHolderScripted, CCmpUnitMotionScripted, CCmpUnknownScript, CCmpValueModificationManagerScripted, and CCmpVisibilityScripted.
◆ NewJSObject()
bool IComponent::NewJSObject |
( |
const ScriptInterface & |
scriptInterface, |
|
|
JS::MutableHandleObject |
out |
|
) |
| const |
|
virtual |
Returns false by default, indicating that a scripted wrapper of this IComponent is not supported.
Derrived classes should return true if they implement such a wrapper.
◆ RegisterComponentType()
◆ RegisterComponentTypeScriptWrapper()
◆ Serialize()
virtual void IComponent::Serialize |
( |
ISerializer & |
serialize | ) |
|
|
pure virtual |
Implemented in CCmpExample, CCmpAIManager, CCmpCommandQueue, CCmpDecay, CCmpFootprint, CCmpMinimap, CCmpMotionBall, CCmpObstruction, CCmpObstructionManager, CCmpOverlayRenderer, CCmpOwnership, CCmpParticleManager, CCmpPathfinder, CCmpPosition, CCmpProjectileManager, CCmpRallyPointRenderer, CCmpRangeManager, CCmpRangeOverlayRenderer, CCmpSelectable, CCmpSoundManager, CCmpTemplateManager, CCmpTerrain, CCmpTerritoryInfluence, CCmpTerritoryManager, CCmpTest1A, CCmpTest1B, CCmpTest2A, CCmpTest1Scripted, CCmpTest2Scripted, CCmpUnitMotion, CCmpUnitMotionManager, CCmpUnitRenderer, CCmpVision, CCmpVisualActor, CCmpWaterManager, CCmpAIInterfaceScripted, CCmpAttackScripted, CCmpFoggingScripted, CCmpGarrisonHolderScripted, CCmpGuiInterfaceScripted, CCmpIdentityScripted, CCmpMirageScripted, CCmpMotionScripted, CCmpPlayerScripted, CCmpPlayerManagerScripted, CCmpRallyPointScripted, CCmpSettlementScripted, CCmpSoundScripted, CCmpTerritoryDecayManagerScripted, CCmpTurretHolderScripted, CCmpUnitMotionScripted, CCmpUnknownScript, CCmpValueModificationManagerScripted, CCmpVisibilityScripted, and CCmpCinemaManager.
◆ SetEntityHandle()
◆ SetSimContext()
void IComponent::SetSimContext |
( |
const CSimContext & |
context | ) |
|
|
inline |
◆ m_EntityHandle
◆ m_SimContext
The documentation for this class was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/simulation2/system/IComponent.h
- /home/docker/jenkins/workspace/technical-docs/source/simulation2/system/IComponent.cpp