Table of Contents

Class WorldEpoch

Namespace
FishMMO.Shared.Celestial
Assembly
FishMMO.Shared.dll

The real instant the world clock counts from (Unix seconds, UTC): world seconds are seconds since it.

public static class WorldEpoch
Inheritance
WorldEpoch
Inherited Members

Remarks

Core. The world's calendar (the Sky & Time module) installs Source with its own epoch; without one the clock counts from DefaultUnixSeconds, which is also the calendar's default, so a world that never changed its calendar reads the same time with the module or without it. Every server, client and tool asks here rather than looking up a calendar, so the clock never depends on which world content is installed.

Fields

DefaultUnixSeconds

2026-01-01T00:00:00Z.

public const long DefaultUnixSeconds = 1767225600

Field Value

long

Properties

Source

The installed calendar's epoch, or null for DefaultUnixSeconds.

public static Func<long> Source { get; set; }

Property Value

Func<long>

UnixSeconds

The epoch now in use, Unix seconds.

public static long UnixSeconds { get; }

Property Value

long