handle depricated properties for "IsIconVisibleInChat" and "IsIconVisibleInNameplate"

This commit is contained in:
2022-11-13 21:16:45 +01:00
parent 3e347e2bca
commit 1014fcc9f3

View File

@@ -107,6 +107,18 @@ namespace PlayerTags.Data
public InheritableValue<Guid> CustomId = new InheritableValue<Guid>(Guid.Empty);
[JsonProperty, Obsolete]
private InheritableValue<bool> IsIconVisibleInChat
{
set => IsRoleIconVisibleInChat = value;
}
[JsonProperty, Obsolete]
private InheritableValue<bool> IsIconVisibleInNameplate
{
set => IsRoleIconVisibleInNameplates = value;
}
[InheritableCategory("IconCategory")]
public InheritableValue<BitmapFontIcon> Icon = new InheritableValue<BitmapFontIcon>(BitmapFontIcon.Aethernet);
[InheritableCategory("IconCategory")]