Message that reports the result of joining a chat room of the online lobby.
More...
#include <joinchatroomresultmsg.h>
|
| static Message * | NewMessage (int nType) |
| | Produce a message of the identified class through the factory list.
|
Message that reports the result of joining a chat room of the online lobby.
The RTTI records the class as deriving from Message. The vtable is at 0x003d60d8. The members Clone(), Type(), and GetName() are inline.
◆ Result
Values of mResult.
| Enumerator |
|---|
| kResultVulgarName | The chatroom name is not acceptable.
|
| kResultFailed | The server refused the request.
|
| kResultNameExists | A chatroom of the name exists.
|
| kResultSuccess | The player is in the chatroom.
|
◆ JoinChatroomResultMsg() [1/2]
| JoinChatroomResultMsg::JoinChatroomResultMsg |
( |
int | nResult | ) |
|
|
inlineexplicit |
Construct a failure, whose room has the identifier -1.
Inline. The counts of the room are not set.
- Parameters
-
◆ JoinChatroomResultMsg() [2/2]
| JoinChatroomResultMsg::JoinChatroomResultMsg |
( |
int | nResult, |
|
|
const NetChatroomInfo & | chatroom ) |
|
inline |
Construct a result with the room joined.
Inline.
- Parameters
-
| nResult | One of Result. |
| chatroom | The room. |
◆ operator new()
| void * JoinChatroomResultMsg::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 JoinChatroomResultMsg::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a message.
- Parameters
-
◆ Clone()
| Message * JoinChatroomResultMsg::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this message.
- Returns
- The copy.
Implements Message.
◆ Type()
| int JoinChatroomResultMsg::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this message's registered identity.
- Returns
- g_nJoinChatroomResultMsgType.
Implements Message.
◆ GetName()
| const char * JoinChatroomResultMsg::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ PrintExtra()
| void JoinChatroomResultMsg::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the result, and the room after a success.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00268cd0
- Ghidra address:
- PAL: 0x002728d8
Reimplemented from Message.
◆ GetChatroom()
◆ GetResult()
| int JoinChatroomResultMsg::GetResult |
( |
| ) |
const |
|
inline |
- Returns
- Zero on success, otherwise an error code.
The documentation for this class was generated from the following file: