Table of Contents

Class WorldTime

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

The world time, in real hours since the calendar epoch, from wherever it is known.

public static class WorldTime
Inheritance
WorldTime
Inherited Members

Properties

Hours

The world time now, hours, at the tick the connection's clock is read at (TimeManager): for code that has no FishNet.Managing.Timing.TimeManager of its own, or no reference to FishNet to name one.

public static double Hours { get; }

Property Value

double

Methods

CurrentHours(TimeManager)

From the world clock at the current (fractional) tick when it is anchored; offline, at the LocalWorldClock's tick when one is active; otherwise from this machine's clock.

public static double CurrentHours(TimeManager timeManager)

Parameters

timeManager TimeManager

Returns

double

UnanchoredHours()

World hours from the local UTC clock.

public static double UnanchoredHours()

Returns

double