SkinBOX - Add static member 'ValidBoxTypes'

This commit is contained in:
miku-666
2024-04-06 23:26:53 +02:00
parent 5c08334bf2
commit 189c28dbd3

View File

@@ -17,6 +17,7 @@
**/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace PckStudio.Internal
@@ -25,6 +26,28 @@ namespace PckStudio.Internal
{
public static readonly SkinBOX Empty = new SkinBOX("HEAD", new Vector3(-4, -8, -4), new Vector3(8), Vector2.Zero);
public static readonly string[] BaseTypes = new string[]
{
"HEAD",
"BODY",
"ARM0",
"ARM1",
"LEG0",
"LEG1",
};
public static readonly string[] OverlayTypes = new string[]
{
"HEADWEAR",
"JACKET",
"SLEEVE0",
"SLEEVE1",
"PANTS0",
"PANTS1",
};
public static readonly string[] ValidBoxTypes = BaseTypes.Concat(OverlayTypes).ToArray();
public string Type { get; set; }
public Vector3 Pos;
public Vector3 Size;