using System; using System.Collections.Generic; namespace UnityAntiModLoader.Models { public enum DetectionSeverity { None, Low, Medium, High, Critical } [Serializable] public class ModDetectionResult { public bool IsModLoaderDetected => DetectedArtifacts != null && DetectedArtifacts.Count > 0; public string FrameworkName { get; set; } = "None"; public DetectionSeverity Severity { get; set; } = DetectionSeverity.None; public List DetectedArtifacts { get; set; } = new List(); public DateTime DetectionTimestamp { get; set; } = DateTime.UtcNow; public override string ToString() { if (!IsModLoaderDetected) return "[AntiModLoader] No mod loader detected. Environment clean."; return $"[AntiModLoader] Detected '{FrameworkName}' (Severity: {Severity}) -> Artifacts: {string.Join(", ", DetectedArtifacts)}"; } } }