OpenTTD Source: TimerGameRealtime::TPeriod Struct Reference

OpenTTD Source 15.3

Public Member Functions | Data Fields
TimerGameRealtime::TPeriod Struct Reference

## Public Member Functions
| TPeriod (std::chrono::milliseconds period, PeriodFlags flag)
bool | operator< (const TPeriod &other) const
bool | operator== (const TPeriod &other) const

## Data Fields
std::chrono::milliseconds | period
PeriodFlags | flag

## Detailed Description

Definition at line 36 of file timer_game_realtime.h.

## Constructor & Destructor Documentation

## ◆ TPeriod()

TimerGameRealtime::TPeriod::TPeriod | ( | std::chrono::milliseconds | period,
|  | PeriodFlags | flag
| ) |  |
| inline

Definition at line 40 of file timer_game_realtime.h.

## Member Function Documentation

## ◆ operator<()

bool TimerGameRealtime::TPeriod::operator< | ( | const TPeriod & | other | ) | const
| inline

Definition at line 42 of file timer_game_realtime.h.

## ◆ operator==()

bool TimerGameRealtime::TPeriod::operator== | ( | const TPeriod & | other | ) | const
| inline

Definition at line 48 of file timer_game_realtime.h.

## Field Documentation

## ◆ flag

PeriodFlags TimerGameRealtime::TPeriod::flag

Definition at line 38 of file timer_game_realtime.h.

## ◆ period

std::chrono::milliseconds TimerGameRealtime::TPeriod::period

Definition at line 37 of file timer_game_realtime.h.

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

- src/timer/timer_game_realtime.h