mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
27 lines
752 B
C#
27 lines
752 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Penumbra.GameData.Structs
|
|
{
|
|
[StructLayout( LayoutKind.Sequential, Pack = 1 )]
|
|
public readonly struct ActorEquip
|
|
{
|
|
public readonly SetId Set;
|
|
public readonly byte Variant;
|
|
public readonly StainId Stain;
|
|
|
|
public override string ToString()
|
|
=> $"{Set},{Variant},{Stain}";
|
|
}
|
|
|
|
[StructLayout( LayoutKind.Sequential, Pack = 1 )]
|
|
public readonly struct ActorWeapon
|
|
{
|
|
public readonly SetId Set;
|
|
public readonly WeaponType Type;
|
|
public readonly ushort Variant;
|
|
public readonly StainId Stain;
|
|
|
|
public override string ToString()
|
|
=> $"{Set},{Type},{Variant},{Stain}";
|
|
}
|
|
}
|