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,23 @@
using System;
namespace Penumbra.GameData.Structs
{
public readonly struct SetId : IComparable<SetId>
{
public readonly ushort Value;
public SetId( ushort value )
=> Value = value;
public static implicit operator SetId( ushort id ) => new(id);
public static explicit operator ushort( SetId id )
=> id.Value;
public override string ToString()
=> Value.ToString();
public int CompareTo( SetId other )
=> Value.CompareTo( other.Value );
}
}