Move ActorEquip and related structs to GameData.

This commit is contained in:
Ottermandias 2021-07-25 02:25:46 +02:00
parent c7a17d0180
commit fce9ec5659
8 changed files with 8 additions and 6 deletions

View file

@ -0,0 +1,27 @@
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}";
}
}