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

Session-list and return callbacks for joining or creating a network game. More...

#include <frontend.h>

Static Public Member Functions

static int UpdateSessionSelection (MenuWidget *pWidget)
 Draw and process the session list, updating the selected session on row activation.
static int OnBack (MenuActionWidget *pItem)
 Destroy session selection, clear join/create references, restore connection, and disconnect.

Detailed Description

Session-list and return callbacks for joining or creating a network game.

Member Function Documentation

◆ UpdateSessionSelection()

int JoinCreateGameUI::UpdateSessionSelection ( MenuWidget * pWidget)
static

Draw and process the session list, updating the selected session on row activation.

Parameters
pWidgetA non-null borrowed widget with the session list.
Returns
One.
Ghidra address:
BRD3D: 0x1003eb90
Ghidra address:
BRGlide: 0x10038180

◆ OnBack()

int JoinCreateGameUI::OnBack ( MenuActionWidget * pItem)
static

Destroy session selection, clear join/create references, restore connection, and disconnect.

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

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