Struct GameTimeDetectionStatus
Game-clock detection: whether Unity's clock drifted and whether fixed delta time was rewritten.
Namespace: GUPS.AntiCheat.Detector
Assembly: cs.temp.dll.dll
Syntax
public struct GameTimeDetectionStatus : ICheatingDetectionStatus
Constructors
GameTimeDetectionStatus(Single, UInt32, EGameTimeDeviation, Boolean, Boolean)
Creates a new GameTimeDetectionStatus.
Declaration
public GameTimeDetectionStatus(float _PossibilityOfFalsePositive, uint _ThreatRating, EGameTimeDeviation _Deviation, bool _DeltaTimeCheating, bool _FixedDeltaTimeCheating)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | _PossibilityOfFalsePositive | The false-positive likelihood in the range |
| System.UInt32 | _ThreatRating | The threat rating reported with the detection. |
| EGameTimeDeviation | _Deviation | The classified drift of Unity's clock. |
| System.Boolean | _DeltaTimeCheating | Whether the window confirmed a speed hack on |
| System.Boolean | _FixedDeltaTimeCheating | Whether |
Properties
CheatType
Gets the kind of cheating this detection reports.
Declaration
public readonly ECheatType CheatType { get; }
Property Value
| Type | Description |
|---|---|
| ECheatType |
DeltaTimeCheating
Gets a value indicating whether the window confirmed a speed hack on deltaTime.
Declaration
public bool DeltaTimeCheating { readonly get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Deviation
Gets the classified drift of Unity's clock.
Declaration
public EGameTimeDeviation Deviation { readonly get; }
Property Value
| Type | Description |
|---|---|
| EGameTimeDeviation |
FixedDeltaTimeCheating
Gets a value indicating whether fixedDeltaTime was rewritten.
Declaration
public bool FixedDeltaTimeCheating { readonly get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
PossibilityOfFalsePositive
Gets the probability that the reported threat is a false positive, in the range [0.0, 1.0].
Declaration
public float PossibilityOfFalsePositive { readonly get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
ThreatRating
Gets the threat rating reported with this detection. Higher values denote greater perceived threats.
Declaration
public uint ThreatRating { readonly get; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |