2018-09-26 21:23:10 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace AssetStudio
|
|
|
|
|
{
|
2018-10-16 03:48:23 +00:00
|
|
|
|
public class TypeTreeNode
|
2018-09-26 21:23:10 +00:00
|
|
|
|
{
|
|
|
|
|
public string m_Type;
|
|
|
|
|
public string m_Name;
|
|
|
|
|
public int m_ByteSize;
|
|
|
|
|
public int m_Index;
|
2020-04-10 10:11:56 +00:00
|
|
|
|
public int m_IsArray; //m_TypeFlags
|
2018-09-26 21:23:10 +00:00
|
|
|
|
public int m_Version;
|
|
|
|
|
public int m_MetaFlag;
|
2018-10-16 03:48:23 +00:00
|
|
|
|
public int m_Level;
|
2019-04-18 02:46:06 +00:00
|
|
|
|
public uint m_TypeStrOffset;
|
|
|
|
|
public uint m_NameStrOffset;
|
2020-04-10 10:11:56 +00:00
|
|
|
|
public ulong m_RefTypeHash;
|
2020-08-13 16:02:59 +00:00
|
|
|
|
|
|
|
|
|
public TypeTreeNode() { }
|
|
|
|
|
|
|
|
|
|
public TypeTreeNode(string type, string name, int level, bool align)
|
|
|
|
|
{
|
|
|
|
|
m_Type = type;
|
|
|
|
|
m_Name = name;
|
|
|
|
|
m_Level = level;
|
|
|
|
|
m_MetaFlag = align ? 0x4000 : 0;
|
|
|
|
|
}
|
2018-09-26 21:23:10 +00:00
|
|
|
|
}
|
|
|
|
|
}
|