v0.80.65
This commit is contained in:
@@ -21,7 +21,7 @@ namespace AssetStudio
|
||||
public int[] version => assetsFile.version;
|
||||
public BuildType buildType => assetsFile.buildType;
|
||||
|
||||
public ObjectReader(EndianBinaryReader reader, SerializedFile assetsFile, ObjectInfo objectInfo, Game game) : base(new SubStream(reader.BaseStream, objectInfo.byteStart, objectInfo.byteSize), reader.Endian)
|
||||
public ObjectReader(EndianBinaryReader reader, SerializedFile assetsFile, ObjectInfo objectInfo, Game game) : base(reader.BaseStream, reader.Endian)
|
||||
{
|
||||
this.assetsFile = assetsFile;
|
||||
Game = game;
|
||||
@@ -41,11 +41,9 @@ namespace AssetStudio
|
||||
m_Version = assetsFile.header.m_Version;
|
||||
}
|
||||
|
||||
public bool Match(string hash) => Convert.ToHexString(serializedType.m_OldTypeHash) == hash;
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
Position = 0;
|
||||
Position = byteStart;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user