Jazz2::UI::Menu::CreateServerOptionsSection class

Base classes

class MenuSection
Base class of a menu section.

Public static variables

static StringView FromPlaylist constexpr
Special value for LevelName to create a server from configured playlist.

Constructors, destructors, conversion operators

CreateServerOptionsSection(StringView levelName, StringView previousEpisodeName, bool privateServer)

Public functions

void OnShow(IMenuContainer* root) override
Called when the section is shown.
void OnUpdate(float timeMult) override
Called when the section should be updated.
void OnDraw(Canvas* canvas) override
Called when the section should be drawn — the bottom background layer.
void OnDrawOverlay(Canvas* canvas) override
Called when the section should be drawn — the top overlay layer.
void OnTouchEvent(const nCine::TouchEvent& event, Vector2i viewSize) override
Called when a touch event is triggered.
void SetGameMode(Jazz2::Multiplayer::MpGameMode value)