Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_MoonPhaseUIInfo Class Reference
Inheritance diagram for SCR_MoonPhaseUIInfo:
SCR_UIInfo

Protected Member Functions

string GetSimplifiedName ()
void SetMoonphaseImageRotation (bool northernHemisphere)
float GetMoonphaseImageRotation ()

Protected Attributes

LocalizedString m_sSimplifiedName
float m_fMoonphaseImageRotation = 0

Detailed Description

Definition at line 2 of file SCR_MoonPhaseUIInfo.c.

Member Function Documentation

◆ GetMoonphaseImageRotation()

float SCR_MoonPhaseUIInfo::GetMoonphaseImageRotation ( )
inlineprotected

Get rotation of Moon image. This will return 0 if UIInfo was set to northern Hemisphere and 180 if southern Hemisphere Use TimeAndWeatherManagerEntity.GetMoonPhaseInfoForDate() to make sure the value is set correctly

Returns
rotation of image

Definition at line 32 of file SCR_MoonPhaseUIInfo.c.

◆ GetSimplifiedName()

string SCR_MoonPhaseUIInfo::GetSimplifiedName ( )
inlineprotected

Get Simplified Name rather then full Waxing or waning Crescent it will just return Crescent

Returns
simplified moon phase

Definition at line 12 of file SCR_MoonPhaseUIInfo.c.

◆ SetMoonphaseImageRotation()

void SCR_MoonPhaseUIInfo::SetMoonphaseImageRotation ( bool northernHemisphere)
inlineprotected

Set rotation of Moon image. This is set to 0 if Northern Hemisphere and 180 if southern Hemisphere

Parameters
ifis northern or southern Hemisphere

Definition at line 20 of file SCR_MoonPhaseUIInfo.c.

Member Data Documentation

◆ m_fMoonphaseImageRotation

float SCR_MoonPhaseUIInfo::m_fMoonphaseImageRotation = 0
protected

Definition at line 7 of file SCR_MoonPhaseUIInfo.c.

◆ m_sSimplifiedName

LocalizedString SCR_MoonPhaseUIInfo::m_sSimplifiedName
protected

Definition at line 5 of file SCR_MoonPhaseUIInfo.c.


The documentation for this class was generated from the following file: