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

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

#include <filelistmsg.h>

Inheritance diagram for FileListMsg:
Collaboration diagram for FileListMsg:

Public Member Functions

 ~FileListMsg () override=default
 Destroy the object.
 FileListMsg (std::list< String > *pFiles)
 Construct a message that points at the names.
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 names.
int Type () override
 Report this message's registered identity.
const char * GetName () const override
 Report this message's class name.
std::list< String > * GetFiles () 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::RequestFiles().

The RTTI includes the class name and records Message as the base. The vtable is at 0x003d4d58. The members Clone(), Type(), and GetName() are inline.

Constructor & Destructor Documentation

◆ ~FileListMsg()

FileListMsg::~FileListMsg ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x0039b2f8
Ghidra address:
PAL: 0x00409f40

◆ FileListMsg()

FileListMsg::FileListMsg ( std::list< String > * pFiles)
inlineexplicit

Construct a message that points at the names.

Inline.

Parameters
pFilesThe names of the files. The caller retains them.

Member Function Documentation

◆ operator new()

void * FileListMsg::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 FileListMsg::operator delete ( void * pBlock)
inline

Release a message.

Parameters
pBlockThe block.

◆ Clone()

Message * FileListMsg::Clone ( )
inlineoverridevirtual

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

Returns
The copy.
Ghidra address:
NTSC-U/C: 0x0039b3a0
Ghidra address:
PAL: 0x00409fe8

Implements Message.

◆ Type()

int FileListMsg::Type ( )
inlineoverridevirtual

Report this message's registered identity.

Returns
g_nFileListMsgType.
Ghidra address:
NTSC-U/C: 0x0039b3f0
Ghidra address:
PAL: 0x0040a038

Implements Message.

◆ GetName()

const char * FileListMsg::GetName ( ) const
inlineoverridevirtual

Report this message's class name.

Returns
The literal FileListMsg.
Ghidra address:
NTSC-U/C: 0x0039b400
Ghidra address:
PAL: 0x0040a048

Implements Message.

◆ GetFiles()

std::list< String > * FileListMsg::GetFiles ( ) const
inline
Returns
The names of the files.

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