Multiplayer race-setup callbacks using the shared session and cached connection screens.
More...
#include <frontend.h>
|
| static int | OnEscape (MenuWidget *pWidget) |
| | Exit an active network game launched through a lobby.
|
| static int | OnCycleCarClass (MenuWidget *pWidget) |
| | Cycle car classes 0..4 using mouse edges and apply the selected car-group preset.
|
| static int | OnBackAsClient (MenuActionWidget *pItem) |
| | Return a client to session selection, disconnect, and restore provider discovery when needed.
|
| static int | OnBackAsHost (MenuActionWidget *pItem) |
| | Return a host to game creation, disconnect, and restore provider discovery when needed.
|
Multiplayer race-setup callbacks using the shared session and cached connection screens.
Car-class selection and host/client exit callbacks for multiplayer setup.
◆ OnEscape()
| int MultiplayerGameSetupUI::OnEscape |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Exit an active network game launched through a lobby.
- Parameters
-
| pWidget | A non-null borrowed widget of the active screen to stop before exit. |
- Returns
- One when application shutdown is not requested.
- Ghidra address:
- BRD3D: 0x100437d0
- Ghidra address:
- BRGlide: 0x1003cd20
◆ OnCycleCarClass()
| int MultiplayerGameSetupUI::OnCycleCarClass |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Cycle car classes 0..4 using mouse edges and apply the selected car-group preset.
An active DirectPlay interface also receives a selection notice.
- Parameters
-
| pWidget | The unused widget pointer, possibly null. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x10044600
- Ghidra address:
- BRGlide: 0x1003db50
◆ OnBackAsClient()
Return a client to session selection, disconnect, and restore provider discovery when needed.
Lobby-launched sessions exit the application instead.
- Parameters
-
| pItem | A non-null active-screen widget, invalidated by screen destruction or shutdown. |
- Returns
- Zero when control returns, ending the current widget update.
- Ghidra address:
- BRD3D: 0x10044970
- Ghidra address:
- BRGlide: 0x1003dec0
◆ OnBackAsHost()
Return a host to game creation, disconnect, and restore provider discovery when needed.
Lobby-launched sessions exit the application instead.
- Parameters
-
| pItem | A non-null active-screen widget, invalidated by screen destruction or shutdown. |
- Returns
- Zero when control returns, ending the current widget update.
- Ghidra address:
- BRD3D: 0x10044a30
- Ghidra address:
- BRGlide: 0x1003df80
The documentation for this class was generated from the following file: