Show / Hide Table of Contents

Class SerializedTypeBase

Inheritance
System.Object
SerializedTypeBase
SerializedType
SerializedTypeReference
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: AssetRipper.IO.Files.SerializedFiles.Parser
Assembly: AssetRipper.IO.Files.dll
Syntax
public abstract class SerializedTypeBase

Properties

| Improve this Doc View Source

IsStrippedType

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

OldType

The type of the class.

Declaration
public TypeTree OldType { get; }
Property Value
Type Description
TypeTree
| Improve this Doc View Source

OldTypeHash

Declaration
public byte[] OldTypeHash { get; set; }
Property Value
Type Description
System.Byte[]
| Improve this Doc View Source

OriginalTypeID

For versions less than 17, it specifies TypeID or -ScriptTypeIndex -1 for MonoBehaviour

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

RawTypeID

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

ScriptID

Hash128

Declaration
public byte[] ScriptID { get; set; }
Property Value
Type Description
System.Byte[]
| Improve this Doc View Source

ScriptTypeIndex

For specifies script type

Declaration
public short ScriptTypeIndex { get; set; }
Property Value
Type Description
System.Int16
| Improve this Doc View Source

TypeID

Declaration
public int TypeID { get; set; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

HasHash(FormatVersion)

5.0.0unk2 and greater, ie format version 13+

Declaration
public static bool HasHash(FormatVersion generation)
Parameters
Type Name Description
FormatVersion generation
Returns
Type Description
System.Boolean
| Improve this Doc View Source

HasIsStrippedType(FormatVersion)

5.5.0a and greater, ie format version 16+

Declaration
public static bool HasIsStrippedType(FormatVersion generation)
Parameters
Type Name Description
FormatVersion generation
Returns
Type Description
System.Boolean
| Improve this Doc View Source

HasScriptTypeIndex(FormatVersion)

5.5.0 and greater, ie format version 17+

Declaration
public static bool HasScriptTypeIndex(FormatVersion generation)
Parameters
Type Name Description
FormatVersion generation
Returns
Type Description
System.Boolean
| Improve this Doc View Source

HasTypeDependencies(FormatVersion)

2019.3 and greater, ie format version 21+

Declaration
public static bool HasTypeDependencies(FormatVersion generation)
Parameters
Type Name Description
FormatVersion generation
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IgnoreScriptTypeForHash(FormatVersion, UnityVersion)

Declaration
protected abstract bool IgnoreScriptTypeForHash(FormatVersion formatVersion, UnityVersion unityVersion)
Parameters
Type Name Description
FormatVersion formatVersion
UnityVersion unityVersion
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Read(SerializedReader, Boolean)

Declaration
public void Read(SerializedReader reader, bool hasTypeTree)
Parameters
Type Name Description
SerializedReader reader
System.Boolean hasTypeTree
| Improve this Doc View Source

ReadTypeDependencies(SerializedReader)

Declaration
protected abstract void ReadTypeDependencies(SerializedReader reader)
Parameters
Type Name Description
SerializedReader reader
| Improve this Doc View Source

ToString()

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

Write(SerializedWriter, Boolean)

Declaration
public void Write(SerializedWriter writer, bool hasTypeTree)
Parameters
Type Name Description
SerializedWriter writer
System.Boolean hasTypeTree
| Improve this Doc View Source

WriteTypeDependencies(SerializedWriter)

Declaration
protected abstract void WriteTypeDependencies(SerializedWriter writer)
Parameters
Type Name Description
SerializedWriter writer
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾