mirror of
https://github.com/Dongyifengs/AssetStudio-Genshin-MoYi.git
synced 2025-05-06 19:39:19 +08:00
30 lines
733 B
C#
30 lines
733 B
C#
|
using AssetStudio;
|
|||
|
|
|||
|
namespace AssetStudioCLI
|
|||
|
{
|
|||
|
public class AssetItem
|
|||
|
{
|
|||
|
public string Text;
|
|||
|
public Object Asset;
|
|||
|
public SerializedFile SourceFile;
|
|||
|
public string Container = string.Empty;
|
|||
|
public string TypeString;
|
|||
|
public long m_PathID;
|
|||
|
public long FullSize;
|
|||
|
public ClassIDType Type;
|
|||
|
public string InfoText;
|
|||
|
public string UniqueID;
|
|||
|
|
|||
|
public AssetItem(Object asset)
|
|||
|
{
|
|||
|
Text = "";
|
|||
|
Asset = asset;
|
|||
|
SourceFile = asset.assetsFile;
|
|||
|
Type = asset.type;
|
|||
|
TypeString = Type.ToString();
|
|||
|
m_PathID = asset.m_PathID;
|
|||
|
FullSize = asset.byteSize;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|