Script API - v26.60.30
    Preparing search index...

    Class WorldClockOnRestartBeforeEventRc

    Contains information related to a WorldClock restarting.

    export class WorldClockOnRestartBeforeEvent {
    private constructor();
    cancel: boolean;
    readonly clock: WorldClock;
    newTime: number;
    }
    Index
    cancel: boolean

    If set to true, cancels the world clock restart event. This will keep the world clock at the maximum time value and prevent it from ticking forward.

    This property can't be read in early-execution mode.

    clock: WorldClock

    The world clock that is restarting.

    This property can't be read in early-execution mode.

    newTime: number

    The time that the world clock will be set to after it restarts. If not set, the world clock will be set to 0.

    Minimum Value: 0

    This property can't be read in early-execution mode.