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

One trigger of a trigger file, the conditions that must hold and the actions that follow. More...

#include <triggerhandler.h>

Public Member Functions

 TriggerHandler (DataArray *pTrigger)
 Build the trigger from its entry.
 ~TriggerHandler ()
 Delete every condition and every action.
void Fire ()
 Test the groups of conditions and start the actions when one group holds.

Detailed Description

One trigger of a trigger file, the conditions that must hold and the actions that follow.

The RTTI includes the name through the list of handlers TriggerEvent keeps. The object is 0x10 bytes. Each conditions entry of the trigger adds one group of conditions. The actions start when every condition of any one group holds, or at once when the trigger has no group.

Constructor & Destructor Documentation

◆ TriggerHandler()

TriggerHandler::TriggerHandler ( DataArray * pTrigger)
explicit

Build the trigger from its entry.

Every conditions node adds a group. The actions node is required.

Parameters
pTriggerThe entry.
Ghidra address:
NTSC-U/C: 0x001ffb00
Ghidra address:
PAL: 0x002088a0

◆ ~TriggerHandler()

TriggerHandler::~TriggerHandler ( )

Delete every condition and every action.

Ghidra address:
NTSC-U/C: 0x001ffc50
Ghidra address:
PAL: 0x002089f0

Member Function Documentation

◆ Fire()

void TriggerHandler::Fire ( )

Test the groups of conditions and start the actions when one group holds.

Ghidra address:
NTSC-U/C: 0x001ffdb0
Ghidra address:
PAL: 0x00208b50

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