mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 05:04:15 +01:00
Add basic version of item swap, seemingly working for hair, tail and ears.
This commit is contained in:
parent
e534ce37d5
commit
5b3d5d1e67
22 changed files with 1730 additions and 120 deletions
|
|
@ -37,6 +37,17 @@ public static class BodySlotEnumExtension
|
|||
BodySlot.Zear => 'z',
|
||||
_ => throw new InvalidEnumArgumentException(),
|
||||
};
|
||||
|
||||
public static CustomizationType ToCustomizationType(this BodySlot value)
|
||||
=> value switch
|
||||
{
|
||||
BodySlot.Hair => CustomizationType.Hair,
|
||||
BodySlot.Face => CustomizationType.Face,
|
||||
BodySlot.Tail => CustomizationType.Tail,
|
||||
BodySlot.Body => CustomizationType.Body,
|
||||
BodySlot.Zear => CustomizationType.Zear,
|
||||
_ => throw new ArgumentOutOfRangeException(nameof(value), value, null)
|
||||
};
|
||||
}
|
||||
|
||||
public static partial class Names
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue