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

Result of NetLobby::DownloadRemix(). More...

#include <remixdownloadmsg.h>

Inheritance diagram for RemixDownloadMsg:
Collaboration diagram for RemixDownloadMsg:

Public Member Functions

 ~RemixDownloadMsg () override=default
 Destroy the object.
 RemixDownloadMsg (int nResult, const char *pszName, const char *pszNote)
 Construct a message.
void * operator new (size_t nSize)
 Allocate a message, billed to the class name.
void operator delete (void *pBlock)
 Release a message.
Message * Clone () override
 Produce a heap copy of this message, which points at the same texts.
int Type () override
 Report this message's registered identity.
const char * GetName () const override
 Report this message's class name.
const char * GetNote () const
int GetResult () const
Public Member Functions inherited from Message
virtual ~Message ()
 Vtable slot 1.
virtual void PrintExtra (PrnStream &stream) const
 Write this message's payload to a diagnostic stream.
virtual void saveGuts (BinStream &stream) const
 Write this message's payload to a stream.
virtual void restoreGuts (BinStream &stream)
 Read this message's payload from a stream.
virtual ~Message ()
virtual void Unused1 ()
 Not called by the control.

Additional Inherited Members

Static Public Member Functions inherited from Message
static Message * NewMessage (int nType)
 Produce a message of the identified class through the factory list.

Detailed Description

Result of NetLobby::DownloadRemix().

The RTTI includes the class name and records Message as the base. The vtable is at 0x003d4da0. The members Clone(), Type(), and GetName() are inline. After a success the downloaded remix is the current remix of TheGameDb.

Constructor & Destructor Documentation

◆ ~RemixDownloadMsg()

RemixDownloadMsg::~RemixDownloadMsg ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x0039b1d0
Ghidra address:
PAL: 0x00409e18

◆ RemixDownloadMsg()

RemixDownloadMsg::RemixDownloadMsg ( int nResult,
const char * pszName,
const char * pszNote )
inline

Construct a message.

Inline.

Parameters
nResultZero on success, otherwise a negative error.
pszNameThe file of the remix, or null after a failure.
pszNoteThe note of the remix, or null after a failure.

Member Function Documentation

◆ operator new()

void * RemixDownloadMsg::operator new ( size_t nSize)
inline

Allocate a message, billed to the class name.

Parameters
nSizeThe object size the compiler supplies.
Returns
The block.

◆ operator delete()

void RemixDownloadMsg::operator delete ( void * pBlock)
inline

Release a message.

Parameters
pBlockThe block.

◆ Clone()

Message * RemixDownloadMsg::Clone ( )
inlineoverridevirtual

Produce a heap copy of this message, which points at the same texts.

Returns
The copy.
Ghidra address:
NTSC-U/C: 0x0039b278
Ghidra address:
PAL: 0x00409ec0

Implements Message.

◆ Type()

int RemixDownloadMsg::Type ( )
inlineoverridevirtual

Report this message's registered identity.

Returns
g_nRemixDownloadMsgType.
Ghidra address:
NTSC-U/C: 0x0039b2d8
Ghidra address:
PAL: 0x00409f20

Implements Message.

◆ GetName()

const char * RemixDownloadMsg::GetName ( ) const
inlineoverridevirtual

Report this message's class name.

Returns
The literal RemixDownloadMsg.
Ghidra address:
NTSC-U/C: 0x0039b2e8
Ghidra address:
PAL: 0x00409f30

Implements Message.

◆ GetNote()

const char * RemixDownloadMsg::GetNote ( ) const
inline
Returns
The note of the remix.

◆ GetResult()

int RemixDownloadMsg::GetResult ( ) const
inline
Returns
Zero on success, otherwise a negative error.

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