wavelength 1.0.0
Loading...
Searching...
No Matches
SoloGameLogic::CheckpointTextCmd Class Reference

Command that shows the stage completion message of the current section. More...

#include <sologamelogic.h>

Inheritance diagram for SoloGameLogic::CheckpointTextCmd:
Collaboration diagram for SoloGameLogic::CheckpointTextCmd:

Public Member Functions

 CheckpointTextCmd (SoloGameLogic *pLogic)
 Construct the command for a logic.
 ~CheckpointTextCmd () override
 Release the command.
void Execute () override
 Show the localised "STAGE_COMPLETED" message with the number of the section.
Public Member Functions inherited from Command
 ~Command () override
 Release the command.
virtual bool IsSerializable ()
 Report whether a recording saves the command.
virtual int GetSerialId ()
 Report the identifier a recording rebuilds the command by.
virtual void Save (BinStream &stream) const
 Write the command to a recording.
virtual void Load (BinStream &stream)
 Read the command Save() writes.
Public Member Functions inherited from Attachment
 Attachment ()
 Construct an object with no reference.
virtual ~Attachment ()
 Release the object.
void AddRef ()
 Take one reference.
void Release ()
 Give back one reference and delete the object once the last one is gone.

Additional Inherited Members

Static Public Member Functions inherited from Attachment
static void ReleaseIfSet (Attachment *pAttachment)
 Give back one reference to an object that may be null.

Detailed Description

Command that shows the stage completion message of the current section.

The RTTI records the class as nested in SoloGameLogic and as deriving from Command.

Constructor & Destructor Documentation

◆ CheckpointTextCmd()

SoloGameLogic::CheckpointTextCmd::CheckpointTextCmd ( SoloGameLogic * pLogic)
inlineexplicit

Construct the command for a logic.

Parameters
pLogicThe logic.

◆ ~CheckpointTextCmd()

SoloGameLogic::CheckpointTextCmd::~CheckpointTextCmd ( )
inlineoverride

Release the command.

Ghidra address:
NTSC-U/C: 0x00340ec8
Ghidra address:
PAL: 0x003ae400

Member Function Documentation

◆ Execute()

void SoloGameLogic::CheckpointTextCmd::Execute ( )
overridevirtual

Show the localised "STAGE_COMPLETED" message with the number of the section.

Ghidra address:
NTSC-U/C: 0x00340f40
Ghidra address:
PAL: 0x003ae478

Implements Command.


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