This commit is contained in:
Perfare
2018-09-27 01:15:37 +08:00
parent 250856598b
commit 767e4d0bf6
50 changed files with 1802 additions and 2210 deletions
+32
View File
@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AssetStudio
{
public abstract class Object
{
public AssetPreloadData preloadData;
public AssetsFile sourceFile;
protected EndianBinaryReader reader;
public int[] version;
protected string[] buildType;
protected BuildTarget platform;
protected Object(AssetPreloadData preloadData)
{
this.preloadData = preloadData;
sourceFile = preloadData.sourceFile;
reader = preloadData.InitReader();
version = sourceFile.version;
buildType = sourceFile.buildType;
platform = (BuildTarget)sourceFile.platform;
if (platform == BuildTarget.NoTarget)
{
var m_ObjectHideFlags = reader.ReadUInt32();
}
}
}
}