Message that reports the ladder position of a player whose position was requested.
More...
#include <playerrankmsg.h>
|
| | ~PlayerRankMsg () override=default |
| | Destroy the object.
|
| | PlayerRankMsg (int nAccount, int nRank) |
| | 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.
|
| 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 account and the rank.
|
| int | GetAccount () const |
| int | GetRank () const |
| 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.
|
|
| static Message * | NewMessage (int nType) |
| | Produce a message of the identified class through the factory list.
|
Message that reports the ladder position of a player whose position was requested.
The RTTI records the class as deriving from Message. The vtable is at 0x003d61f8. The members Clone(), Type(), and GetName() are inline.
◆ ~PlayerRankMsg()
| PlayerRankMsg::~PlayerRankMsg |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0039e8c0
- Ghidra address:
- PAL: 0x0040d5a0
◆ PlayerRankMsg()
| PlayerRankMsg::PlayerRankMsg |
( |
int | nAccount, |
|
|
int | nRank ) |
|
inline |
Construct a message.
Inline.
- Parameters
-
| nAccount | The account of the player. |
| nRank | The position of the player in the ranking. |
◆ operator new()
| void * PlayerRankMsg::operator new |
( |
size_t | nSize | ) |
|
|
inline |
Allocate a message, billed to the class name.
- Parameters
-
| nSize | The object size the compiler supplies. |
- Returns
- The block.
◆ operator delete()
| void PlayerRankMsg::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a message.
- Parameters
-
◆ Clone()
Produce a heap copy of this message.
- Returns
- The copy.
Implements Message.
◆ Type()
| int PlayerRankMsg::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this message's registered identity.
- Returns
- g_nPlayerRankMsgType.
Implements Message.
◆ GetName()
| const char * PlayerRankMsg::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ PrintExtra()
| void PlayerRankMsg::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the account and the rank.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00268e90
- Ghidra address:
- PAL: 0x00272a98
Reimplemented from Message.
◆ GetAccount()
| int PlayerRankMsg::GetAccount |
( |
| ) |
const |
|
inline |
- Returns
- The account of the player.
◆ GetRank()
| int PlayerRankMsg::GetRank |
( |
| ) |
const |
|
inline |
- Returns
- The position of the player in the ranking.
The documentation for this class was generated from the following file: