using PkmnLib.Static.Libraries; using PkmnLib.Static.Utils; namespace PkmnLib.Static; /// /// A number that identifies a type. To be used with /// public readonly record struct TypeIdentifier { /// /// The name of the type identifier. /// public StringKey Name { get; } /// /// The underlying value of the type identifier. /// public byte Value { get; } /// public TypeIdentifier(byte value, StringKey name) { Value = value; Name = name; } /// public override int GetHashCode() => Value.GetHashCode(); }