import { int } from '../types/NativeAliases'; export declare class Clock { /** * @param ms */ static setMillisecondsPerGameMinute(ms: int): void; /** * Gets the current ingame clock second. Note that ingame clock seconds change really fast since a day in RDR is only 48 minutes in real life. * * @returns */ static getClockSeconds(): int; /** * @param hour * @param minute * @param second */ static advanceClockTimeTo(hour: int, minute: int, second: int): void; /** * @returns inDateTime; timeToAdd; outDateTime */ static addTimeToDateTime(): [number, number, number]; /** * SET_CLOCK_TIME(12, 34, 56); * * @param hour * @param minute * @param second */ static setClockTime(hour: int, minute: int, second: int): void; /** * Gets the current ingame hour, expressed without zeros. (09:34 will be represented as 9) * * @returns */ static getClockHours(): int; /** * @returns */ static getMillisecondsPerGameMinute(): int; /** * Gets the current day of the week. 0: Sunday * 1: Monday * 2: Tuesday * 3: Wednesday * 4: Thursday * 5: Friday * 6: Saturday * * @returns */ static getClockDayOfWeek(): int; /** * @param toggle */ static pauseClockThisFrame(toggle: boolean): void; /** * @returns */ static getClockYear(): int; /** * @returns */ static getClockMonth(): int; /** * @returns year; month; day; hour; minute; second */ static getPosixTime(): [number, number, number, number, number, number]; /** * Same as GET_POSIX_TIME except that it takes a single pointer to a struct. * * @returns outTime */ static getPosixTimeStruct(): number; /** * @returns */ static getClockDayOfMonth(): int; /** * @param hours * @param minutes * @param seconds */ static addToClockTime(hours: int, minutes: int, seconds: int): void; /** * @param day * @param month * @param year */ static setClockDate(day: int, month: int, year: int): void; /** * @param toggle * @param unused */ static pauseClock(toggle: boolean, unused: any): void; /** * Base year is 1898. * * @returns */ static getSecondsSinceBaseYear(): int; /** * Gets the current ingame clock minute. * * @returns */ static getClockMinutes(): int; } //# sourceMappingURL=Clock.d.ts.map