mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-07-14 02:54:16 -04:00
separate code into library
misc
This commit is contained in:
26
AssetStudioGUI/Components/AssetItem.cs
Normal file
26
AssetStudioGUI/Components/AssetItem.cs
Normal file
@ -0,0 +1,26 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user