1 #ifndef GAME_MWWORLD_TIMESTAMP_H
2 #define GAME_MWWORLD_TIMESTAMP_H
21 explicit TimeStamp (
float hour = 0,
int day = 0);
bool operator==(const LiveCellRef< X > &ref, int pRefnum)
Definition: cellstore.cpp:205
float mHour
Definition: timestamp.hpp:16
int getDay() const
Definition: timestamp.cpp:22
ESM::TimeStamp toEsm() const
Definition: timestamp.cpp:109
TimeStamp & operator+=(double hours)
Definition: timestamp.cpp:27
int mDay
Definition: timestamp.hpp:17
TimeStamp operator+(const TimeStamp &stamp, double hours)
Definition: timestamp.cpp:77
float getHour() const
Definition: timestamp.cpp:17
bool operator<=(const Ptr &left, const Ptr &right)
Definition: ptr.hpp:194
In-game time stamp.
Definition: timestamp.hpp:14
bool operator>(const Ptr &left, const Ptr &right)
Definition: ptr.hpp:189
bool operator<(const Ptr &left, const Ptr &right)
Definition: ptr.hpp:179
double operator-(const TimeStamp &left, const TimeStamp &right)
Returns the difference between left and right in in-game hours.
Definition: timestamp.cpp:87
bool operator!=(const CellStore &left, const CellStore &right)
Definition: cellstore.cpp:935
bool operator>=(const Ptr &left, const Ptr &right)
Definition: ptr.hpp:184
TimeStamp(float hour=0, int day=0)
Definition: timestamp.cpp:10