Add equipment swapping.

This commit is contained in:
Ottermandias 2022-12-31 12:19:03 +01:00
parent 6cd43aa304
commit a01f73cde4
10 changed files with 710 additions and 184 deletions

View file

@ -19,6 +19,16 @@ public readonly struct EstManipulation : IMetaManipulation< EstManipulation >
Head = CharacterUtility.Index.HeadEst,
}
public static string ToName( EstType type )
=> type switch
{
EstType.Hair => "hair",
EstType.Face => "face",
EstType.Body => "top",
EstType.Head => "met",
_ => "unk",
};
public ushort Entry { get; private init; } // SkeletonIdx.
[JsonConverter( typeof( StringEnumConverter ) )]