Step that connects the lobby client to a lobby server.
More...
#include <mediusconnecttask.h>
|
| static void | OnConnect (int nConnection) |
| | Take the result of the connection and finish sTask.
|
| static void | MakeTag (NetTask *pTask, char *pszTag) |
| | Create the next tag of a task and copy its text.
|
| static void | RemoveTag (NetTask *pTask) |
| | Remove the first tag of a task.
|
| static NetTask * | FindTag (const char *pszTag) |
| | Find the task of a tag.
|
|
| void | OnStart () override |
| | Start connecting.
|
| void | OnStop () override |
| | Clear sTask.
|
| void | OnStop () override |
| | Remove the tag of the task.
|
| virtual void | OnPoll () |
| | Advance the work, and set mState to kStateDone when it finishes.
|
Step that connects the lobby client to a lobby server.
The RTTI includes the name and records NetTask as the base. The vtable is at 0x003d5788 and the object is 0x10 bytes. The step sets LobbyRT::mMediusConnected, and it fails with LobbyConnectResultMsg::kResultConnectFailed.
◆ Server
Values of mServer.
| Enumerator |
|---|
| kServerLocation | The server LobbyRT::mLobbyInfo identifies.
|
| kServerLobby | The server server.cfg identifies.
|
◆ ~MediusConnectTask()
| MediusConnectTask::~MediusConnectTask |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0039b918
- Ghidra address:
- PAL: 0x0040a560
◆ MediusConnectTask()
| MediusConnectTask::MediusConnectTask |
( |
int | nServer | ) |
|
|
inlineexplicit |
Construct a step.
Inline.
- Parameters
-
◆ OnConnect()
| void MediusConnectTask::OnConnect |
( |
int | nConnection | ) |
|
|
static |
Take the result of the connection and finish sTask.
The name is inferred.
- Parameters
-
| nConnection | The connection, or -1 when the connection failed. |
- Ghidra address:
- NTSC-U/C: 0x00263250
- Ghidra address:
- PAL: 0x0026c4a8
◆ OnStart()
| void MediusConnectTask::OnStart |
( |
| ) |
|
|
overrideprotectedvirtual |
Start connecting.
- Ghidra address:
- NTSC-U/C: 0x00262fa0
- Ghidra address:
- PAL: 0x0026c0f8
Reimplemented from Task.
◆ OnStop()
| void MediusConnectTask::OnStop |
( |
| ) |
|
|
overrideprotectedvirtual |
Clear sTask.
- Ghidra address:
- NTSC-U/C: 0x00263240
- Ghidra address:
- PAL: 0x0026c400
Reimplemented from Task.
◆ sTask
The step that waits for OnConnect(), or null.
- Ghidra address:
- NTSC-U/C: 0x003b0afc
- Ghidra address:
- PAL: 0x0042f9c8
◆ sConnecting
| int MediusConnectTask::sConnecting |
|
static |
Non-zero while a connection is being made.
- Ghidra address:
- NTSC-U/C: 0x003b0b00
- Ghidra address:
- PAL: 0x0042f9cc
The documentation for this class was generated from the following file: