Player-name editing, continuation, and root-menu return callbacks.
More...
#include <frontend.h>
Player-name editing, continuation, and root-menu return callbacks.
◆ EnableContinueIfNameEntered()
| int PlayerNameEntryUI::EnableContinueIfNameEntered |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Enable continuing after a player name has been entered.
- Parameters
-
| pWidget | A non-null borrowed name-entry widget with terminated primary text. |
- Returns
- One; empty text preserves the Continue widget's previous enabled state.
- Ghidra address:
- BRD3D: 0x1003ef60
- Ghidra address:
- BRGlide: 0x10038490
◆ OnToggleTextEdit()
| int PlayerNameEntryUI::OnToggleTextEdit |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Begin text editing and toggle the primary caret when no menu text edit is active.
- Parameters
-
| pWidget | A non-null borrowed widget with primary text storage. |
- Returns
- One, including when editing was already active.
- Ghidra address:
- BRD3D: 0x10042a90
- Ghidra address:
- BRGlide: 0x1003bff0
◆ OnBack()
Destroy player-name entry, clear its references, and restore the root menu.
- Parameters
-
| pItem | A non-null active-screen widget, invalidated when its panels are destroyed. |
- Returns
- Zero to end the current widget update.
- Ghidra address:
- BRD3D: 0x10043fc0
- Ghidra address:
- BRGlide: 0x1003d510
The documentation for this class was generated from the following file: