Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_MoonPhaseUIInfo.c
Go to the documentation of this file.
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 }
SCR_BaseContainerLocalizedTitleField
SCR_TabViewComponent SCR_ScriptedWidgetComponent SCR_BaseContainerLocalizedTitleField("m_sTabButtonContent")
Definition: SCR_TabViewComponent.c:963
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_UIInfo
Definition: SCR_UIInfo.c:7
SCR_MoonPhaseUIInfo
Definition: SCR_MoonPhaseUIInfo.c:2
LocalizedString
Definition: LocalizedString.c:21
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition: SCR_AIGoalReaction.c:468