跳到主要内容
版本:Next

Class SessionClock

Namespace: OblivionMP.SDK.Serverside
Assembly: OblivionMP.SDK.Serverside.dll

The game time of an area, read from its 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 game time of an area, read from its clock.

public SessionClock(IEntities entities)

Parameters​

entities IEntities

Methods​

NowGameHours(AreaId)​

Game hours since the game started in area, or 0 before the area has a clock.

public float NowGameHours(AreaId area)

Parameters​

area AreaId

Returns​

float