VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::MenuOptions Struct Reference

#include <MenuModel.hpp>

Public Attributes

bool FreezeMovement = true
bool HomePage = false

Detailed Description

Options for a menu session. Submenus inherit them.

Definition at line 60 of file MenuModel.hpp.

Member Data Documentation

◆ FreezeMovement

bool VoltMod::MenuOptions::FreezeMovement = true

Whether the server-wide movement freeze (MenuFreeze::Enable) applies. False mid-round.

Definition at line 63 of file MenuModel.hpp.

Referenced by VoltMod::CenterHtmlMenu::OpenSession(), and VoltMod::PanoramaMenu::OpenSession().

◆ HomePage

bool VoltMod::MenuOptions::HomePage = false

Whether the root menu shows the layout's home markup instead of its rows. Only its owner asks.

Definition at line 66 of file MenuModel.hpp.

Referenced by VoltMod::PanoramaMenu::OpenSession().


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