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

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

#include <distancecondition.h>

Inheritance diagram for DistanceCondition:
Collaboration diagram for DistanceCondition:

Public Member Functions

 ~DistanceCondition () override=default
 Destroy the object.
 DistanceCondition (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 distance condition, which holds when the distance 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 ends, both included.

Constructor & Destructor Documentation

◆ ~DistanceCondition()

DistanceCondition::~DistanceCondition ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x00375be0
Ghidra address:
PAL: 0x003e4310

◆ DistanceCondition()

DistanceCondition::DistanceCondition ( DataArray * pCondition)
inlineexplicit

Member Function Documentation

◆ Test()

bool DistanceCondition::Test ( )
inlineoverridevirtual

Test the condition.

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

Implements TriggerCondition.


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