|
| enum | MainState { cState_None = 0
, cState_Failed
, cState_Success
, cState_Wait
} |
| | Represents the execution state of a main operation, and whether it was skipped. More...
|
| enum | Result { cResult_Wait = 0
, cResult_Success
, cResult_Failed
} |
| | Defines signals to pass to ActorMgr when performing create and delete operations on the actor. More...
|
| enum | Flag { cFlag_NoEventFreeze = 1 << 1
, cFlag_NoNormalEventFreeze = 1 << 2
} |
| | Properties which control execution policy during events. More...
|
| typedef sead::OffsetList< ActorBase > | List |
| const Location & | getLocation () const |
| u32 | getCourseNo () const |
| sead::Vector3f & | getPos () |
| const sead::Vector3f & | getPos () const |
| sead::Vector3f & | getScale () |
| const sead::Vector3f & | getScale () const |
| Angle3 & | getAngle () |
| const Angle3 & | getAngle () const |
| bool | isActive () const |
| | Whether this actor has been successfully created and is now active.
|
| void | deleteRequest () |
| | Schedule this actor for deletion on the next frame.
|
| bool | isRequestedDelete () const |
| | Whether this actor has been scheduled for deletion on the next frame.
|
| UniqueID | getUniqueID () const |
| | The unique identifier handle for this actor.
|
| s32 | getProfileID () const |
| | The specific profile ID which this actor was instantiated from.
|
| Profile * | getProfile () const |
| | The specific profile which this actor was instantiated from.
|
| bool | isCreatedImmediately () const |
| | Whether the actor was created with ActorMgr::createImmediately(), rather than deferred with ActorMgr::createLater().
|
| bool | isMapActor () const |
| | Whether the actor was spawned from the level with ActorCreateMgr, rather than dynamically spawned by another actor.
|
| u32 | getParam0 () const |
| | Level designer configuration. Also known as "nybbles" or "spritedata".
|
| u32 | getParam1 () const |
| | Level designer configuration. Also known as "nybbles" or "spritedata".
|
| ActorParameterEx1 | getParamEx () const |
| | Extra level designer configuration. Also known as "nybbles" or "spritedata".
|
| const List & | getChildList () const |
| | sead::OffsetList used for holding child actors spawned by this actor. Managed automatically if param.parent_id is set when spawning.
|
| sead::Heap * | getActorHeap () const |
| | The personal heap for this actor.
|
| ActorBase * | getParent () const |
| template<typename T> |
| T * | getParent () const |
| | The parent actor pointer if this actor is a child, nullptr otherwise.
|
| void | removeChild (ActorBase *child) |
| | Disconnects a child from this actor's family tree.
|
| void | getCoinSE (s32 player_no, const sead::Vector3f &position) |
| | Plays the coin-get sound.
|
| | ActorBase (const ActorCreateParameter ¶m) |
| | Constructs an actor from configuration data.
|
| virtual | ~ActorBase () |
| | Destroys the actor and orphans all of its children.
|
| virtual bool | preCreate () |
| | Callback invoked before the create operation.
|
| virtual Result | create () |
| | Main initialization/setup callback for the actor.
|
| virtual void | postCreate (MainState state) |
| | Callback invoked unconditionally after the create phase completes. It executes even if preCreate() bypassed the main create() operation.
|
| virtual bool | execute () |
| | Main execution/logic callback for the actor. Called every frame (the game runs at exactly 60 FPS).
|
| virtual void | postExecute (MainState state) |
| | Callback invoked unconditionally after the execute phase completes. It executes even if preExecute() bypassed the main execute() operation.
|
| virtual void | lastExecute () |
| | Callback which is called after all other actors have finished executing for this frame.
|
| virtual bool | draw () |
| | Main rendering callback for the actor. Called every frame (the game runs at exactly 60 FPS).
|
| virtual void | postDraw (MainState state) |
| | Callback invoked unconditionally after the draw phase completes. It executes even if preDraw() bypassed the main draw() operation.
|
| virtual bool | preDestroy () |
| | Callback invoked before the delete operation.
|
| virtual Result | destroy () |
| | Main deletion callback for the actor.
|
| virtual void | postDestroy (MainState state) |
| | Unconditionally called callback for after the delete operation.
|