1#ifndef LEGOENTITYPRESENTER_H
2#define LEGOENTITYPRESENTER_H
[AI] Presenter responsible for managing the lifecycle, location, and logic for a LegoEntity instance ...
MxResult StartAction(MxStreamController *p_controller, MxDSAction *p_action) override
[AI] Starts a new LegoEntity action using the provided stream controller and definition.
virtual undefined4 SetEntity(LegoEntity *p_entity)
[AI] Sets the managed LegoEntity for this presenter.
void Destroy() override
[AI] Cleans up this presenter, unregisters itself from the VideoManager, and resets its entity.
static const char * HandlerClassName()
[AI] Returns the class handler name string for this presenter type.
MxBool IsA(const char *p_name) const override
[AI] Tests this object or its parents for a class name match.
void SetInternalEntity(LegoEntity *p_entity)
[AI] Directly sets the internal LegoEntity pointer without instantiating or taking ownership.
virtual void Init()
[AI] Initializes internal state for (re-)use, called from constructor and internal resets.
LegoEntity * m_entity
[AI] The entity instance managed by this presenter, typically created based on the current action.
void ParseExtra() override
[AI] Parses extra data (typically serialized commands/string) from the action and applies it to the m...
LegoEntityPresenter()
[AI] Constructs a new LegoEntityPresenter, initializing internal data.
const char * ClassName() const override
[AI] Returns the class name for dynamic type checks.
void SetEntityLocation(const Vector3 &p_location, const Vector3 &p_direction, const Vector3 &p_up)
[AI] Sets the entity's world transformation using location, direction, and up vectors.
LegoEntity * GetInternalEntity()
[AI] Returns the currently managed internal LegoEntity.
void RepeatingTickle() override
[AI] Called periodically in the Repeating state to check for completion and manage progression.
~LegoEntityPresenter() override
[AI] Destructor.
void ReadyTickle() override
[AI] Called when the presenter is in the Ready state, typically responsible for instantiating and ini...
[AI] Represents an entity that can be placed and managed in the LEGO Island world.
[AI] Composite presenter that manages a collection of child presenters, orchestrating their actions a...
[AI] Represents an action deserialized from SI chunks, holding key animation or script parameters suc...
[AI] Controller for streaming and managing multimedia resources and actions during gameplay.
[AI] 3D vector class, providing vector and cross-product operations in 3D space.