Show / Hide Table of Contents

Struct PPtrAccessList<TPPtr, TTarget>

Implements
IReadOnlyList<TTarget>
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: AssetRipper.Assets.Generics
Assembly: AssetRipper.Assets.dll
Syntax
public readonly struct PPtrAccessList<TPPtr, TTarget>
    where TPPtr : IPPtr<TTarget> where TTarget : IUnityObjectBase
Type Parameters
Name Description
TPPtr
TTarget

Constructors

| Improve this Doc View Source

PPtrAccessList(IReadOnlyList<TPPtr>, AssetCollection)

Declaration
public PPtrAccessList(IReadOnlyList<TPPtr> list, AssetCollection file)
Parameters
Type Name Description
IReadOnlyList<TPPtr> list
AssetCollection file
| Improve this Doc View Source

PPtrAccessList(IReadOnlyList<TPPtr>, IUnityObjectBase)

Declaration
public PPtrAccessList(IReadOnlyList<TPPtr> list, IUnityObjectBase asset)
Parameters
Type Name Description
IReadOnlyList<TPPtr> list
IUnityObjectBase asset

Properties

| Improve this Doc View Source

Count

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

Empty

Declaration
public static readonly PPtrAccessList<TPPtr, TTarget> Empty { get; }
Property Value
Type Description
PPtrAccessList<TPPtr, TTarget>
| Improve this Doc View Source

Item[Int32]

Declaration
public readonly TTarget this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
TTarget

Methods

| Improve this Doc View Source

Add(TTarget)

Declaration
public readonly void Add(TTarget item)
Parameters
Type Name Description
TTarget item
| Improve this Doc View Source

AddNew()

Declaration
public readonly TPPtr AddNew()
Returns
Type Description
TPPtr
| Improve this Doc View Source

AddRange(IEnumerable<TTarget>)

Declaration
public readonly void AddRange(IEnumerable<TTarget> items)
Parameters
Type Name Description
System.Collections.IEnumerable<TTarget> items
| Improve this Doc View Source

AddRange<TPPtrSource, TTargetSource>(PPtrAccessList<TPPtrSource, TTargetSource>)

Declaration
public readonly void AddRange<TPPtrSource, TTargetSource>(PPtrAccessList<TPPtrSource, TTargetSource> items)
    where TPPtrSource : IPPtr<TTargetSource> where TTargetSource : TTarget
Parameters
Type Name Description
PPtrAccessList<TPPtrSource, TTargetSource> items
Type Parameters
Name Description
TPPtrSource
TTargetSource
| Improve this Doc View Source

GetEnumerator()

Declaration
public readonly IEnumerator<TTarget> GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator<TTarget>
| Improve this Doc View Source

WhereNotNull()

Declaration
public readonly IEnumerable<TTarget> WhereNotNull()
Returns
Type Description
System.Collections.IEnumerable<TTarget>

Explicit Interface Implementations

| Improve this Doc View Source

IEnumerable.GetEnumerator()

Declaration
readonly IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Implements

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