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

Message that reports that the connection to the online lobby was lost. More...

#include <lobbyconnectionlostmsg.h>

Inheritance diagram for LobbyConnectionLostMsg:
Collaboration diagram for LobbyConnectionLostMsg:

Public Member Functions

 ~LobbyConnectionLostMsg () override=default
 Destroy the object.
void * operator new (size_t nSize)
 Allocate a message, billed to the class name.
void operator delete (void *pBlock)
 Release a message.
 LobbyConnectionLostMsg (int nError)
 Construct a message.
Message * Clone () override
 Produce a heap copy of this message.
int Type () override
 Report this message's registered identity.
const char * GetName () const override
 Report this message's class name.
int GetError () 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.

Static Public Attributes

static constexpr int kInternetDown = -91
 The error code of a connection to the internet that went down.

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

Message that reports that the connection to the online lobby was lost.

The RTTI includes the class name and records Message as the base. The object is 8 bytes and its vtable is at 0x003d4e30. The payload is the error code of the network library. The destructor at 0x0039afb8 is compiler-generated and has no declaration here.

Constructor & Destructor Documentation

◆ ~LobbyConnectionLostMsg()

LobbyConnectionLostMsg::~LobbyConnectionLostMsg ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x0039afb8
Ghidra address:
PAL: 0x00409c00

◆ LobbyConnectionLostMsg()

LobbyConnectionLostMsg::LobbyConnectionLostMsg ( int nError)
inlineexplicit

Construct a message.

Inline.

Parameters
nErrorThe error code of the network library.

Member Function Documentation

◆ operator new()

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

Release a message.

Parameters
pBlockThe block.

◆ Clone()

Message * LobbyConnectionLostMsg::Clone ( )
overridevirtual

Produce a heap copy of this message.

Returns
The copy.
Ghidra address:
NTSC-U/C: 0x0039b060
Ghidra address:
PAL: 0x00409ca8

Implements Message.

◆ Type()

int LobbyConnectionLostMsg::Type ( )
overridevirtual

Report this message's registered identity.

Returns
g_nLobbyConnectionLostMsgType.
Ghidra address:
NTSC-U/C: 0x0039b0b0
Ghidra address:
PAL: 0x00409cf8

Implements Message.

◆ GetName()

const char * LobbyConnectionLostMsg::GetName ( ) const
overridevirtual

Report this message's class name.

Returns
The literal LobbyConnectionLostMsg.
Ghidra address:
NTSC-U/C: 0x0039b0c0
Ghidra address:
PAL: 0x00409d08

Implements Message.

◆ GetError()

int LobbyConnectionLostMsg::GetError ( ) const
inline
Returns
The error code of the network library.

Member Data Documentation

◆ kInternetDown

int LobbyConnectionLostMsg::kInternetDown = -91
staticconstexpr

The error code of a connection to the internet that went down.


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