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

The leader condition, which holds when the current player leads. More...

#include <leadercondition.h>

Inheritance diagram for LeaderCondition:
Collaboration diagram for LeaderCondition:

Public Member Functions

 ~LeaderCondition () override=default
 Destroy the object.
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 leader condition, which holds when the current player leads.

The RTTI records the class as deriving from TriggerCondition. The object is 8 bytes.

Constructor & Destructor Documentation

◆ ~LeaderCondition()

LeaderCondition::~LeaderCondition ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x003764b0
Ghidra address:
PAL: 0x003e4be0

Member Function Documentation

◆ Test()

bool LeaderCondition::Test ( )
inlineoverridevirtual

Test the condition.

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

Implements TriggerCondition.


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