Show / Hide Table of Contents

Interface IUnityAssetBase

Inherited Members
AssetRipper.IO.Endian.IEndianSpanReadable.ReadEditor(AssetRipper.IO.Endian.EndianSpanReader)
AssetRipper.IO.Endian.IEndianSpanReadable.ReadRelease(AssetRipper.IO.Endian.EndianSpanReader)
IAssetWritable.WriteEditor(AssetWriter)
IAssetWritable.WriteRelease(AssetWriter)
Namespace: AssetRipper.Assets
Assembly: AssetRipper.Assets.dll
Syntax
public interface IUnityAssetBase : IEndianSpanReadable, IAssetWritable

Properties

| Improve this Doc View Source

FlowMappedInYaml

TransferUsingFlowMappingStyle

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

SerializedVersion

Declaration
int SerializedVersion { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

AddToEqualityComparer(IUnityAssetBase, AssetEqualityComparer)

Compares this object to another object for deep value equality.

Declaration
bool? AddToEqualityComparer(IUnityAssetBase other, AssetEqualityComparer comparer)
Parameters
Type Name Description
IUnityAssetBase other

The other object.

AssetEqualityComparer comparer

The AssetEqualityComparer to which any dependent comparisons are added.

Returns
Type Description
System.Nullable<System.Boolean>

Null if it could not be immediately determined

Remarks

other is expected to be not null and of the same type as this object.

| Improve this Doc View Source

CopyValues(IUnityAssetBase, PPtrConverter)

Declaration
void CopyValues(IUnityAssetBase source, PPtrConverter converter)
Parameters
Type Name Description
IUnityAssetBase source
AssetRipper.Assets.Cloning.PPtrConverter converter
| Improve this Doc View Source

FetchDependencies()

Declaration
IEnumerable<(string, PPtr)> FetchDependencies()
Returns
Type Description
IEnumerable<System.ValueTuple<System.String, AssetRipper.Assets.Metadata.PPtr>>
| Improve this Doc View Source

IgnoreFieldInMetaFiles(String)

IgnoreInMetaFiles

Declaration
bool IgnoreFieldInMetaFiles(string fieldName)
Parameters
Type Name Description
System.String fieldName

The field's name, according to the original naming.

Returns
Type Description
System.Boolean

True if the field should not be emitted in yaml meta files.

| Improve this Doc View Source

Reset()

Declaration
void Reset()
| Improve this Doc View Source

WalkEditor(AssetWalker)

Walk this asset using original naming.

Declaration
void WalkEditor(AssetWalker walker)
Parameters
Type Name Description
AssetWalker walker

A walker for traversal.

| Improve this Doc View Source

WalkRelease(AssetWalker)

Walk this asset using original naming.

Declaration
void WalkRelease(AssetWalker walker)
Parameters
Type Name Description
AssetWalker walker

A walker for traversal.

| Improve this Doc View Source

WalkStandard(AssetWalker)

Walk this asset using standardized naming.

Declaration
void WalkStandard(AssetWalker walker)
Parameters
Type Name Description
AssetWalker walker

A walker for traversal.

Extension Methods

UnityAssetBaseExtensions.Read(IUnityAssetBase, ref EndianSpanReader, TransferInstructionFlags)
AssetWritableExtensions.Write(IAssetWritable, AssetWriter)
AssetWritableExtensions.Write(IAssetWritable, AssetWriter, TransferInstructionFlags)
TraversalHelperMethods.WalkPrimitiveField<TPrimitive>(IUnityAssetBase, AssetWalker, TPrimitive, String)
TraversalHelperMethods.WalkPrimitiveListField<TPrimitive>(IUnityAssetBase, AssetWalker, AssetList<TPrimitive>, String)
TraversalHelperMethods.WalkPPtrField<TAsset>(IUnityAssetBase, AssetWalker, IPPtr<TAsset>, String)
TraversalHelperMethods.WalkPPtrField<TAsset>(IUnityAssetBase, AssetWalker, PPtr<TAsset>, String)
TraversalHelperMethods.WalkPPtrListField<TAsset>(IUnityAssetBase, AssetWalker, IReadOnlyList<IPPtr<TAsset>>, String)
TraversalHelperMethods.WalkPPtrListField<TAsset>(IUnityAssetBase, AssetWalker, IReadOnlyList<PPtr<TAsset>>, String)
TraversalHelperMethods.WalkDictionaryPPtrField<TKey, TValue>(IUnityAssetBase, AssetWalker, IReadOnlyCollection<KeyValuePair<PPtr<TKey>, PPtr<TValue>>>, String)
TraversalHelperMethods.WalkStandardAssetField<TAsset>(IUnityAssetBase, AssetWalker, TAsset, String)
TraversalHelperMethods.WalkStandardAssetListField<TAsset>(IUnityAssetBase, AssetWalker, AssetList<TAsset>, String)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾