Created PSM Version 2

This commit is contained in:
MayNL
2026-07-04 17:52:16 -04:00
parent 991d87d421
commit 03fce7304f
7 changed files with 198 additions and 49 deletions
@@ -11,12 +11,13 @@ namespace PckStudio.ModelSupport.Extension
{
public static class SkinExtension
{
public static SkinModelInfo GetModelInfo(this Skin skin) => new SkinModelInfo(skin.Texture, skin.Anim, skin.Model);
public static SkinModelInfo GetModelInfo(this Skin skin) => new SkinModelInfo(skin.Texture, skin.Anim, skin.GameFlags, skin.Model);
public static void SetModelInfo(this Skin skin, SkinModelInfo modelInfo)
{
skin.Texture = modelInfo.Texture;
skin.Anim = modelInfo.Anim;
skin.GameFlags = modelInfo.SkinFlags;
skin.Model = modelInfo.Model;
}
}