VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
PluginSettings.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
#include <string>
5
6
namespace
VoltMod
7
{
8
9
/** @brief The "plugin" section of settings.jsonc. LoadConfig applies the locale. */
10
struct
StandardPluginSettings
11
{
12
std::string
locale
=
"en"
;
13
};
14
15
/** @brief The "menu" section of a plugin with a Panorama menu screen. */
16
struct
PanoramaMenuSettings
17
{
18
/** Draw the Panorama menu instead of center HTML; the client needs the compiled layout. */
19
bool
panorama
=
false
;
20
};
21
22
}
// namespace VoltMod
VoltMod
Definition
Options.hpp:13
VoltMod::PanoramaMenuSettings
The "menu" section of a plugin with a Panorama menu screen.
Definition
PluginSettings.hpp:17
VoltMod::PanoramaMenuSettings::panorama
bool panorama
Definition
PluginSettings.hpp:19
VoltMod::StandardPluginSettings
The "plugin" section of settings.jsonc. LoadConfig applies the locale.
Definition
PluginSettings.hpp:11
VoltMod::StandardPluginSettings::locale
std::string locale
Definition
PluginSettings.hpp:12
include
VoltMod
App
Config
PluginSettings.hpp
Generated by
1.9.8