Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ControllerPresetsConfig.c
Go to the documentation of this file.
1
2[BaseContainerProps(configRoot: true)]
4{
5 [Attribute("", UIWidgets.Object, "Available presets.")]
6 protected ref array<ref SCR_ControllerPreset> m_aPresets;
7
8 //------------------------------------------------------------------------------------------------
9 array<ref SCR_ControllerPreset> GetPresets()
10 {
11 return m_aPresets;
12 }
13};
14
18{
19 [Attribute("", desc: "GUID of the preset config, if left empty the preset will set controls to default", params: "conf")]
21
22 [Attribute("", desc: "Display name to show in settings")]
23 protected string m_sPresetDisplayName;
24
25 //------------------------------------------------------------------------------------------------
27 {
28 return m_sPreset;
29 }
30
31 //------------------------------------------------------------------------------------------------
33 {
35 }
36
37 //------------------------------------------------------------------------------------------------
38 void SetResourceName(string preset)
39 {
40 m_sPreset = preset;
41 }
42
43 //------------------------------------------------------------------------------------------------
44 void SetDisplayName(string name)
45 {
47 }
48}
49
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Controller preset config class.
void SetResourceName(string preset)
Controller presets config root.
array< ref SCR_ControllerPreset > GetPresets()
ref array< ref SCR_ControllerPreset > m_aPresets
SCR_FieldOfViewSettings Attribute