Step that lists the chat rooms into LobbyRT::mChatrooms.
More...
#include <getchannelstask.h>
|
| static void | OnResponse (int nConnection, int nType, int nSize, const rtMediusChannelListResponse *pResponse) |
| | Add a room, and finish the step the response is tagged with after the last room.
|
| 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 |
| | Clear the rooms and send the request.
|
| 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 lists the chat rooms into LobbyRT::mChatrooms.
The RTTI includes the name and records NetTask as the base. The vtable is at 0x003d5368. The server sends one room per response. The step always succeeds.
◆ ~GetChannelsTask()
| GetChannelsTask::~GetChannelsTask |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0039c2d8
- Ghidra address:
- PAL: 0x0040af90
◆ OnResponse()
| void GetChannelsTask::OnResponse |
( |
int | nConnection, |
|
|
int | nType, |
|
|
int | nSize, |
|
|
const rtMediusChannelListResponse * | pResponse ) |
|
static |
Add a room, and finish the step the response is tagged with after the last room.
The name is inferred.
- Parameters
-
| nConnection | The connection. |
| nType | The kind of response. |
| nSize | The size of the response. |
| pResponse | The response. |
- Ghidra address:
- NTSC-U/C: 0x00264890
- Ghidra address:
- PAL: 0x0026e1a0
◆ OnStart()
| void GetChannelsTask::OnStart |
( |
| ) |
|
|
overrideprotectedvirtual |
Clear the rooms and send the request.
- Ghidra address:
- NTSC-U/C: 0x002647d8
- Ghidra address:
- PAL: 0x0026e0e8
Reimplemented from Task.
The documentation for this class was generated from the following file: