Result of NetLobby::Connect().
More...
#include <lobbyconnectresultmsg.h>
|
| static Message * | NewMessage (int nType) |
| | Produce a message of the identified class through the factory list.
|
Result of NetLobby::Connect().
The RTTI includes the class name and records Message as the base. Only the members its readers here use are declared.
◆ Result
Values of mResult.
| Enumerator |
|---|
| kResultFailed | The network library failed.
|
| kResultLostInternet | The network connection was lost.
|
| kResultLookupFailed | The name of the server did not resolve.
|
| kResultSessionFailed | The lobby session did not begin.
|
| kResultConnectFailed | The lobby server did not connect.
|
| kResultDNASFailed | The DNAS authentication failed, in the European release.
|
| kResultSuccess | The lobby server is connected.
|
◆ LobbyConnectResultMsg()
| LobbyConnectResultMsg::LobbyConnectResultMsg |
( |
int | nResult | ) |
|
|
inlineexplicit |
Construct a result with no locations.
Inline.
- Parameters
-
| nResult | One of Result, or another negative error. |
◆ operator new()
| void * LobbyConnectResultMsg::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 LobbyConnectResultMsg::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a message.
- Parameters
-
◆ Clone()
| Message * LobbyConnectResultMsg::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this message.
- Returns
- The copy.
Implements Message.
◆ Type()
| int LobbyConnectResultMsg::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this message's registered identity.
- Returns
- g_nLobbyConnectResultMsgType.
Implements Message.
◆ GetName()
| const char * LobbyConnectResultMsg::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ PrintExtra()
| void LobbyConnectResultMsg::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the result, and the locations after a success.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00268af8
- Ghidra address:
- PAL: 0x00272700
Reimplemented from Message.
◆ GetLocations() [1/2]
| const std::list< LobbyLocation > & LobbyConnectResultMsg::GetLocations |
( |
| ) |
const |
|
inline |
- Returns
- The locations of the server.
◆ GetLocations() [2/2]
| std::list< LobbyLocation > & LobbyConnectResultMsg::GetLocations |
( |
| ) |
|
|
inline |
- Returns
- The locations of the server, for filling.
◆ GetResult()
| int LobbyConnectResultMsg::GetResult |
( |
| ) |
const |
|
inline |
- Returns
- One of Result, or another negative error.
The documentation for this class was generated from the following file: