dao::options::EntryState
struct
A control on the screen: a plugin’s, or the game’s own.
Declared in dao/Options.h.
Fields
| Field | Type | |
|---|---|---|
enabled |
bool = true |
takes a change; a volume is not while its sound is disabled |
game |
bool = false |
the game’s own control |
kind |
Kind = Kind::Toggle |
|
label |
std::wstring |
|
least |
double = 0 |
a slider’s least |
most |
double = 0 |
and most |
name |
std::wstring |
A plugin’s control: the name the plugin gave it. The game’s: its option, such as L”GameOptions.AutoPauseCombat” or L”AudioOptions.MusicVolume”, which has a dot. |
tab |
Tab = Tab::Game |
|
value |
double = 0 |
a checkbox’s 0 or 1, a choice’s index, a slider’s number; 0 for a button |
values |
std::vector<std::wstring> |
a choice’s values’ names |