Change admin log filter types and impacts to use hashsets

This commit is contained in:
DrSmugleaf
2021-12-24 20:48:21 +01:00
parent ae287f264a
commit 2f75b282b9
5 changed files with 10 additions and 11 deletions

View File

@@ -48,8 +48,8 @@ public static class AdminLogsEuiMsg
{
public LogsRequest(
int? roundId,
List<LogType>? types,
List<LogImpact>? impacts,
HashSet<LogType>? types,
HashSet<LogImpact>? impacts,
DateTime? before,
DateTime? after,
Guid[]? anyPlayers,
@@ -69,8 +69,8 @@ public static class AdminLogsEuiMsg
}
public int? RoundId { get; set; }
public List<LogType>? Types { get; set; }
public List<LogImpact>? Impacts { get; set; }
public HashSet<LogType>? Types { get; set; }
public HashSet<LogImpact>? Impacts { get; set; }
public DateTime? Before { get; set; }
public DateTime? After { get; set; }
public Guid[]? AnyPlayers { get; set; }