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

The anim condition, which holds once when an animatable passes a frame. More...

#include <animcondition.h>

Inheritance diagram for AnimCondition:
Collaboration diagram for AnimCondition:

Public Member Functions

 ~AnimCondition () override=default
 Destroy the object.
 AnimCondition (DataArray *pCondition)
 Read the condition.
bool Test () override
 Test the condition.
Public Member Functions inherited from TriggerCondition
virtual ~TriggerCondition ()
 Release the condition.
int GetNegate () const
void SetNegate (int nNegate)
 Set whether the trigger needs the condition to be false.

Additional Inherited Members

Static Public Member Functions inherited from TriggerCondition
static TriggerCondition * New (DataArray *pCondition)
 Build the condition a node describes.

Detailed Description

The anim condition, which holds once when an animatable passes a frame.

The RTTI records the class as deriving from TriggerCondition. The object is 0x14 bytes. Node 1 names the animatable and node 2 is the frame. The condition holds when the filtered frame of the animatable has reached the frame since the last test and was short of it before.

Constructor & Destructor Documentation

◆ ~AnimCondition()

AnimCondition::~AnimCondition ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x00375c98
Ghidra address:
PAL: 0x003e43c8

◆ AnimCondition()

AnimCondition::AnimCondition ( DataArray * pCondition)
explicit

Read the condition.

The frame of the last test starts indeterminate.

Parameters
pConditionThe node.
Ghidra address:
NTSC-U/C: 0x00203bd8
Ghidra address:
PAL: 0x0020c990

Member Function Documentation

◆ Test()

bool AnimCondition::Test ( )
inlineoverridevirtual

Test the condition.

Returns
Whether the condition holds.
Ghidra address:
NTSC-U/C: 0x00375d18
Ghidra address:
PAL: 0x003e4448

Implements TriggerCondition.


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