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

#include <CenterHtmlRender.hpp>

Public Attributes

std::function< MenuRow(int index)> Describe
 
std::string_view Breadcrumb
 
int Slot = 0
 
int SelectedIndex = 0
 
bool IsSubmenu = false
 

Detailed Description

Menu state needed by the renderer.

Definition at line 27 of file CenterHtmlRender.hpp.

Member Data Documentation

◆ Breadcrumb

std::string_view VoltMod::CenterHtmlView::Breadcrumb

The titles under this menu, joined; empty at the root. Borrowed for the render call.

Definition at line 33 of file CenterHtmlRender.hpp.

◆ Describe

std::function<MenuRow(int index)> VoltMod::CenterHtmlView::Describe

Row index as MenuStack::Describe fills it in, so MenuRow::Pending and MenuRow::Changed are already answered.

Definition at line 31 of file CenterHtmlRender.hpp.

◆ IsSubmenu

bool VoltMod::CenterHtmlView::IsSubmenu = false

Definition at line 36 of file CenterHtmlRender.hpp.

◆ SelectedIndex

int VoltMod::CenterHtmlView::SelectedIndex = 0

Definition at line 35 of file CenterHtmlRender.hpp.

◆ Slot

int VoltMod::CenterHtmlView::Slot = 0

Definition at line 34 of file CenterHtmlRender.hpp.


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