Class MobileGenuineDetector
Detects whether the built mobile app (Android, iOS) is genuine, using Unity's
Implements
Inherited Members
Namespace: GUPS.AntiCheat.Detector.Mobile
Assembly: cs.temp.dll.dll
Syntax
public class MobileGenuineDetector : ADetector
Fields
CheckGenuineOnlyOnGameStart
Run the genuine check only once on detector start. The genuine check can be resource intensive.
Declaration
public bool CheckGenuineOnlyOnGameStart
Field Value
| Type | Description |
|---|---|
| System.Boolean |
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> |
RecheckIntervalForPossibleCheating
Interval in seconds between genuine checks.
Declaration
public float RecheckIntervalForPossibleCheating
Field Value
| Type | Description |
|---|---|
| System.Single |
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
Name
Gets the human-readable name of the detector.
Declaration
public override String Name { get; }
Property Value
| Type | Description |
|---|---|
| String |
Overrides
PossibilityOfFalsePositive
Gets the false-positive likelihood reported with each detection.
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
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
Methods
ManualGenuineCheck()
Performs a single genuine check on demand.
Declaration
public bool ManualGenuineCheck()
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
OnCompleted()
Called when an observed subject signals completion.
Declaration
public override void OnCompleted()
Overrides
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
OnNext(IWatchedSubject)
Called when an observed subject publishes a new status.
Declaration
public override void OnNext(IWatchedSubject _Subject)
Parameters
| Type | Name | Description |
|---|---|---|
| IWatchedSubject | _Subject | The status published by the observed subject. |
Overrides
Start()
Runs the genuine check on start and starts the periodic recheck loop when supported by the platform.
Declaration
protected virtual void Start()