Message a text entry sends when it refuses a typed character.
More...
#include <uitextentryinvalidmsg.h>
|
| static Message * | NewMessage (int nType) |
| | Produce a message of the identified class through the factory list.
|
Message a text entry sends when it refuses a typed character.
The RTTI records the class as deriving from Message. The object is 0x10 bytes. A text entry sends it through its own Dispatch() for a character of its invalid_chars list, and for a character that does not fit.
◆ ~UITextEntryInvalidMsg()
| UITextEntryInvalidMsg::~UITextEntryInvalidMsg |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x0037c4e8
- Ghidra address:
- PAL: 0x003eac18
◆ UITextEntryInvalidMsg()
| UITextEntryInvalidMsg::UITextEntryInvalidMsg |
( |
char | ch, |
|
|
bool | bEndOfField, |
|
|
UITextEntry * | pEntry ) |
|
inline |
Construct the message.
Inline. UITextEntry::ProcessKey() expands it on its stack.
- Parameters
-
| ch | The refused character. |
| bEndOfField | Whether the character was refused because the text is full. |
| pEntry | The text entry. |
◆ operator new()
| void * UITextEntryInvalidMsg::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 UITextEntryInvalidMsg::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a message.
- Parameters
-
◆ Clone()
| Message * UITextEntryInvalidMsg::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this message.
- Returns
- The copy.
- Ghidra address:
- NTSC-U/C: 0x0037c588
- Ghidra address:
- PAL: 0x003eacb8
Implements Message.
◆ Type()
| int UITextEntryInvalidMsg::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this message's registered identity.
- Returns
- g_nUITextEntryInvalidMsgType.
- Ghidra address:
- NTSC-U/C: 0x0037c5e8
- Ghidra address:
- PAL: 0x003ead18
Implements Message.
◆ GetName()
| const char * UITextEntryInvalidMsg::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this message's class name.
- Returns
- The literal UITextEntryInvalidMsg.
- Ghidra address:
- NTSC-U/C: 0x0037c5f8
- Ghidra address:
- PAL: 0x003ead28
Implements Message.
◆ PrintExtra()
| void UITextEntryInvalidMsg::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the character and whether the text was full.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0020e9c8
- Ghidra address:
- PAL: 0x002177e0
Reimplemented from Message.
◆ GetEntry()
| UITextEntry * UITextEntryInvalidMsg::GetEntry |
( |
| ) |
const |
|
inline |
◆ GetEndOfField()
| int UITextEntryInvalidMsg::GetEndOfField |
( |
| ) |
const |
|
inline |
- Returns
- Whether the character was refused because the text is full.
The documentation for this class was generated from the following file: