H7OptionsManager¶
Class in MMH7Game · MMH7Game.H7OptionsManager · native
Object › H7OptionsManager
Using it from Lua
Enums¶
EOptionCategory
OC_VIDEO = 0, OC_SOUND = 1, OC_GAMEPLAY = 2, OC_GUI = 3, OC_KEYBINDINGS = 4, OC_DEBUG = 5, OC_MAX = 6
EOptionChangeMode
OM_LIVE = 0, OM_APPLY = 1, OM_RESTART = 2, OM_MAX = 3
EOptionTypeEnum
OTE_BOOL = 0, OTE_FLOAT = 1, OTE_ENUM = 2, OTE_KEYBIND = 3, OTE_MAX = 4
Structs¶
OptionBoolStruct
Defaults
SetFunction=None
GetFunction=NoneOptionEnumStruct
Defaults
SetFunction=None
GetFunction=None
GetListFunction=NoneOptionFloatStruct
Defaults
SetFunction=None
GetFunction=None
GetConstraintsFunction=NoneOptionKeyStruct
| Field | Type |
|---|---|
KeyBind | H7Keybind |
Defaults
KeyBind=(KeyBind=(Name="None",Command="",Control=false,Shift=false,Alt=false,bIgnoreCtrl=false,bIgnoreShift=false,bIgnoreAlt=false),secondaryKeybind=(Name="None",Command="",Control=false,Shift=false,Alt=false,bIgnoreCtrl=false,bIgnoreShift=false,bIgnoreAlt=false),Category=EKeybindCategory.KC_GENE...OptionStruct
| Field | Type |
|---|---|
IDkey | string |
Category | H7OptionsManager.EOptionCategory |
Type | H7OptionsManager.EOptionTypeEnum |
Mode | H7OptionsManager.EOptionChangeMode |
Enabled | bool |
boolFunctions | OptionBoolStruct |
floatFunctions | OptionFloatStruct |
enumFunctions | OptionEnumStruct |
keybindFunctions | OptionKeyStruct |
Defaults
IDkey=""
Category=EOptionCategory.OC_VIDEO
Type=EOptionTypeEnum.OTE_BOOL
Mode=EOptionChangeMode.OM_LIVE
Enabled=true
boolFunctions=(SetFunction=None,GetFunction=None)
floatFunctions=(SetFunction=None,GetFunction=None,GetConstraintsFunction=None)
enumFunctions=(SetFunction=None,GetFunction=None,GetListFunction=None)
keybindFunctions=(KeyBind=(KeyBind=(Name="None",Command="",Control=false,Shift=false,Alt=false,bIgnoreCtrl=false,bIgnoreShift=false,bIgnoreAlt=false),secondaryKeybind=(Name="None",Command="",Control=false,Shift=false,Alt=false,bIgnoreCtrl=false,bIgnoreShift=false,bIgnoreAlt=false),Category=EKeybi...Properties¶
| Name | Type | Notes |
|---|---|---|
mOptionList | array<OptionStruct> | protected |
mRewardOptionsBuilded | bool | protected |
Functions¶
| Name | Declaration |
|---|---|
CreateOptionsFromKeybinds | native function CreateOptionsFromKeybinds() |
CreateRewardOptions | function CreateRewardOptions() |
CreateSetup | function CreateSetup() |
GetBoolDelegate | delegate bool GetBoolDelegate() |
GetEnumDelegate | delegate int GetEnumDelegate() |
GetEnumListDelegate | delegate array |
GetFloatConstraintsDelegate | delegate Vector2D GetFloatConstraintsDelegate() |
GetFloatDelegate | delegate float GetFloatDelegate() |
GetInstance | static function H7OptionsManager GetInstance() |
GetOptions | function array<OptionStruct> GetOptions() |
GetOptionStruct | function OptionStruct GetOptionStruct(string optionKey) |
GetPanningPercentConstraints | function Vector2D GetPanningPercentConstraints() |
GetPercentConstraints | function Vector2D GetPercentConstraints() |
GetSetting | function OptionStruct GetSetting(string Key) |
GetSettingBool | function bool GetSettingBool(string Key) |
GetSettingConstraints | function Vector2D GetSettingConstraints(string Key) |
GetSettingEnum | function int GetSettingEnum(string Key) |
GetSettingEnumList | function array |
GetSettingFloat | function float GetSettingFloat(string Key) |
GetSettingIndex | function int GetSettingIndex(string Key) |
GetSoundConstraints | function Vector2D GetSoundConstraints() |
ResetAllOptions | function ResetAllOptions() |
SaveAllConfigs | function SaveAllConfigs() |
SetBoolDelegate | delegate SetBoolDelegate(bool val) |
SetEnumDelegate | delegate SetEnumDelegate(int val) |
SetFloatDelegate | delegate SetFloatDelegate(float val) |
SetSettingBool | function SetSettingBool(string Key, bool val) |
SetSettingEnum | function SetSettingEnum(string Key, int val) |
SetSettingFloat | function SetSettingFloat(string Key, float val) |
Inherited¶
| From | Members |
|---|---|
| Object | 13 properties, 308 functions |