mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-14 04:34:19 +01:00
Misc.
This commit is contained in:
parent
6039be8685
commit
febfa8836e
1 changed files with 27 additions and 23 deletions
|
|
@ -49,6 +49,8 @@ public static class EquipSlotExtensions
|
||||||
7 => EquipSlot.Wrists,
|
7 => EquipSlot.Wrists,
|
||||||
8 => EquipSlot.RFinger,
|
8 => EquipSlot.RFinger,
|
||||||
9 => EquipSlot.LFinger,
|
9 => EquipSlot.LFinger,
|
||||||
|
10 => EquipSlot.MainHand,
|
||||||
|
11 => EquipSlot.OffHand,
|
||||||
_ => EquipSlot.Unknown,
|
_ => EquipSlot.Unknown,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -65,6 +67,8 @@ public static class EquipSlotExtensions
|
||||||
EquipSlot.Wrists => 7,
|
EquipSlot.Wrists => 7,
|
||||||
EquipSlot.RFinger => 8,
|
EquipSlot.RFinger => 8,
|
||||||
EquipSlot.LFinger => 9,
|
EquipSlot.LFinger => 9,
|
||||||
|
EquipSlot.MainHand => 10,
|
||||||
|
EquipSlot.OffHand => 11,
|
||||||
_ => uint.MaxValue,
|
_ => uint.MaxValue,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -112,7 +116,7 @@ public static class EquipSlotExtensions
|
||||||
EquipSlot.BodyHands => EquipSlot.Body,
|
EquipSlot.BodyHands => EquipSlot.Body,
|
||||||
EquipSlot.BodyLegsFeet => EquipSlot.Body,
|
EquipSlot.BodyLegsFeet => EquipSlot.Body,
|
||||||
EquipSlot.ChestHands => EquipSlot.Body,
|
EquipSlot.ChestHands => EquipSlot.Body,
|
||||||
_ => throw new InvalidEnumArgumentException($"{value} ({(int) value}) is not valid."),
|
_ => throw new InvalidEnumArgumentException( $"{value} ({( int )value}) is not valid." ),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue