Championship pre-race records, options, saving, and exit-confirmation callbacks.
More...
#include <frontend.h>
Championship pre-race records, options, saving, and exit-confirmation callbacks.
◆ UpdateBackButtonText()
| int PreRaceInfoUI::UpdateBackButtonText |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Refresh and measure the Back label according to championship and resume state.
- Parameters
-
| pWidget | A non-null borrowed label widget with primary text storage. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x1003e840
- Ghidra address:
- BRGlide: 0x10037e60
◆ OnOptions()
| int PreRaceInfoUI::OnOptions |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Open Options and install its return callback to pre-race information.
- Parameters
-
- Returns
- One without propagating the screen-opening result.
- Ghidra address:
- BRD3D: 0x10045780
- Ghidra address:
- BRGlide: 0x1003ec10
◆ OnSaveSeason()
| int PreRaceInfoUI::OnSaveSeason |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Open season saving and install its return callback to pre-race information.
- Parameters
-
- Returns
- One without propagating the screen-opening result.
- Ghidra address:
- BRD3D: 0x100457a0
- Ghidra address:
- BRGlide: 0x1003ec30
◆ OnBackToLoadSeason()
Destroy pre-race information, clear its references, and restore cached season loading.
- 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: 0x10046dc0
- Ghidra address:
- BRGlide: 0x10040210
◆ OnBackToChampionshipSeason()
Destroy pre-race information, clear its references, and restore the cached season 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: 0x10046d70
- Ghidra address:
- BRGlide: 0x100401c0
◆ OnBack()
Activate the previously built pre-race exit-confirmation screen.
- Parameters
-
| pItem | The unused widget pointer, possibly null. |
- Returns
- Zero to end the current widget update.
- Ghidra address:
- BRD3D: 0x10046f50
- Ghidra address:
- BRGlide: 0x100403a0
◆ UpdateBestTimeLabel()
| int PreRaceInfoUI::UpdateBestTimeLabel |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Draw the season's best race time for the saved round's track, or a placeholder when unloaded.
- Parameters
-
| pWidget | A non-null borrowed label widget with primary text storage. |
- Returns
- One after formatting and drawing the time.
- Ghidra address:
- BRD3D: 0x10040c00
- Ghidra address:
- BRGlide: 0x1003a140
◆ UpdateBestLapLabel()
| int PreRaceInfoUI::UpdateBestLapLabel |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Draw the season's best lap time for the saved round's track, or a placeholder when unloaded.
- Parameters
-
| pWidget | A non-null borrowed label widget with primary text storage. |
- Returns
- One after formatting and drawing the time.
- Ghidra address:
- BRD3D: 0x10040d70
- Ghidra address:
- BRGlide: 0x1003a2b0
The documentation for this class was generated from the following file: