Struct PackageSourceDetectionStatus
Default IPackageSourceDetectionStatus implementation.
Namespace: GUPS.AntiCheat.Detector.InstallSource
Assembly: cs.temp.dll.dll
Syntax
public struct PackageSourceDetectionStatus : IPackageSourceDetectionStatus, ICheatingDetectionStatus
Constructors
PackageSourceDetectionStatus(Single, UInt32, EInstallSourcePlatform, Boolean, String, String)
Creates a new PackageSourceDetectionStatus.
Declaration
public PackageSourceDetectionStatus(float _PossibilityOfFalsePositive, uint _ThreatRating, EInstallSourcePlatform _Platform, bool _MonitorFailedToRetrieveData, String _SourceName, String _SourceIdentifier)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | _PossibilityOfFalsePositive | The false-positive likelihood in the range |
| System.UInt32 | _ThreatRating | The threat rating reported with the detection. |
| EInstallSourcePlatform | _Platform | The platform whose install source was rejected. |
| System.Boolean | _MonitorFailedToRetrieveData | Whether the source monitor failed to retrieve its data. |
| String | _SourceName | The recognized source name. A null value is stored as an empty string. |
| String | _SourceIdentifier | The raw source identifier. A null value is stored as an empty string. |
Properties
CheatType
Gets the kind of cheating this detection reports.
Declaration
public readonly ECheatType CheatType { get; }
Property Value
| Type | Description |
|---|---|
| ECheatType |
MonitorFailedToRetrieveData
Gets a value indicating whether the source monitor failed to retrieve its data.
Declaration
public bool MonitorFailedToRetrieveData { readonly get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Remarks
On Android and iOS a retrieval failure is itself reported, with a higher false-positive chance, because the operating system installer API could not be read. On desktop a retrieval failure is not reported: a local file read that throws is not treated as evidence.
Platform
Gets the platform whose install source was rejected.
Declaration
public EInstallSourcePlatform Platform { readonly get; }
Property Value
| Type | Description |
|---|---|
| EInstallSourcePlatform |
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 |
SourceIdentifier
Gets the raw source identifier: the Android installer package name, the iOS marketplace bundle identifier or channel token, or the short desktop marker. Never a full path.
Declaration
public String SourceIdentifier { readonly get; }
Property Value
| Type | Description |
|---|---|
| String |
SourceName
Gets the recognized source name (GooglePlay, AppStore, Steam, ...).
Declaration
public String SourceName { readonly get; }
Property Value
| Type | Description |
|---|---|
| String |
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 |