// GUPS - AntiCheat - Core
using GUPS.AntiCheat.Core.Detector;
namespace GUPS.AntiCheat.Detector
{
///
/// Represents a default implementation of the interface, providing a possibility of false positive and threat rating.
///
public struct CheatingDetectionStatus : IDetectorStatus
{
///
/// Gets a value indicating the possibility of a false positive when assessing threats for the implementing subject from 0.0 to 1.0.
///
///
/// The value is represented as a positive float value ranging from 0.0 to 1.0, where 0.0 indicates no possibility of a false positive,
/// and 1.0 denotes a 100% possibility of a false positive.
///
public float PossibilityOfFalsePositive { get; private set; }
///
/// Gets the threat rating associated with the detected cheating, indicating the assessed level of a potential threat.
///
///
/// The threat rating is represented as a positive 32-bit integer (UInt32), where higher values denote greater perceived threats.
///
public uint ThreatRating { get; private set; }
///
/// Creates a new instance of the struct with the specified possibility of false positive and threat rating.
///
/// The possibility of a false positive ranging from 0.0 to 1.0.
/// The threat rating.
public CheatingDetectionStatus(float _PossibilityOfFalsePositive, uint _ThreatRating)
{
this.PossibilityOfFalsePositive = _PossibilityOfFalsePositive;
this.ThreatRating = _ThreatRating;
}
}
}