mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +01:00
Some Glamourer stuff
This commit is contained in:
parent
a293e7dfea
commit
7d1d6ac829
4 changed files with 42 additions and 15 deletions
|
|
@ -40,6 +40,12 @@ public struct CharacterWeapon : IEquatable<CharacterWeapon>
|
|||
Stain = (StainId)(value >> 48);
|
||||
}
|
||||
|
||||
public CharacterArmor ToArmor()
|
||||
=> new(Set, (byte)Variant, Stain);
|
||||
|
||||
public CharacterArmor ToArmor(StainId stain)
|
||||
=> new(Set, (byte)Variant, stain);
|
||||
|
||||
public static readonly CharacterWeapon Empty = new(0, 0, 0, 0);
|
||||
|
||||
public bool Equals(CharacterWeapon other)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue