wavelength 1.0.0
Loading...
Searching...
No Matches
CatchTrackMusic::PlayBarCmd Class Reference

Command that plays the bar the song arrives at and runs again a bar later. More...

#include <catchtrackmusic.h>

Inheritance diagram for CatchTrackMusic::PlayBarCmd:
Collaboration diagram for CatchTrackMusic::PlayBarCmd:

Public Member Functions

 PlayBarCmd (CatchTrackMusic *pMusic)
 Construct the command of a player.
 ~PlayBarCmd () override
 Release the command.
void Execute () override
 Play the bar the song arrives at, and run again a bar later.
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 plays the bar the song arrives at and runs again a bar later.

The RTTI includes the nested name and records Command as the base. Its members are inline.

Constructor & Destructor Documentation

◆ PlayBarCmd()

CatchTrackMusic::PlayBarCmd::PlayBarCmd ( CatchTrackMusic * pMusic)
inlineexplicit

Construct the command of a player.

Parameters
pMusicThe player.

◆ ~PlayBarCmd()

CatchTrackMusic::PlayBarCmd::~PlayBarCmd ( )
inlineoverride

Release the command.

Ghidra address:
NTSC-U/C: 0x0034add8
Ghidra address:
PAL: 0x003b8208

Member Function Documentation

◆ Execute()

void CatchTrackMusic::PlayBarCmd::Execute ( )
inlineoverridevirtual

Play the bar the song arrives at, and run again a bar later.

Ghidra address:
NTSC-U/C: 0x0034ae50
Ghidra address:
PAL: 0x003b8280

Implements Command.


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