Jazz2::UI::Menu::MultiplayerGameModeSelectSection class

Multiplayer game mode selection menu section.

Lists the available multiplayer game modes (such as Battle, Race, Treasure Hunt, and Cooperation) and lets the player choose one for the server being configured. If the view is tall enough, a brief description of the selected mode is shown below the list. Built declaratively on top of WidgetSection.

Base classes

class WidgetSection
Base class of a declarative menu section.

Public functions

auto GetClipRectangle(const Recti& contentBounds) -> Recti override
Allows to override clip rectangle of the middle layer.
void OnShow(IMenuContainer* root) override
Called when the section is shown.
void OnDraw(Canvas* canvas) override
Called when the section should be drawn — the bottom background layer.