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

An action that runs its node as a script command. More...

#include <datafuncaction.h>

Inheritance diagram for DataFuncAction:
Collaboration diagram for DataFuncAction:

Public Member Functions

 DataFuncAction (DataArray *pAction)
 Keep a reference on the node.
 ~DataFuncAction () override
 Release the reference on the node.
void Exec () override
 Run the command through ScriptFunction::Dispatch().
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

An action that runs its node as a script command.

The RTTI records the class as deriving from TriggerAction. The object is 0x10 bytes. TriggerAction::New() builds one for every node whose name is not a kind of action it knows.

Constructor & Destructor Documentation

◆ DataFuncAction()

DataFuncAction::DataFuncAction ( DataArray * pAction)
explicit

Keep a reference on the node.

Parameters
pActionThe node, the command.
Ghidra address:
NTSC-U/C: 0x00200700
Ghidra address:
PAL: 0x002094a0

◆ ~DataFuncAction()

DataFuncAction::~DataFuncAction ( )
inlineoverride

Release the reference on the node.

Ghidra address:
NTSC-U/C: 0x003747c8
Ghidra address:
PAL: 0x003e2ef8

Member Function Documentation

◆ Exec()

void DataFuncAction::Exec ( )
overridevirtual

Run the command through ScriptFunction::Dispatch().

Ghidra address:
NTSC-U/C: 0x00202498
Ghidra address:
PAL: 0x0020b238

Implements TriggerAction.


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