coastline 0.0.4
Loading...
Searching...
No Matches
ChampionshipSeasonUI Class Reference

Callbacks for starting a championship season and returning to the root menu. More...

#include <frontend.h>

Static Public Member Functions

static int OnStartNewSeason (MenuWidget *pWidget)
 Reset championship choices and open pre-race information for a new season.
static int OnBack (MenuActionWidget *pItem)
 Destroy the active season menu, clear its cache, and return to the root screen.

Detailed Description

Callbacks for starting a championship season and returning to the root menu.

New-season and return callbacks for the championship menu.

Member Function Documentation

◆ OnStartNewSeason()

int ChampionshipSeasonUI::OnStartNewSeason ( MenuWidget * pWidget)
static

Reset championship choices and open pre-race information for a new season.

Parameters
pWidgetThe unused widget forwarded to pre-race setup, possibly null.
Returns
One.
Ghidra address:
BRD3D: 0x10045aa0
Ghidra address:
BRGlide: 0x1003ef40

◆ OnBack()

int ChampionshipSeasonUI::OnBack ( MenuActionWidget * pItem)
static

Destroy the active season menu, clear its cache, and return to the root screen.

Parameters
pItemA non-null active-screen widget, invalidated when its panels are destroyed.
Returns
Zero to end the current widget update.
Ghidra address:
BRD3D: 0x10046c90
Ghidra address:
BRGlide: 0x100400e0

The documentation for this class was generated from the following file: