Message that delivers the players of an online session the lobby lists.
More...
#include <lobbyplayersmsg.h>
|
| static constexpr int | kNoLaunchpad = -1 |
| | The value of mLaunchpad when the players are not those of a session.
|
|
| static Message * | NewMessage (int nType) |
| | Produce a message of the identified class through the factory list.
|
Message that delivers the players of an online session the lobby lists.
The RTTI records the class as deriving from Message. The vtable is at 0x003d6240. The members Clone(), Type(), and GetName() are inline.
◆ ~LobbyPlayersMsg()
| LobbyPlayersMsg::~LobbyPlayersMsg |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0039e7a0
- Ghidra address:
- PAL: 0x0040d480
◆ LobbyPlayersMsg()
| LobbyPlayersMsg::LobbyPlayersMsg |
( |
std::list< LobbyPlayer > * | pPlayers, |
|
|
int | nLaunchpad, |
|
|
int | nHasPrevious ) |
|
inline |
Construct a message that points at the players.
Inline.
- Parameters
-
| pPlayers | The players. The caller retains them. |
| nLaunchpad | The session, or kNoLaunchpad. |
| nHasPrevious | Non-zero when more players precede a ranking page. |
◆ operator new()
| void * LobbyPlayersMsg::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 LobbyPlayersMsg::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a message.
- Parameters
-
◆ Clone()
| Message * LobbyPlayersMsg::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this message, which points at the same players.
- Returns
- The copy.
Implements Message.
◆ Type()
| int LobbyPlayersMsg::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this message's registered identity.
- Returns
- g_nLobbyPlayersMsgType.
Implements Message.
◆ GetName()
| const char * LobbyPlayersMsg::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ PrintExtra()
| void LobbyPlayersMsg::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the session when there is one, and the players.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00268e20
- Ghidra address:
- PAL: 0x00272a28
Reimplemented from Message.
◆ GetHasPrevious()
| int LobbyPlayersMsg::GetHasPrevious |
( |
| ) |
const |
|
inline |
- Returns
- Non-zero when more players precede a ranking page.
◆ GetLaunchpad()
| int LobbyPlayersMsg::GetLaunchpad |
( |
| ) |
const |
|
inline |
- Returns
- The index of the session in the lobby list.
◆ GetPlayers()
| std::list< LobbyPlayer > * LobbyPlayersMsg::GetPlayers |
( |
| ) |
const |
|
inline |
- Returns
- The players, in 0x90-byte list nodes.
◆ kNoLaunchpad
| int LobbyPlayersMsg::kNoLaunchpad = -1 |
|
staticconstexpr |
The value of mLaunchpad when the players are not those of a session.
The documentation for this class was generated from the following file: