Message a component sends when the player presses the button that chooses it.
More...
#include <uicomponentselectstartmsg.h>
|
| static Message * | NewMessage (int nType) |
| | Produce a message of the identified class through the factory list.
|
Message a component sends when the player presses the button that chooses it.
The RTTI records the class as deriving from Message. The object is 0x18 bytes. A button sends it through its own Dispatch() before its flash starts. A handler that reports the message as handled stops the choice.
◆ UIComponentSelectStartMsg()
| UIComponentSelectStartMsg::UIComponentSelectStartMsg |
( |
UIComponent * | pComponent, |
|
|
UIPanel * | pPanel, |
|
|
UIScreen * | pScreen, |
|
|
int | nButton, |
|
|
int | nPad ) |
|
inline |
Construct the message.
Inline. The components expand it on their stack.
- Parameters
-
| pComponent | The component being chosen. |
| pPanel | The panel with the focus. |
| pScreen | The current screen. |
| nButton | The controller button pressed. |
| nPad | The controller. |
◆ operator new()
| void * UIComponentSelectStartMsg::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 UIComponentSelectStartMsg::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a message.
- Parameters
-
◆ Clone()
| Message * UIComponentSelectStartMsg::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this message.
- Returns
- The copy.
- Ghidra address:
- NTSC-U/C: 0x0037bf70
- Ghidra address:
- PAL: 0x003ea6a0
Implements Message.
◆ Type()
| int UIComponentSelectStartMsg::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this message's registered identity.
- Returns
- g_nUIComponentSelectStartMsgType.
- Ghidra address:
- NTSC-U/C: 0x0037bfe0
- Ghidra address:
- PAL: 0x003ea710
Implements Message.
◆ GetName()
| const char * UIComponentSelectStartMsg::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this message's class name.
- Returns
- The literal UIComponentSelectStartMsg.
- Ghidra address:
- NTSC-U/C: 0x0037bff0
- Ghidra address:
- PAL: 0x003ea720
Implements Message.
◆ PrintExtra()
| void UIComponentSelectStartMsg::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the names of the component, the panel, and the screen.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0020e6c0
- Ghidra address:
- PAL: 0x002174d8
Reimplemented from Message.
◆ GetComponent()
| UIComponent * UIComponentSelectStartMsg::GetComponent |
( |
| ) |
const |
|
inline |
- Returns
- The component being chosen.
◆ GetPanel()
| UIPanel * UIComponentSelectStartMsg::GetPanel |
( |
| ) |
const |
|
inline |
- Returns
- The panel with the focus.
◆ GetScreen()
| UIScreen * UIComponentSelectStartMsg::GetScreen |
( |
| ) |
const |
|
inline |
- Returns
- The current screen.
◆ GetButton()
| int UIComponentSelectStartMsg::GetButton |
( |
| ) |
const |
|
inline |
- Returns
- The controller button pressed.
◆ GetPad()
| int UIComponentSelectStartMsg::GetPad |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: