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

The instrument condition, which holds when the track of the current player is of an instrument. More...

#include <instrumentcondition.h>

Inheritance diagram for InstrumentCondition:
Collaboration diagram for InstrumentCondition:

Public Member Functions

 ~InstrumentCondition () override=default
 Destroy the object.
 InstrumentCondition (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 instrument condition, which holds when the track of the current player is of an instrument.

The RTTI records the class as deriving from TriggerCondition. The object is 0xc bytes. Node 1 is the instrument.

Constructor & Destructor Documentation

◆ ~InstrumentCondition()

InstrumentCondition::~InstrumentCondition ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x00375f58
Ghidra address:
PAL: 0x003e4688

◆ InstrumentCondition()

InstrumentCondition::InstrumentCondition ( DataArray * pCondition)
inlineexplicit

Member Function Documentation

◆ Test()

bool InstrumentCondition::Test ( )
inlineoverridevirtual

Test the condition.

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

Implements TriggerCondition.


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