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

Confirmation callbacks for abandoning a championship from pre-race information. More...

#include <frontend.h>

Static Public Member Functions

static int OnYes (MenuWidget *pWidget)
 Destroy confirmation and cached pre-race screens, clear the pre-race cache and screen pointer, and restore the root menu.
static int OnNo (MenuWidget *pWidget)
 Restore cached pre-race information without destroying the confirmation screen.

Detailed Description

Confirmation callbacks for abandoning a championship from pre-race information.

Confirmation callbacks for abandoning a championship season before a race.

Member Function Documentation

◆ OnYes()

int PreRaceExitSeasonConfirmUI::OnYes ( MenuWidget * pWidget)
static

Destroy confirmation and cached pre-race screens, clear the pre-race cache and screen pointer, and restore the root menu.

Parameters
pWidgetA non-null confirmation widget, invalidated when its panels are destroyed.
Returns
Zero to end the current widget update.
Ghidra address:
BRD3D: 0x10046f60
Ghidra address:
BRGlide: 0x100403b0

◆ OnNo()

int PreRaceExitSeasonConfirmUI::OnNo ( MenuWidget * pWidget)
static

Restore cached pre-race information without destroying the confirmation screen.

Parameters
pWidgetThe unused widget pointer, possibly null.
Returns
Zero to end the current widget update.
Ghidra address:
BRD3D: 0x10046fc0
Ghidra address:
BRGlide: 0x10040410

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