Class SerializedFile
Serialized files contain binary serialized objects and optional run-time type information.
They have file name extensions like .asset, .assets, .sharedAssets but may also have no extension at all
Inheritance
System.Object
SerializedFile
Assembly: AssetRipper.IO.Files.dll
Syntax
public sealed class SerializedFile : FileBase
Properties
|
Improve this Doc
View Source
Dependencies
Declaration
public ReadOnlySpan<FileIdentifier> Dependencies { get; }
Property Value
|
Improve this Doc
View Source
EndianType
Declaration
public EndianType EndianType { get; }
Property Value
Type |
Description |
AssetRipper.IO.Endian.EndianType |
|
|
Improve this Doc
View Source
Flags
Declaration
public TransferInstructionFlags Flags { get; }
Property Value
|
Improve this Doc
View Source
Generation
Declaration
public FormatVersion Generation { get; }
Property Value
|
Improve this Doc
View Source
HasTypeTree
Declaration
public bool HasTypeTree { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Objects
Declaration
public ReadOnlySpan<ObjectInfo> Objects { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public BuildTarget Platform { get; }
Property Value
Type |
Description |
AssetRipper.IO.Files.BuildTarget |
|
|
Improve this Doc
View Source
RefTypes
Declaration
public ReadOnlySpan<SerializedTypeReference> RefTypes { get; }
Property Value
|
Improve this Doc
View Source
ScriptTypes
Declaration
public ReadOnlySpan<LocalSerializedObjectIdentifier> ScriptTypes { get; }
Property Value
|
Improve this Doc
View Source
Types
Declaration
public ReadOnlySpan<SerializedType> Types { get; }
Property Value
|
Improve this Doc
View Source
Version
Declaration
public UnityVersion Version { get; }
Property Value
Type |
Description |
UnityVersion |
|
Methods
|
Improve this Doc
View Source
FromBuilder(SerializedFileBuilder)
Declaration
public static SerializedFile FromBuilder(SerializedFileBuilder builder)
Parameters
Returns
|
Improve this Doc
View Source
FromFile(String)
Declaration
public static SerializedFile FromFile(string filePath)
Parameters
Type |
Name |
Description |
System.String |
filePath |
|
Returns
|
Improve this Doc
View Source
IsSerializedFile(Stream)
Declaration
public static bool IsSerializedFile(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Read(SmartStream)
Declaration
public override void Read(SmartStream stream)
Parameters
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
Write(Stream)
Declaration
public override void Write(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
Overrides