Simple container holding in-game time data in hours, minutes, seconds format.
More...
|
void | TimeContainer (int hours=0, int minutes=0, int seconds=0) |
| Creates new time container from provided params.
|
|
float | ToTimeOfTheDay () |
|
Simple container holding in-game time data in hours, minutes, seconds format.
◆ TimeContainer()
void TimeContainer.TimeContainer |
( |
int |
hours = 0 , |
|
|
int |
minutes = 0 , |
|
|
int |
seconds = 0 |
|
) |
| |
Creates new time container from provided params.
Actual values can be retrieved via TimeAndWeatherManagerEntity.
- Parameters
-
hours | Hours <0,24> |
minutes | Minutes <0,60> |
seconds | Seconds <0,60> |
hours | |
minutes | |
seconds | |
◆ FromHoursMinutesSeconds()
static TimeContainer TimeContainer.FromHoursMinutesSeconds |
( |
int |
hours, |
|
|
int |
minutes, |
|
|
int |
seconds |
|
) |
| |
|
static |
◆ FromTimeOfTheDay()
static TimeContainer TimeContainer.FromTimeOfTheDay |
( |
float |
hours24 | ) |
|
|
static |
◆ ToTimeOfTheDay()
float TimeContainer.ToTimeOfTheDay |
( |
| ) |
|
◆ m_iHours
int TimeContainer.m_iHours |
< In-game hours <0, 24>
In-game minutes <0, 60>
◆ m_iMinutes
int TimeContainer.m_iMinutes |
◆ m_iSeconds
int TimeContainer.m_iSeconds |
The documentation for this interface was generated from the following file:
- GameCode/World/TimeAndWeatherManagerEntity.c