Show / Hide Table of Contents

Struct BundlePath

Implements
IPath<BundlePath>
IEquatable<BundlePath>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: AssetRipper.GUI.Web.Paths
Assembly: AssetRipper.GUI.Web.dll
Syntax
public readonly struct BundlePath : IPath<BundlePath>

Constructors

| Improve this Doc View Source

BundlePath(ReadOnlyMemory<Int32>)

Declaration
[JsonConstructor]
public BundlePath(ReadOnlyMemory<int> path)
Parameters
Type Name Description
ReadOnlyMemory<System.Int32> path
| Improve this Doc View Source

BundlePath(ReadOnlySpan<Int32>)

Declaration
public BundlePath(ReadOnlySpan<int> path)
Parameters
Type Name Description
ReadOnlySpan<System.Int32> path

Properties

| Improve this Doc View Source

Depth

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

IsRoot

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

Parent

Get the path of the parent bundle.

Declaration
[JsonIgnore]
public readonly BundlePath Parent { get; }
Property Value
Type Description
BundlePath
Remarks

If IsRoot, then this will return langword_csharp_default.

| Improve this Doc View Source

Path

Declaration
[JsonPropertyName("P")]
public readonly ReadOnlyMemory<int> Path { get; }
Property Value
Type Description
ReadOnlyMemory<System.Int32>
| Improve this Doc View Source

Span

Declaration
[JsonIgnore]
public readonly ReadOnlySpan<int> Span { get; }
Property Value
Type Description
ReadOnlySpan<System.Int32>

Methods

| Improve this Doc View Source

Equals(BundlePath)

Declaration
public readonly bool Equals(BundlePath other)
Parameters
Type Name Description
BundlePath 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

FromJson(String)

Declaration
public static BundlePath FromJson(string json)
Parameters
Type Name Description
System.String json
Returns
Type Description
BundlePath
| Improve this Doc View Source

GetChild(Int32)

Declaration
public readonly BundlePath GetChild(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
BundlePath
| Improve this Doc View Source

GetCollection(Int32)

Declaration
public readonly CollectionPath GetCollection(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
AssetRipper.GUI.Web.Paths.CollectionPath
| Improve this Doc View Source

GetFailedFile(Int32)

Declaration
public readonly FailedFilePath GetFailedFile(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
AssetRipper.GUI.Web.Paths.FailedFilePath
| 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

GetResource(Int32)

Declaration
public readonly ResourcePath GetResource(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
AssetRipper.GUI.Web.Paths.ResourcePath
| Improve this Doc View Source

ToJson()

Declaration
public readonly string ToJson()
Returns
Type Description
System.String
| Improve this Doc View Source

ToString()

Declaration
public override readonly string ToString()
Returns
Type Description
System.String
Overrides
System.ValueType.ToString()

Operators

| Improve this Doc View Source

Equality(BundlePath, BundlePath)

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

Implicit(BundlePath to ReadOnlySpan<Int32>)

Declaration
public static implicit operator ReadOnlySpan<int>(BundlePath path)
Parameters
Type Name Description
BundlePath path
Returns
Type Description
ReadOnlySpan<System.Int32>
| Improve this Doc View Source

Inequality(BundlePath, BundlePath)

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

Implements

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