Struct GameTimeStatus
Speed of Unity's clock relative to real time.
Implements
IWatchedSubject
Namespace: GUPS.AntiCheat.Monitor.Time
Assembly: cs.temp.dll.dll
Syntax
public struct GameTimeStatus
Constructors
GameTimeStatus(EGameTimeDeviation, Single, Double)
Initializes a new instance of the GameTimeStatus struct.
Declaration
public GameTimeStatus(EGameTimeDeviation _Deviation, float _SpeedFactor, double _ReferenceElapsed = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| EGameTimeDeviation | _Deviation | The classified deviation of Unity's clock from real time. |
| System.Single | _SpeedFactor | Elapsed Unity time divided by elapsed real time (1.0 = real speed). |
| System.Double | _ReferenceElapsed | Reference clock elapsed seconds at this report. Zero when there is no reference clock. |
Properties
Deviation
Gets the classified deviation of Unity's clock from real time.
Declaration
public EGameTimeDeviation Deviation { readonly get; }
Property Value
| Type | Description |
|---|---|
| EGameTimeDeviation |
ReferenceElapsed
Reference seconds at this report. Zero when there is no reference clock.
Declaration
public double ReferenceElapsed { readonly get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
SpeedFactor
Unity elapsed divided by real elapsed. 1 is real speed.
Declaration
public float SpeedFactor { readonly get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Implements
IWatchedSubject