mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
UI for crests.
This commit is contained in:
parent
512d0a1a5f
commit
cd0196ddb4
4 changed files with 132 additions and 35 deletions
|
|
@ -77,4 +77,22 @@ public static class CrestExtensions
|
|||
CrestFlag.LFinger => EquipSlot.LFinger,
|
||||
_ => 0,
|
||||
};
|
||||
|
||||
public static string ToLabel(this CrestFlag flag)
|
||||
=> flag switch
|
||||
{
|
||||
CrestFlag.Head => "Head",
|
||||
CrestFlag.Body => "Chest",
|
||||
CrestFlag.Hands => "Gauntlets",
|
||||
CrestFlag.Legs => "Pants",
|
||||
CrestFlag.Feet => "Boot",
|
||||
CrestFlag.Ears => "Earrings",
|
||||
CrestFlag.Neck => "Necklace",
|
||||
CrestFlag.Wrists => "Bracelet",
|
||||
CrestFlag.RFinger => "Right Ring",
|
||||
CrestFlag.LFinger => "Left Ring",
|
||||
CrestFlag.MainHand => "Weapon",
|
||||
CrestFlag.OffHand => "Shield",
|
||||
_ => string.Empty,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue