AssetStudio/AssetStudioGUI/Components/AssetItem.cs
2018-11-19 06:48:06 +08:00

27 lines
672 B
C#

using System.Windows.Forms;
using AssetStudio;
namespace AssetStudioGUI
{
internal class AssetItem : ListViewItem
{
public SerializedFile sourceFile;
public ObjectReader reader;
public long FullSize;
public ClassIDType Type;
public string TypeString;
public string InfoText;
public string UniqueID;
public GameObject gameObject;
public AssetItem(ObjectReader reader)
{
sourceFile = reader.assetsFile;
this.reader = reader;
FullSize = reader.byteSize;
Type = reader.type;
TypeString = Type.ToString();
}
}
}