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_MoonPhaseUIInfo.c
Go to the documentation of this file.
1
[
BaseContainerProps
(),
SCR_BaseContainerLocalizedTitleField
(
"Name"
)]
2
class
SCR_MoonPhaseUIInfo
:
SCR_UIInfo
3
{
4
[
Attribute
()]
5
protected
LocalizedString
m_sSimplifiedName
;
6
7
protected
float
m_fMoonphaseImageRotation
= 0;
8
9
//------------------------------------------------------------------------------------------------
12
string
GetSimplifiedName
()
13
{
14
return
m_sSimplifiedName
;
15
}
16
17
//------------------------------------------------------------------------------------------------
20
void
SetMoonphaseImageRotation
(
bool
northernHemisphere)
21
{
22
if
(northernHemisphere)
23
m_fMoonphaseImageRotation
= 0;
24
else
25
m_fMoonphaseImageRotation
= 180;
26
}
27
28
//------------------------------------------------------------------------------------------------
32
float
GetMoonphaseImageRotation
()
33
{
34
return
m_fMoonphaseImageRotation
;
35
}
36
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
SCR_BaseContainerLocalizedTitleField
SCR_PlayerCommandingConfigActionPair Managed SCR_BaseContainerLocalizedTitleField("m_sCommandName")
Definition
SCR_PlayerCommandsConfig.c:58
LocalizedString
Definition
LocalizedString.c:22
SCR_MoonPhaseUIInfo
Definition
SCR_MoonPhaseUIInfo.c:3
SCR_MoonPhaseUIInfo::GetSimplifiedName
string GetSimplifiedName()
Definition
SCR_MoonPhaseUIInfo.c:12
SCR_MoonPhaseUIInfo::m_fMoonphaseImageRotation
float m_fMoonphaseImageRotation
Definition
SCR_MoonPhaseUIInfo.c:7
SCR_MoonPhaseUIInfo::GetMoonphaseImageRotation
float GetMoonphaseImageRotation()
Definition
SCR_MoonPhaseUIInfo.c:32
SCR_MoonPhaseUIInfo::SetMoonphaseImageRotation
void SetMoonphaseImageRotation(bool northernHemisphere)
Definition
SCR_MoonPhaseUIInfo.c:20
SCR_MoonPhaseUIInfo::m_sSimplifiedName
LocalizedString m_sSimplifiedName
Definition
SCR_MoonPhaseUIInfo.c:5
SCR_UIInfo
Definition
SCR_UIInfo.c:8
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Editor
Containers
UIInfo
SCR_MoonPhaseUIInfo.c
Generated by
1.17.0