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