CommonLibSSE (Parapets fork)
RE::Calendar Class Reference

#include <Calendar.h>

Inheritance diagram for RE::Calendar:
RE::BSTSingletonSDM< Calendar > RE::BSTSingletonSDMBase< Traits >

Classes

struct  Days
 
struct  Months
 

Public Types

using Day = Days::Day
 
using Month = Months::Month
 
- Public Types inherited from RE::BSTSingletonSDMBase< Traits >
using Type = typename Traits::Type
 
using Allocator = typename Traits::Allocator
 

Public Member Functions

float GetCurrentGameTime () const
 
float GetDay () const
 
std::string GetDayName () const
 
std::uint32_t GetDayOfWeek () const
 
float GetDaysPassed () const
 
void GetTimeDateString (char *a_dest, std::uint32_t a_max, bool a_showYear) const
 
float GetHour () const
 
float GetHoursPassed () const
 
std::uint32_t GetMonth () const
 
std::string GetMonthName () const
 
std::tm GetTime () const
 
float GetTimescale () const
 
std::uint32_t GetYear () const
 

Static Public Member Functions

static CalendarGetSingleton ()
 

Public Attributes

std::uint8_t pad01
 
std::uint16_t pad02
 
std::uint32_t pad04
 
TESGlobalgameYear
 
TESGlobalgameMonth
 
TESGlobalgameDay
 
TESGlobalgameHour
 
TESGlobalgameDaysPassed
 
TESGlobaltimeScale
 
std::uint32_t midnightsPassed
 
float rawDaysPassed
 

Static Public Attributes

static constexpr std::uint8_t DAYS_IN_MONTH []
 

Member Typedef Documentation

◆ Day

◆ Month

Member Function Documentation

◆ GetCurrentGameTime()

float RE::Calendar::GetCurrentGameTime ( ) const

◆ GetDay()

float RE::Calendar::GetDay ( ) const

◆ GetDayName()

std::string RE::Calendar::GetDayName ( ) const

◆ GetDayOfWeek()

std::uint32_t RE::Calendar::GetDayOfWeek ( ) const

◆ GetDaysPassed()

float RE::Calendar::GetDaysPassed ( ) const

◆ GetHour()

float RE::Calendar::GetHour ( ) const

◆ GetHoursPassed()

float RE::Calendar::GetHoursPassed ( ) const

◆ GetMonth()

std::uint32_t RE::Calendar::GetMonth ( ) const

◆ GetMonthName()

std::string RE::Calendar::GetMonthName ( ) const

◆ GetSingleton()

static Calendar* RE::Calendar::GetSingleton ( )
static

◆ GetTime()

std::tm RE::Calendar::GetTime ( ) const

◆ GetTimeDateString()

void RE::Calendar::GetTimeDateString ( char *  a_dest,
std::uint32_t  a_max,
bool  a_showYear 
) const

◆ GetTimescale()

float RE::Calendar::GetTimescale ( ) const

◆ GetYear()

std::uint32_t RE::Calendar::GetYear ( ) const

Member Data Documentation

◆ DAYS_IN_MONTH

constexpr std::uint8_t RE::Calendar::DAYS_IN_MONTH[]
staticconstexpr
Initial value:
= {
31,
28,
31,
30,
31,
30,
31,
31,
30,
31,
30,
31
}

◆ gameDay

TESGlobal* RE::Calendar::gameDay

◆ gameDaysPassed

TESGlobal* RE::Calendar::gameDaysPassed

◆ gameHour

TESGlobal* RE::Calendar::gameHour

◆ gameMonth

TESGlobal* RE::Calendar::gameMonth

◆ gameYear

TESGlobal* RE::Calendar::gameYear

◆ midnightsPassed

std::uint32_t RE::Calendar::midnightsPassed

◆ pad01

std::uint8_t RE::Calendar::pad01

◆ pad02

std::uint16_t RE::Calendar::pad02

◆ pad04

std::uint32_t RE::Calendar::pad04

◆ rawDaysPassed

float RE::Calendar::rawDaysPassed

◆ timeScale

TESGlobal* RE::Calendar::timeScale

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