1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

cleanup and simplify the CoD RCon implementation

This commit is contained in:
RaidMax
2022-10-23 14:03:57 -05:00
parent 7b2cd19fc1
commit 59acaadb92
4 changed files with 199 additions and 415 deletions

View File

@ -4,8 +4,15 @@ namespace SharedLibraryCore.Exceptions
{
public class RConException : Exception
{
public bool IsOperationCancelled { get; }
public RConException(string message) : base(message)
{
}
public RConException(string message, bool isOperationCancelled) : base(message)
{
IsOperationCancelled = isOperationCancelled;
}
}
}
}