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

Message that reports that the online launchpad of this console ended before the game started. More...

#include <launchpadabortedmsg.h>

Inheritance diagram for LaunchpadAbortedMsg:
Collaboration diagram for LaunchpadAbortedMsg:

Public Types

enum  Reason {
  kReasonInit = -100 , kReasonServer = -89 , kReasonLost = -82 , kReasonHostFailed = -73 ,
  kReasonConnectFailed = -72 , kReasonCreateFailed = -71 , kReasonIncompatibleHost = -70 , kReasonFull = -69 ,
  kReasonInProgress = -68 , kReasonDenied = -67 , kReasonIncompatible = -66 , kReasonDied = -65 ,
  kReasonHost = -64 , kReasonBoot = -63 , kReasonBad = -62 , kReasonNone = 0
}
 Values of mReason. More...

Public Member Functions

 LaunchpadAbortedMsg (int nReason)
 Construct a message with a reason.
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.
int Type () override
 Report this message's registered identity.
const char * GetName () const override
 Report this message's class name.
void PrintExtra (PrnStream &stream) const override
 Write the reason.
int GetReason () const
Public Member Functions inherited from Message
virtual ~Message ()
 Vtable slot 1.
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

Message that reports that the online launchpad of this console ended before the game started.

The RTTI includes the class name and records Message as the base. The vtable is at 0x003d5f70. The payload is the reason, a negative error code of the session or 0 for none. The members Clone(), Type(), and GetName() are inline.

Member Enumeration Documentation

◆ Reason

Values of mReason.

The names of the codes without an error token are inferred.

Enumerator
kReasonInit 

The session library could not start.

kReasonServer 

A request to the game server failed.

kReasonLost 

The connection to the game server was lost.

kReasonHostFailed 

The session could not be hosted.

kReasonConnectFailed 

The connection to the host failed.

kReasonCreateFailed 

The game server refused the game of the host.

kReasonIncompatibleHost 

The net_lpad_incompatible_host error.

kReasonFull 

The net_lpad_full error.

kReasonInProgress 

The net_lpad_in_progress error.

kReasonDenied 

The net_lpad_denied error.

kReasonIncompatible 

The net_lpad_incompatible error.

kReasonDied 

The net_lpad_abort_died error.

kReasonHost 

The net_lpad_abort_host error.

kReasonBoot 

The net_lpad_abort_boot error.

kReasonBad 

The net_lpad_abort_bad error.

kReasonNone 

The launchpad did not end.

Constructor & Destructor Documentation

◆ LaunchpadAbortedMsg()

LaunchpadAbortedMsg::LaunchpadAbortedMsg ( int nReason)
inlineexplicit

Construct a message with a reason.

Inline.

Parameters
nReasonOne of Reason, or another error code.

Member Function Documentation

◆ operator new()

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

Release a message.

Parameters
pBlockThe block.

◆ Clone()

Message * LaunchpadAbortedMsg::Clone ( )
inlineoverridevirtual

Produce a heap copy of this message.

Returns
The copy.

Implements Message.

◆ Type()

int LaunchpadAbortedMsg::Type ( )
inlineoverridevirtual

Report this message's registered identity.

Returns
g_nLaunchpadAbortedMsgType.

Implements Message.

◆ GetName()

const char * LaunchpadAbortedMsg::GetName ( ) const
inlineoverridevirtual

Report this message's class name.

Returns
The literal LaunchpadAbortedMsg.

Implements Message.

◆ PrintExtra()

void LaunchpadAbortedMsg::PrintExtra ( PrnStream & stream) const
overridevirtual

Write the reason.

Parameters
streamThe stream to write to.
Ghidra address:
NTSC-U/C: 0x00269008
Ghidra address:
PAL: 0x00272c10

Reimplemented from Message.

◆ GetReason()

int LaunchpadAbortedMsg::GetReason ( ) const
inline
Returns
One of Reason, or another error code.

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