Show / Hide Table of Contents

Struct TypeTreeNodeStruct

Implements
IReadOnlyList<TypeTreeNodeStruct>
IEquatable<TypeTreeNodeStruct>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: AssetRipper.Import.Structure.Assembly.TypeTrees
Assembly: AssetRipper.Import.dll
Syntax
public readonly struct TypeTreeNodeStruct

Constructors

| Improve this Doc View Source

TypeTreeNodeStruct(String, String, Int32, TransferMetaFlags, TypeTreeNodeStruct[])

Declaration
public TypeTreeNodeStruct(string typeName, string name, int version, TransferMetaFlags metaFlags, TypeTreeNodeStruct[] subNodes)
Parameters
Type Name Description
System.String typeName
System.String name
System.Int32 version
TransferMetaFlags metaFlags
TypeTreeNodeStruct[] subNodes

Properties

| Improve this Doc View Source

AlignBytes

Declaration
public readonly bool AlignBytes { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Count

Declaration
public readonly int Count { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

FlowMappedInYaml

Declaration
public readonly bool FlowMappedInYaml { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsArray

Declaration
public readonly bool IsArray { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsByte

Declaration
public readonly bool IsByte { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsManagedReferencesRegistry

This contains the data for an asset's [SerializeReference] fields.

Declaration
public readonly bool IsManagedReferencesRegistry { get; }
Property Value
Type Description
System.Boolean
Remarks

This is the last top-level field in the asset's type tree.

| Improve this Doc View Source

IsMap

Declaration
public readonly bool IsMap { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsNamedVector

This is the same as a vector, except the TypeName of the element type node is used instead of "vector" or any of the other predefined type names for arrays and lists.

Declaration
public readonly bool IsNamedVector { get; }
Property Value
Type Description
System.Boolean
Remarks

This was first noticed in a scriptable object where the field was a of a serializable class.

| Improve this Doc View Source

IsPair

Declaration
public readonly bool IsPair { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsPPtr

Declaration
public readonly bool IsPPtr { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsReferencedObjectData

This is the data for a [SerializeReference] object reference.

Declaration
public readonly bool IsReferencedObjectData { get; }
Property Value
Type Description
System.Boolean
Remarks

If the type tree is flattened into a list, this is the last entry in the list.

| Improve this Doc View Source

IsString

Declaration
public readonly bool IsString { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsTypelessData

Declaration
public readonly bool IsTypelessData { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsVector

Declaration
public readonly bool IsVector { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Item[Int32]

Declaration
public readonly TypeTreeNodeStruct this[int index] { get; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
TypeTreeNodeStruct
| Improve this Doc View Source

Item[String]

Declaration
public readonly TypeTreeNodeStruct this[string name] { get; }
Parameters
Type Name Description
System.String name
Property Value
Type Description
TypeTreeNodeStruct
| Improve this Doc View Source

MetaFlag

Declaration
public readonly TransferMetaFlags MetaFlag { get; }
Property Value
Type Description
TransferMetaFlags
| Improve this Doc View Source

Name

Declaration
public readonly string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SubNodes

Declaration
public readonly IReadOnlyList<TypeTreeNodeStruct> SubNodes { get; }
Property Value
Type Description
IReadOnlyList<TypeTreeNodeStruct>
| Improve this Doc View Source

TreatIntegerAsChar

Declaration
public readonly bool TreatIntegerAsChar { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

TypeName

Declaration
public readonly string TypeName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Version

Declaration
public readonly int Version { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Equals(TypeTreeNodeStruct)

Declaration
public readonly bool Equals(TypeTreeNodeStruct other)
Parameters
Type Name Description
TypeTreeNodeStruct other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override readonly bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.ValueType.Equals(System.Object)
| Improve this Doc View Source

FromSerializableType(SerializableType)

Declaration
public static TypeTreeNodeStruct FromSerializableType(SerializableType type)
Parameters
Type Name Description
SerializableType type
Returns
Type Description
TypeTreeNodeStruct
| Improve this Doc View Source

GetEnumerator()

Declaration
public readonly IEnumerator<TypeTreeNodeStruct> GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator<TypeTreeNodeStruct>
| Improve this Doc View Source

GetHashCode()

Declaration
public override readonly int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.ValueType.GetHashCode()
| Improve this Doc View Source

ToString()

Declaration
public override readonly string ToString()
Returns
Type Description
System.String
Overrides
System.ValueType.ToString()
| Improve this Doc View Source

TryMakeFromTpk(ClassIDType, UnityVersion, out TypeTreeNodeStruct, out TypeTreeNodeStruct)

Declaration
public static bool TryMakeFromTpk(ClassIDType classID, UnityVersion version, out TypeTreeNodeStruct releaseTree, out TypeTreeNodeStruct editorTree)
Parameters
Type Name Description
AssetRipper.SourceGenerated.ClassIDType classID
UnityVersion version
TypeTreeNodeStruct releaseTree
TypeTreeNodeStruct editorTree
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TryMakeFromTypeTree(TypeTree, out TypeTreeNodeStruct)

Declaration
public static bool TryMakeFromTypeTree(TypeTree tree, out TypeTreeNodeStruct rootNode)
Parameters
Type Name Description
TypeTree tree
TypeTreeNodeStruct rootNode
Returns
Type Description
System.Boolean

Operators

| Improve this Doc View Source

Equality(TypeTreeNodeStruct, TypeTreeNodeStruct)

Declaration
public static bool operator ==(TypeTreeNodeStruct left, TypeTreeNodeStruct right)
Parameters
Type Name Description
TypeTreeNodeStruct left
TypeTreeNodeStruct right
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Inequality(TypeTreeNodeStruct, TypeTreeNodeStruct)

Declaration
public static bool operator !=(TypeTreeNodeStruct left, TypeTreeNodeStruct right)
Parameters
Type Name Description
TypeTreeNodeStruct left
TypeTreeNodeStruct right
Returns
Type Description
System.Boolean

Explicit Interface Implementations

| Improve this Doc View Source

IEnumerable.GetEnumerator()

Declaration
readonly IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Implements

IReadOnlyList<>
IEquatable<>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾