dao::clock::WorldTime

struct

The world’s clock at a moment: the game’s calendar day and the time into it.

Declared in dao/Clock.h.

Fields

Field Type  
day std::uint32_t = 0 the calendar’s day number, as a save keeps it
dayLength std::uint32_t = 0 a day’s length in seconds, 7200 in vanilla
ms std::uint32_t = 0 milliseconds into the day, below a day’s length
seconds double = 0 day and ms together, in seconds