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

allow toggle of automated penalties display on the webfront

issue #112
fix small issue with script plugin loading
This commit is contained in:
RaidMax
2020-02-12 13:13:59 -06:00
parent af380d3744
commit 7230654da2
9 changed files with 134 additions and 36 deletions

View File

@ -2,9 +2,24 @@
namespace WebfrontCore.ViewModels
{
/// <summary>
/// helper class to determine the filters to apply to penalties
/// </summary>
public class PenaltyFilterInfo
{
/// <summary>
/// number of items offset from the start of the list
/// </summary>
public int Offset { get; set; }
/// <summary>
/// show only a certain type of penalty
/// </summary>
public PenaltyType ShowOnly { get; set; }
/// <summary>
/// ignore penalties that are automated
/// </summary>
public bool IgnoreAutomated { get; set; }
}
}