• Hello
Search Results for

    Show / Hide Table of Contents

    Class GameTimeCheatingDetector

    Detects manipulation of (delta time and fixed delta time) and exposes a system-tick based fallback time once cheating is detected, used by GUPS.AntiCheat.Protected.Time.ProtectedTime.

    Inheritance
    System.Object
    ADetector
    GameTimeCheatingDetector
    Implements
    IDetector
    Inherited Members
    ADetector.IsActive
    ADetector.Subscribe(IObserver<IDetectorStatus>)
    ADetector.Notify(IDetectorStatus)
    ADetector.Dispose()
    Namespace: GUPS.AntiCheat.Detector
    Assembly: cs.temp.dll.dll
    Syntax
    public class GameTimeCheatingDetector : ADetector
    Remarks

    Subscribes on awake to the on the same .

    Fields

    OnCheatingDetectionEvent

    Unity event raised on every detection. Useful to wire up reactions through the inspector without writing an .

    Declaration
    public CheatingDetectionEvent<CheatingDetectionStatus> OnCheatingDetectionEvent
    Field Value
    Type Description
    CheatingDetectionEvent<CheatingDetectionStatus>

    Properties

    IsSupported

    Gets a value indicating whether the detector is supported on the current platform.

    Declaration
    public override bool IsSupported { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    ADetector.IsSupported

    Name

    Gets the human-readable name of the detector.

    Declaration
    public override String Name { get; }
    Property Value
    Type Description
    String
    Overrides
    ADetector.Name

    PossibilityOfFalsePositive

    Gets the false-positive likelihood reported with each detection. Set high because the game time monitor is sensitive to legitimate game hickups.

    Declaration
    public float PossibilityOfFalsePositive { get; }
    Property Value
    Type Description
    System.Single

    PossibleCheatingDetected

    Gets a value indicating whether the detector has observed possible cheating activity.

    Declaration
    public override bool PossibleCheatingDetected { get; protected set; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    ADetector.PossibleCheatingDetected

    ThreatRating

    Gets the threat rating reported with every detection. Higher values denote greater perceived threats.

    Declaration
    public override uint ThreatRating { get; protected set; }
    Property Value
    Type Description
    System.UInt32
    Overrides
    ADetector.ThreatRating

    Methods

    Awake()

    Subscribes to the on the same and resets the time state.

    Declaration
    protected override void Awake()
    Overrides
    ADetector.Awake()

    OnCompleted()

    Called when an observed subject signals completion.

    Declaration
    public override void OnCompleted()
    Overrides
    ADetector.OnCompleted()

    OnError(Exception)

    Called when an observed subject reports an error.

    Declaration
    public override void OnError(Exception _Error)
    Parameters
    Type Name Description
    Exception _Error

    The error reported by the observed subject.

    Overrides
    ADetector.OnError(Exception)

    OnLevelFinishedLoading(Scene, LoadSceneMode)

    Resets the time since level loaded when a new scene is loaded.

    Declaration
    protected virtual void OnLevelFinishedLoading(Scene _Scene, LoadSceneMode _Mode)
    Parameters
    Type Name Description
    Scene _Scene

    The loaded scene.

    LoadSceneMode _Mode

    The scene loading mode.

    OnNext(IWatchedSubject)

    Receives notifications from the subscribed , records the deviation and forwards any tampering to observers and event listeners.

    Declaration
    public override void OnNext(IWatchedSubject _Subject)
    Parameters
    Type Name Description
    IWatchedSubject _Subject

    The status published by the game time monitor.

    Overrides
    ADetector.OnNext(IWatchedSubject)

    Update()

    Refreshes the internal time state on every frame.

    Declaration
    protected virtual void Update()

    Implements

    IDetector

    See Also

    AntiCheatMonitor
    In This Article
    Back to top GuardingPearSoftware documentation