Skip to main content
Version: 1.0.0

Class SessionClock

Namespace: OblivionMp.Sdk.Serverside
Assembly: OblivionMp.Sdk.Serverside.dll

The session's game time, read from an area's clock.

public sealed class SessionClock

Inheritance​

object ← SessionClock

Inherited Members​

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors​

SessionClock(IEntities)​

The session's game time, read from an area's clock.

public SessionClock(IEntities entities)

Parameters​

entities IEntities

Methods​

NowGameHours()​

Game hours since the game started, or 0 before any area exists.

public float NowGameHours()

Returns​

float