Example #1
0
 public string Dump(TypeTree m_Type)
 {
     if (m_Type != null)
     {
         return(TypeTreeHelper.ReadTypeString(m_Type, reader));
     }
     return(null);
 }
Example #2
0
 public virtual string Dump()
 {
     if (serializedType?.m_Type != null)
     {
         return(TypeTreeHelper.ReadTypeString(serializedType.m_Type, reader));
     }
     return(null);
 }
Example #3
0
 public string Dump()
 {
     if (serializedType?.m_Nodes != null)
     {
         var sb = new StringBuilder();
         TypeTreeHelper.ReadTypeString(sb, serializedType.m_Nodes, reader);
         return(sb.ToString());
     }
     return(null);
 }
Example #4
0
 public string Dump(List <TypeTreeNode> m_Nodes)
 {
     if (m_Nodes != null)
     {
         var sb = new StringBuilder();
         TypeTreeHelper.ReadTypeString(sb, m_Nodes, reader);
         return(sb.ToString());
     }
     return(null);
 }
Example #5
0
        public string Dump()
        {
            var reader = InitReader();

            if (sourceFile.m_Type.TryGetValue(Type1, out var typeTreeList))
            {
                var sb = new StringBuilder();
                TypeTreeHelper.ReadTypeString(sb, typeTreeList, reader);
                return(sb.ToString());
            }
            return(null);
        }