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

The avatar_gem_catch action, which plays a gem catch on the avatar of the current player. More...

#include <avatargemcatchaction.h>

Inheritance diagram for AvatarGemCatchAction:
Collaboration diagram for AvatarGemCatchAction:

Public Member Functions

 ~AvatarGemCatchAction () override=default
 Destroy the object.
 AvatarGemCatchAction (DataArray *pAction)
 Read the action.
void Exec () override
 Pass the lane and the flag to the avatar of TriggerMgr::mPlayer.
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 avatar_gem_catch action, which plays a gem catch on the avatar of the current player.

The RTTI records the class as deriving from TriggerAction. The object is 0x14 bytes. Node 1 is the flag the avatar receives. The optional node 2 is the lane, and without it the lane of the event applies.

Constructor & Destructor Documentation

◆ ~AvatarGemCatchAction()

AvatarGemCatchAction::~AvatarGemCatchAction ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x00374828
Ghidra address:
PAL: 0x003e2f58

◆ AvatarGemCatchAction()

AvatarGemCatchAction::AvatarGemCatchAction ( DataArray * pAction)
explicit

Read the action.

Parameters
pActionThe node.
Ghidra address:
NTSC-U/C: 0x00200818
Ghidra address:
PAL: 0x002095b8

Member Function Documentation

◆ Exec()

void AvatarGemCatchAction::Exec ( )
overridevirtual

Pass the lane and the flag to the avatar of TriggerMgr::mPlayer.

Ghidra address:
NTSC-U/C: 0x002024b8
Ghidra address:
PAL: 0x0020b258

Implements TriggerAction.


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