resonance 1.0.1
Loading...
Searching...
No Matches
TnlPendingTrigger Class Reference

A trigger AppTunnel holds until its frame. More...

#include <tnlpendingtrigger.h>

Collaboration diagram for TnlPendingTrigger:

Public Member Functions

int Update (float flFrame)
 Fire and delete the trigger once flFrame reaches mFrame.

Public Attributes

TnlTrigger * mTrigger
float mFrame

Detailed Description

A trigger AppTunnel holds until its frame.

The record has no RTTI, and the name is inferred from its one routine. It is 8 bytes, the element of the vector at AppTunnel +0x60. AppTunnel appends one per scheduled trigger and erases it once Update() reports that the trigger has fired.

Member Function Documentation

◆ Update()

int TnlPendingTrigger::Update ( float flFrame)

Fire and delete the trigger once flFrame reaches mFrame.

Parameters
flFrameThe current frame.
Returns
Zero once the trigger has fired and been deleted, non-zero while it still waits.
Ghidra address:
NTSC-U/C: 0x004572c8
Ghidra address:
PAL: 0x004947f8

Member Data Documentation

◆ mTrigger

TnlTrigger* TnlPendingTrigger::mTrigger

The trigger, owned by the record until it fires.

◆ mFrame

float TnlPendingTrigger::mFrame

The frame the trigger fires on.


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