Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_FormatedUIInfo.c
Go to the documentation of this file.
1
[
BaseContainerProps
(configRoot:
true
)]
2
class
SCR_FormatedUIInfo
:
SCR_UIInfo
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
{
24
m_sParam1
=
param1
;
25
m_sParam2
=
param2
;
26
m_sParam3
=
param3
;
27
m_sParam4
=
param4
;
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
{
38
param1
=
m_sParam1
;
39
param2
=
m_sParam2
;
40
param3
=
m_sParam3
;
41
param4
=
m_sParam4
;
42
}
43
44
//------------------------------------------------------------------------------------------------
45
override
LocalizedString
GetName
()
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
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
LocalizedString
Definition
LocalizedString.c:22
SCR_FormatedUIInfo
Definition
SCR_FormatedUIInfo.c:3
SCR_FormatedUIInfo::GetParams
void GetParams(out string param1=string.Empty, out string param2=string.Empty, out string param3=string.Empty, out string param4=string.Empty)
Definition
SCR_FormatedUIInfo.c:36
SCR_FormatedUIInfo::m_sParam1
string m_sParam1
Definition
SCR_FormatedUIInfo.c:5
SCR_FormatedUIInfo::m_sParam4
string m_sParam4
Definition
SCR_FormatedUIInfo.c:14
SCR_FormatedUIInfo::GetName
override LocalizedString GetName()
Definition
SCR_FormatedUIInfo.c:45
SCR_FormatedUIInfo::m_sParam3
string m_sParam3
Definition
SCR_FormatedUIInfo.c:11
SCR_FormatedUIInfo::SetParams
void SetParams(string param1=string.Empty, string param2=string.Empty, string param3=string.Empty, string param4=string.Empty)
Definition
SCR_FormatedUIInfo.c:22
SCR_FormatedUIInfo::SetNameTo
override bool SetNameTo(TextWidget textWidget)
Definition
SCR_FormatedUIInfo.c:51
SCR_FormatedUIInfo::m_sParam2
string m_sParam2
Definition
SCR_FormatedUIInfo.c:8
SCR_UIInfo
Definition
SCR_UIInfo.c:8
TextWidget
Definition
TextWidget.c:16
WidgetManager
Definition
WidgetManager.c:16
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
param4
T4 param4
Definition
tuple.c:152
param3
T3 param3
Definition
tuple.c:93
param2
T2 param2
Definition
tuple.c:92
param1
Tuple param1
scripts
Game
Editor
Containers
UIInfo
SCR_FormatedUIInfo.c
Generated by
1.17.0