Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_HintTutorialList.c
Go to the documentation of this file.
1
[
BaseContainerProps
(configRoot:
true
)]
2
class
SCR_HintTutorialList
3
{
4
[
Attribute
()]
5
protected
ref array<ref SCR_HintTutorial> m_aHints;
6
7
SCR_HintUIInfo
GetHint(
SCR_ECampaignTutorialArlandStage
stage,
string
hintname =
""
)
8
{
9
foreach
(SCR_HintTutorial hint:
m_aHints
)
10
{
11
if
(stage == hint.GetEnum())
12
{
13
if
(!hintname.IsEmpty())
14
{
15
if
(hintname == hint.GetBaseString())
16
return
hint.GetHint();
17
continue
;
18
}
19
return
hint.GetHint();
20
}
21
}
22
return
null
;
23
}
24
}
25
26
[
BaseContainerProps
(),
SCR_BaseContainerCustomTitleEnum
(
SCR_ECampaignTutorialArlandStage
,
"m_eStage"
)]
27
class
SCR_HintTutorial
28
{
29
[
Attribute
()]
30
protected
ref
SCR_HintUIInfo
m_Hint;
31
32
[
Attribute
(defvalue:
"none"
)]
33
protected
string
m_sBaseOverviewName;
34
35
[
Attribute
(defvalue:
"0"
, uiwidget: UIWidgets.ComboBox, enums: ParamEnumArray.FromEnum(
SCR_ECampaignTutorialArlandStage
))]
36
protected
SCR_ECampaignTutorialArlandStage
m_eStage
;
37
38
SCR_ECampaignTutorialArlandStage
GetEnum()
39
{
40
return
m_eStage
;
41
}
42
43
SCR_HintUIInfo
GetHint
()
44
{
45
return
m_Hint;
46
}
47
48
string
GetBaseString()
49
{
50
return
m_sBaseOverviewName;
51
}
52
};
BaseContainerProps
class SCR_HintTutorialList BaseContainerProps()
SCR_BaseContainerCustomTitleEnum
class SCR_HintTutorialList SCR_BaseContainerCustomTitleEnum(SCR_ECampaignTutorialArlandStage, "m_eStage")
Definition:
SCR_HintTutorialList.c:26
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_HintUIInfo
Definition:
SCR_HintUIInfo.c:2
SCR_HintTutorialList
Definition:
SCR_HintTutorialList.c:2
GetHint
SCR_HintUIInfo GetHint(SCR_ECampaignTutorialArlandStage stage, string hintname="")
Definition:
SCR_HintTutorialList.c:5
SCR_ECampaignTutorialArlandStage
SCR_ECampaignTutorialArlandStage
Definition:
SCR_ECampaignTutorialArlandStage.c:1
m_aHints
protected ref array< ref SCR_HintTutorial > m_aHints
Definition:
SCR_HintTutorialList.c:3
m_eStage
protected SCR_ECampaignTutorialArlandStage m_eStage
Definition:
SCR_CampaignTutorialComponentArland.c:38
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
GameMode
Tutorial
Logic
SCR_HintTutorialList.c
Generated by
1.8.17