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

The random condition, which holds when the random value of the last time event is in a range. More...

#include <randomcondition.h>

Inheritance diagram for RandomCondition:
Collaboration diagram for RandomCondition:

Public Member Functions

 ~RandomCondition () override=default
 Destroy the object.
 RandomCondition (DataArray *pCondition)
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 random condition, which holds when the random value of the last time event is in a range.

The RTTI records the class as deriving from TriggerCondition. The object is 0x10 bytes. Nodes 1 and 2 are the low end, included, and the high end, excluded.

Constructor & Destructor Documentation

◆ ~RandomCondition()

RandomCondition::~RandomCondition ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x00375470
Ghidra address:
PAL: 0x003e3ba0

◆ RandomCondition()

RandomCondition::RandomCondition ( DataArray * pCondition)
inlineexplicit

Member Function Documentation

◆ Test()

bool RandomCondition::Test ( )
inlineoverridevirtual

Test the condition.

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

Implements TriggerCondition.


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