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_CampaignMapUIElement.c
Go to the documentation of this file.
1
//------------------------------------------------------------------------------
2
class
SCR_CampaignMapUIElement
:
SCR_MapUIElement
3
{
4
// strings for searching in imagesets
5
[
Attribute
(
"Armory"
)]
6
protected
string
m_sArmory
;
7
[
Attribute
(
"FuelDepot"
)]
8
protected
string
m_sFuelDepot
;
9
[
Attribute
(
"LightVehicleDepot"
)]
10
protected
string
m_sLightVehicleDepot
;
11
[
Attribute
(
"HeavyVehicleDepot"
)]
12
protected
string
m_sHeavyVehicleDepot
;
13
[
Attribute
(
"RadioAntenna"
)]
14
protected
string
m_sRadioAntenna
;
15
[
Attribute
(
"Medical"
)]
16
protected
string
m_sFieldHospital
;
17
[
Attribute
(
"Barracks"
)]
18
protected
string
m_sBarracks
;
19
[
Attribute
(
"SupplyDepot"
)]
20
protected
string
m_sSupplyDepot
;
21
[
Attribute
(
"VehicleDepot"
)]
22
protected
string
m_sVehicleDepot
;
23
[
Attribute
(
"Heli_Pad"
)]
24
protected
string
m_sHelipad
;
25
[
Attribute
(
"Unknown"
)]
26
protected
string
m_sFactionNeutral
;
27
[
Attribute
(
"Relay"
)]
28
protected
string
m_sRelay
;
29
[
Attribute
(
"Base"
)]
30
protected
string
m_sBase
;
31
[
Attribute
(
"SourceBase"
)]
32
protected
string
m_sSourceBase
;
33
[
Attribute
(
"Mobile"
)]
34
protected
string
m_sMobileAssembly
;
35
[
Attribute
(
"Major"
)]
36
protected
string
m_sMajorBase
;
37
[
Attribute
(
"Minor"
)]
38
protected
string
m_sMinorBase
;
39
[
Attribute
(
"Small"
)]
40
protected
string
m_sSmallBase
;
41
[
Attribute
(
"Respawn"
)]
42
protected
string
m_sRespawn
;
43
[
Attribute
(
"Bg"
)]
44
protected
string
m_sRespawnBackground
;
45
[
Attribute
(
"Select"
)]
46
protected
string
m_sSelection
;
47
48
[
Attribute
(
"{F7E8D4834A3AFF2F}UI/Imagesets/Conflict/conflict-icons-bw.imageset"
)]
49
protected
ResourceName
m_sImageSet
;
50
51
//------------------------------------------------------------------------------
52
override
void
HandlerAttached
(
Widget
w)
53
{
54
super.HandlerAttached(w);
55
}
56
57
//------------------------------------------------------------------------------
58
override
bool
OnMouseEnter
(
Widget
w,
int
x,
int
y)
59
{
60
super.OnMouseEnter(w, x, y);
61
return
false
;
62
}
63
64
override
void
SetImage
(
string
image)
65
{
66
if
(
m_wImage
)
67
m_bVisible
=
m_wImage
.LoadImageFromSet(0,
m_sImageSet
, image);
68
}
69
};
ResourceName
Definition
ResourceName.c:13
SCR_CampaignMapUIElement
Definition
SCR_CampaignMapUIElement.c:3
SCR_CampaignMapUIElement::OnMouseEnter
override bool OnMouseEnter(Widget w, int x, int y)
Definition
SCR_CampaignMapUIElement.c:58
SCR_CampaignMapUIElement::m_sHeavyVehicleDepot
string m_sHeavyVehicleDepot
Definition
SCR_CampaignMapUIElement.c:12
SCR_CampaignMapUIElement::m_sSourceBase
string m_sSourceBase
Definition
SCR_CampaignMapUIElement.c:32
SCR_CampaignMapUIElement::m_sHelipad
string m_sHelipad
Definition
SCR_CampaignMapUIElement.c:24
SCR_CampaignMapUIElement::m_sMajorBase
string m_sMajorBase
Definition
SCR_CampaignMapUIElement.c:36
SCR_CampaignMapUIElement::SetImage
override void SetImage(string image)
Definition
SCR_CampaignMapUIElement.c:64
SCR_CampaignMapUIElement::m_sMinorBase
string m_sMinorBase
Definition
SCR_CampaignMapUIElement.c:38
SCR_CampaignMapUIElement::HandlerAttached
override void HandlerAttached(Widget w)
Definition
SCR_CampaignMapUIElement.c:52
SCR_CampaignMapUIElement::m_sSelection
string m_sSelection
Definition
SCR_CampaignMapUIElement.c:46
SCR_CampaignMapUIElement::m_sVehicleDepot
string m_sVehicleDepot
Definition
SCR_CampaignMapUIElement.c:22
SCR_CampaignMapUIElement::m_sImageSet
ResourceName m_sImageSet
Definition
SCR_CampaignMapUIElement.c:49
SCR_CampaignMapUIElement::m_sMobileAssembly
string m_sMobileAssembly
Definition
SCR_CampaignMapUIElement.c:34
SCR_CampaignMapUIElement::m_sRespawnBackground
string m_sRespawnBackground
Definition
SCR_CampaignMapUIElement.c:44
SCR_CampaignMapUIElement::m_sFuelDepot
string m_sFuelDepot
Definition
SCR_CampaignMapUIElement.c:8
SCR_CampaignMapUIElement::m_sRespawn
string m_sRespawn
Definition
SCR_CampaignMapUIElement.c:42
SCR_CampaignMapUIElement::m_sBase
string m_sBase
Definition
SCR_CampaignMapUIElement.c:30
SCR_CampaignMapUIElement::m_sArmory
string m_sArmory
Definition
SCR_CampaignMapUIElement.c:6
SCR_CampaignMapUIElement::m_sFactionNeutral
string m_sFactionNeutral
Definition
SCR_CampaignMapUIElement.c:26
SCR_CampaignMapUIElement::m_sSmallBase
string m_sSmallBase
Definition
SCR_CampaignMapUIElement.c:40
SCR_CampaignMapUIElement::m_sFieldHospital
string m_sFieldHospital
Definition
SCR_CampaignMapUIElement.c:16
SCR_CampaignMapUIElement::m_sBarracks
string m_sBarracks
Definition
SCR_CampaignMapUIElement.c:18
SCR_CampaignMapUIElement::m_sLightVehicleDepot
string m_sLightVehicleDepot
Definition
SCR_CampaignMapUIElement.c:10
SCR_CampaignMapUIElement::m_sRadioAntenna
string m_sRadioAntenna
Definition
SCR_CampaignMapUIElement.c:14
SCR_CampaignMapUIElement::m_sSupplyDepot
string m_sSupplyDepot
Definition
SCR_CampaignMapUIElement.c:20
SCR_CampaignMapUIElement::m_sRelay
string m_sRelay
Definition
SCR_CampaignMapUIElement.c:28
SCR_MapUIElement
Definition
SCR_MapUIElement.c:13
SCR_MapUIElement::m_wImage
ImageWidget m_wImage
Definition
SCR_MapUIElement.c:19
SCR_MapUIElement::m_bVisible
bool m_bVisible
Definition
SCR_MapUIElement.c:27
Widget
Definition
Widget.c:13
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
UI
Conflict
SCR_CampaignMapUIElement.c
Generated by
1.17.0