mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-31 19:54:44 +00:00
Create MaterialsFile class
This commit is contained in:
23
PCK-Studio/Classes/FileTypes/MaterialsFile.cs
Normal file
23
PCK-Studio/Classes/FileTypes/MaterialsFile.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PckStudio.Classes.FileTypes
|
||||
{
|
||||
public class MaterialsFile
|
||||
{
|
||||
public List<MaterialEntry> entries { get; } = new List<MaterialEntry>();
|
||||
public struct MaterialEntry
|
||||
{
|
||||
public string name;
|
||||
public string material_type;
|
||||
public MaterialEntry(string name, string material_type) : this()
|
||||
{
|
||||
this.name = name;
|
||||
this.material_type = material_type;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user