Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Variable timeConst

    time: {
        earthCalendarClass: typeof CalendarData;
        earthCalendarConfig: CalendarConfig;
        formatters: Record<string, TimeFormatter>;
        roundTime: number;
        turnTime: number;
        worldCalendarClass: typeof CalendarData;
        worldCalendarConfig: CalendarConfig;
    } = ...

    Configuration for time tracking.

    Type Declaration

    • earthCalendarClass: typeof CalendarData

      The CalendarData subclass is used for IRL timekeeping.

    • earthCalendarConfig: CalendarConfig

      The Calendar configuration used for IRL timekeeping.

    • formatters: Record<string, TimeFormatter>

      Formatting functions used to display time data as strings.

    • roundTime: number

      The number of seconds that automatically elapse at the end of a Combat round.

    • turnTime: number

      The number of seconds that automatically elapse at the end of a Combat turn.

    • worldCalendarClass: typeof CalendarData

      The CalendarData subclass is used for in-world timekeeping.

    • worldCalendarConfig: CalendarConfig

      The Calendar configuration used for in-world timekeeping.