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

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

#include <changepasswordresultmsg.h>

Inheritance diagram for ChangePasswordResultMsg:
Collaboration diagram for ChangePasswordResultMsg:

Public Types

enum  Result { kResultUpdateFailed = -77 , kResultSuccess = 0 }
 Values of mResult. More...

Public Member Functions

 ~ChangePasswordResultMsg () override=default
 Destroy the object.
 ChangePasswordResultMsg (int nResult)
 Construct a result.
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 result.
int GetResult () 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

Result of NetLobby::ChangePassword().

The RTTI includes the class name and records Message as the base. Only the members its readers here use are declared.

Member Enumeration Documentation

◆ Result

Values of mResult.

Enumerator
kResultUpdateFailed 

The server did not update the password.

kResultSuccess 

The password was changed.

Constructor & Destructor Documentation

◆ ~ChangePasswordResultMsg()

ChangePasswordResultMsg::~ChangePasswordResultMsg ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x0039e690
Ghidra address:
PAL: 0x0040d370

◆ ChangePasswordResultMsg()

ChangePasswordResultMsg::ChangePasswordResultMsg ( int nResult)
inlineexplicit

Construct a result.

Inline.

Parameters
nResultOne of Result, or another negative error.

Member Function Documentation

◆ operator new()

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

Release a message.

Parameters
pBlockThe block.

◆ Clone()

Message * ChangePasswordResultMsg::Clone ( )
inlineoverridevirtual

Produce a heap copy of this message.

Returns
The copy.

Implements Message.

◆ Type()

int ChangePasswordResultMsg::Type ( )
inlineoverridevirtual

Report this message's registered identity.

Returns
g_nChangePasswordResultMsgType.

Implements Message.

◆ GetName()

const char * ChangePasswordResultMsg::GetName ( ) const
inlineoverridevirtual

Report this message's class name.

Returns
The literal ChangePasswordResultMsg.

Implements Message.

◆ PrintExtra()

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

Write the result.

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

Reimplemented from Message.

◆ GetResult()

int ChangePasswordResultMsg::GetResult ( ) const
inline
Returns
One of Result, or another negative error.

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