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

Text-entry and return callbacks for creating a network game. More...

#include <frontend.h>

Static Public Member Functions

static int OnToggleTextEdit (MenuWidget *pWidget)
 Begin text editing and toggle the primary caret when no menu text edit is active.
static int OnBack (MenuActionWidget *pItem)
 Destroy game creation, restore session selection, and enable joining an existing session.

Detailed Description

Text-entry and return callbacks for creating a network game.

Member Function Documentation

◆ OnToggleTextEdit()

int CreateGameMenuUI::OnToggleTextEdit ( MenuWidget * pWidget)
static

Begin text editing and toggle the primary caret when no menu text edit is active.

Parameters
pWidgetA non-null borrowed widget with primary text storage.
Returns
One, including when editing was already active.
Ghidra address:
BRD3D: 0x10042b00
Ghidra address:
BRGlide: 0x1003c050

◆ OnBack()

int CreateGameMenuUI::OnBack ( MenuActionWidget * pItem)
static

Destroy game creation, restore session selection, and enable joining an existing session.

Local non-lobby providers are disconnected and reinitialised for session discovery.

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

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