Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_FormatedUIInfo.c
Go to the documentation of this file.
1[BaseContainerProps(configRoot: true)]
3{
4 [Attribute(desc: "Param1 which replaces %1 if name contains it")]
5 protected string m_sParam1;
6
7 [Attribute(desc: "Param1 which replaces %2 if name contains it")]
8 protected string m_sParam2;
9
10 [Attribute(desc: "Param1 which replaces %3 if name contains it")]
11 protected string m_sParam3;
12
13 [Attribute(desc: "Param1 which replaces %4 if name contains it")]
14 protected string m_sParam4;
15
16 //------------------------------------------------------------------------------------------------
22 void SetParams(string param1 = string.Empty, string param2 = string.Empty, string param3 = string.Empty, string param4 = string.Empty)
23 {
28 }
29
30 //------------------------------------------------------------------------------------------------
36 void GetParams(out string param1 = string.Empty, out string param2 = string.Empty, out string param3 = string.Empty, out string param4 = string.Empty)
37 {
42 }
43
44 //------------------------------------------------------------------------------------------------
46 {
47 return WidgetManager.Translate(super.GetName(), m_sParam1, m_sParam2, m_sParam3, m_sParam4);
48 }
49
50 //------------------------------------------------------------------------------------------------
51 override bool SetNameTo(TextWidget textWidget)
52 {
53 if (!textWidget)
54 return false;
55
56 textWidget.SetTextFormat(super.GetName(), m_sParam1, m_sParam2, m_sParam3, m_sParam4);
57 return true;
58 }
59}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
void GetParams(out string param1=string.Empty, out string param2=string.Empty, out string param3=string.Empty, out string param4=string.Empty)
override LocalizedString GetName()
void SetParams(string param1=string.Empty, string param2=string.Empty, string param3=string.Empty, string param4=string.Empty)
override bool SetNameTo(TextWidget textWidget)
SCR_FieldOfViewSettings Attribute
T4 param4
Definition tuple.c:152
T3 param3
Definition tuple.c:93
T2 param2
Definition tuple.c:92
Tuple param1