add level color coding to target on penalty list for issue #265
This commit is contained in:
@ -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"]})" : "")}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user