1#ifndef MXCONTROLPRESENTER_H
2#define MXCONTROLPRESENTER_H
58 return "MxControlPresenter";
[AI] Notification parameter for the LegoControlManager, used to propagate information about control e...
[AI] Composite presenter that manages a collection of child presenters, orchestrating their actions a...
MxBool IsA(const char *p_name) const override
[AI] Runtime type checking for presenter class hierarchy, supporting parent/child class checks.
[AI] Presenter for UI controls, supporting toggles, grids, and "map" style controls with multiple int...
MxResult StartAction(MxStreamController *, MxDSAction *) override
[AI] Starts a new UI control action, configuring sub-presenters as required and enabling/disabling th...
void ReadyTickle() override
[AI] Handles transition into the 'ready' tickle state; disables tickling and advances state.
MxBool FUN_10044270(MxS32 p_x, MxS32 p_y, MxPresenter *p_presenter)
[AI] Tests if an input event at position (x, y) targets the supplied presenter's region as defined by...
void Enable(MxBool p_enable) override
[AI] Enables or disables the control; delegates enable to correct sub-presenter based on current stat...
MxBool VTable0x64(undefined4 p_undefined) override
[AI] Virtual stub, returns current enabled flag for the presenter.
void RepeatingTickle() override
[AI] Override of idle/repeating tickle; does nothing by default in this implementation.
const char * ClassName() const override
[AI] Returns the class name string.
MxBool IsA(const char *p_name) const override
[AI] Checks class ancestry for runtime type information by comparing with this class and parent class...
MxResult AddToManager() override
[AI] Registers this presenter with the tickle manager and prepares for input handling.
~MxControlPresenter() override
[AI] Destructor, cleans up internal state memory.
virtual void VTable0x6c(MxS16 p_unk0x4e)
[AI] Selects a state/sub-control by index, or advances the currently selected state if -1 is provided...
MxBool HasTickleStatePassed(TickleState p_tickleState) override
[AI] Checks if a specific tickle state has passed for the currently active sub-presenter,...
MxS16 GetUnknown0x4e()
[AI] Returns the current selected/control state index.
void EndAction() override
[AI] Handles ending of a control's action; may fire notifications and update internal flags.
MxBool FUN_10044480(LegoControlManagerNotificationParam *p_param, MxPresenter *p_presenter)
[AI] Processes a notification param and presenter, reacting to input or click events; sets notificati...
void ParseExtra() override
[AI] Parses any configuration/customization provided in the extra data for the action,...
virtual void VTable0x68(MxBool p_unk0x50)
[AI] Changes the enabled state flag.
MxControlPresenter()
[AI] Constructs an uninitialized control presenter with default state.
[AI] Represents an action deserialized from SI chunks, holding key animation or script parameters suc...
[AI] Abstract base class for all presenter types in the LEGO Island engine, responsible for managing ...
TickleState
[AI] Represents the state of the presenter's tickle (update) lifecycle.
[AI] Controller for streaming and managing multimedia resources and actions during gameplay.