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