Class SerializedTypeBase
Inheritance
System.Object
SerializedTypeBase
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)
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
Declaration
public TypeTree OldType { get; }
Property Value
|
Improve this Doc
View Source
OldTypeHash
Declaration
public byte[] OldTypeHash { get; set; }
Property Value
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
OriginalTypeID
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
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
5.0.0unk2 and greater, ie format version 13+
Declaration
public static bool HasHash(FormatVersion generation)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
5.5.0a and greater, ie format version 16+
Declaration
public static bool HasIsStrippedType(FormatVersion generation)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
5.5.0 and greater, ie format version 17+
Declaration
public static bool HasScriptTypeIndex(FormatVersion generation)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
2019.3 and greater, ie format version 21+
Declaration
public static bool HasTypeDependencies(FormatVersion generation)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
ReadTypeDependencies(SerializedReader)
Declaration
protected abstract void ReadTypeDependencies(SerializedReader reader)
Parameters
|
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
|
Improve this Doc
View Source
WriteTypeDependencies(SerializedWriter)
Declaration
protected abstract void WriteTypeDependencies(SerializedWriter writer)
Parameters