resonance 1.0.1
Loading...
Searching...
No Matches
InputCheatDetector::CheatSequence Struct Reference

One cheat, as InputCheatDetector::RegisterCheats() at 0x001dabc8 builds it. More...

#include <inputcheatdetector.h>

Collaboration diagram for InputCheatDetector::CheatSequence:

Public Attributes

HxStr mName
std::vector< int > mButtons

Detailed Description

One cheat, as InputCheatDetector::RegisterCheats() at 0x001dabc8 builds it.

The record is 0x14 bytes, the stride the detector's slot 2 walks the table by. Slot 2 compares the pressed buttons against mButtons and, on a match, passes mName to script event 0xce. CheatSequence is a placeholder for the name.

The implicit default constructor at 0x001de858 and copy constructor at 0x001de880 are emitted out of line. The translation unit's static initialiser and destructor at 0x001de3e8, which constructs and destroys the two cheat tables and the four input histories, is compiler-generated as well.

Member Data Documentation

◆ mName

HxStr InputCheatDetector::CheatSequence::mName

The script name the match reports.

◆ mButtons

std::vector<int> InputCheatDetector::CheatSequence::mButtons

The button sequence that triggers the cheat.


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