mirror of
https://github.com/aelurum/AssetStudio.git
synced 2026-11-14 11:18:47 -05:00
21 lines
601 B
C#
21 lines
601 B
C#
using System.Linq;
|
|
|
|
namespace AssetStudio
|
|
{
|
|
public class SerializedType
|
|
{
|
|
public int classID;
|
|
public bool m_IsStrippedType;
|
|
public short m_ScriptTypeIndex = -1;
|
|
public TypeTree m_Type;
|
|
public byte[] m_ScriptID; //Hash128
|
|
public byte[] m_OldTypeHash; //Hash128
|
|
public int[] m_TypeDependencies;
|
|
public string m_KlassName;
|
|
public string m_NameSpace;
|
|
public string m_AsmName;
|
|
|
|
public bool Match(params ulong[] hashes) => hashes.Any(x => x == System.IO.Hashing.XxHash3.HashToUInt64(m_OldTypeHash));
|
|
}
|
|
}
|