MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getHour

Method getHour

src/Savegame/GameTime.cpp:161–164  ·  view source on GitHub ↗

* Returns the current ingame hour. * @return Hour (0-23). */

Source from the content-addressed store, hash-verified

159 * @return Hour (0-23).
160 */
161int GameTime::getHour() const
162{
163 return _hour;
164}
165
166/**
167 * Returns the current ingame weekday.

Callers 3

getSaveInfoMethod · 0.80
timeDisplayMethod · 0.80
getSunDirectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected