wavelength 1.0.0
Loading...
Searching...
No Matches
AnimChildAction Class Reference

The add_anim and remove_anim actions, which attach an animatable to another or detach it. More...

#include <animchildaction.h>

Inheritance diagram for AnimChildAction:
Collaboration diagram for AnimChildAction:

Public Member Functions

 ~AnimChildAction () override=default
 Destroy the object.
 AnimChildAction (DataArray *pAction, bool bAdd)
 Read the action.
void Exec () override
 Add the child to the parent, or remove it.
Public Member Functions inherited from TriggerAction
virtual ~TriggerAction ()
 Release the action.
virtual bool Poll ()
 Advance an action that TriggerMgr::AddRunning() received.
void Start ()
 Run the action now, or schedule it when it has a delay.
float GetDelay () const
void SetDelay (float fDelay)
 Set the time on the clock of the action before Exec() runs.
int GetClock () const
void SetClock (int nClock)
 Set the TriggerMgr::Clock the action runs on.

Additional Inherited Members

Static Public Member Functions inherited from TriggerAction
static TriggerAction * New (DataArray *pAction)
 Build the action a node describes.
Static Protected Member Functions inherited from TriggerAction
template<class T>
static T * FindObject (DataArray *pAction, const char *pszName)
 Find a renderer object of a class by name, warning when there is none.

Detailed Description

The add_anim and remove_anim actions, which attach an animatable to another or detach it.

The RTTI records the class as deriving from TriggerAction. The object is 0x18 bytes. Node 1 names the child and node 2 the parent.

Constructor & Destructor Documentation

◆ ~AnimChildAction()

AnimChildAction::~AnimChildAction ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x003751d0
Ghidra address:
PAL: 0x003e3900

◆ AnimChildAction()

AnimChildAction::AnimChildAction ( DataArray * pAction,
bool bAdd )

Read the action.

One warning reports the first of the two names that is missing.

Parameters
pActionThe node.
bAddTrue for add_anim, false for remove_anim.
Ghidra address:
NTSC-U/C: 0x00201f68
Ghidra address:
PAL: 0x0020ad08

Member Function Documentation

◆ Exec()

void AnimChildAction::Exec ( )
overridevirtual

Add the child to the parent, or remove it.

Ghidra address:
NTSC-U/C: 0x00202e08
Ghidra address:
PAL: 0x0020bba8

Implements TriggerAction.


The documentation for this class was generated from the following file: