using System; using LANCommander.Steam.Enums; using LANCommander.Steam.Models; namespace LANCommander.Steam.Events; /// /// Event arguments for install status changes (started, completed, failed) /// public class SteamCmdInstallStatusEventArgs : EventArgs { /// /// The install job this status change is for /// public SteamCmdInstallJob Job { get; } /// /// The new status /// public SteamCmdInstallStatus Status { get; } /// /// Error message if the status is Failed /// public string? ErrorMessage { get; } public SteamCmdInstallStatusEventArgs(SteamCmdInstallJob job, SteamCmdInstallStatus status, string? errorMessage = null) { Job = job; Status = status; ErrorMessage = errorMessage; } }