add level color coding to target on penalty list for issue #265

This commit is contained in:
RaidMax
2022-10-13 10:41:51 -05:00
parent 407ce2bc8f
commit 3b83729457
3 changed files with 6 additions and 3 deletions

View File

@ -7,6 +7,7 @@ namespace SharedLibraryCore.Dtos
public class PenaltyInfo : SharedInfo
{
public string OffenderName { get; set; }
public Permission OffenderLevel { get; set; }
public int OffenderId { get; set; }
public ulong OffenderNetworkId { get; set; }
public string OffenderIPAddress { get; set; }
@ -38,4 +39,4 @@ namespace SharedLibraryCore.Dtos
public string AdditionalPenaltyInformation =>
$"{(!string.IsNullOrEmpty(AutomatedOffense) ? $" ({AutomatedOffense})" : "")}{(IsEvade ? $" ({Utilities.CurrentLocalization.LocalizationIndex["WEBFRONT_PENALTY_EVADE"]})" : "")}";
}
}
}