Progress or result of a transfer of a remix, NetLobby::UploadRemix() or NetLobby::DownloadRemix().
More...
#include <reporemixstatusmsg.h>
|
| static Message * | NewMessage (int nType) |
| | Produce a message of the identified class through the factory list.
|
Progress or result of a transfer of a remix, NetLobby::UploadRemix() or NetLobby::DownloadRemix().
The RTTI includes the class name and records Message as the base. Only the members its readers here use are declared.
◆ Status
Values of mStatus.
| Enumerator |
|---|
| kStatusFailed | The transfer failed.
|
| kStatusAlreadyExists | The remix is already stored.
|
| kStatusDone | The transfer finished.
|
| kStatusProgress | mProgress reports the part transferred.
|
◆ ~RepoRemixStatusMsg()
| RepoRemixStatusMsg::~RepoRemixStatusMsg |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0039f060
- Ghidra address:
- PAL: 0x0040dd40
◆ RepoRemixStatusMsg()
| RepoRemixStatusMsg::RepoRemixStatusMsg |
( |
int | nStatus, |
|
|
float | fProgress ) |
|
inline |
Construct a message.
Inline.
- Parameters
-
| nStatus | One of Status, or another negative error. |
| fProgress | The part transferred, from 0 to 1. |
◆ operator new()
| void * RepoRemixStatusMsg::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 RepoRemixStatusMsg::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a message.
- Parameters
-
◆ Clone()
| Message * RepoRemixStatusMsg::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this message.
- Returns
- The copy.
Implements Message.
◆ Type()
| int RepoRemixStatusMsg::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this message's registered identity.
- Returns
- g_nRepoRemixStatusMsgType.
Implements Message.
◆ GetName()
| const char * RepoRemixStatusMsg::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ PrintExtra()
| void RepoRemixStatusMsg::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the status and the progress.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00268d40
- Ghidra address:
- PAL: 0x00272948
Reimplemented from Message.
◆ GetProgress()
| float RepoRemixStatusMsg::GetProgress |
( |
| ) |
const |
|
inline |
- Returns
- The part transferred, from 0 to 1, with kStatusProgress.
◆ GetStatus()
| int RepoRemixStatusMsg::GetStatus |
( |
| ) |
const |
|
inline |
- Returns
- One of Status, or another negative error.
The documentation for this class was generated from the following file: