DPB1Class · Utilities and settings

IndexedList<T>

Provides indexed list data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Common

public class IndexedList<T>
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

11 declared here

IndexedList

MethodLink ↗
public IndexedList<T>.IndexedList()

Creates a new IndexedList instance.

IndexedList

MethodLink ↗
public IndexedList<T>.IndexedList(bool isCyclic = false)

Creates a new IndexedList instance using the supplied arguments.

Parameters

isCyclic
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies is cyclic. Optional; the default is shown in the signature.

IndexedList

MethodLink ↗
public IndexedList<T>.IndexedList(IEnumerable<T> collection, bool isCyclic = false)

Creates a new IndexedList instance using the supplied arguments.

Parameters

collection
Parameter type: IEnumerable<T>No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies collection.

isCyclic
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies is cyclic. Optional; the default is shown in the signature.

IndexedList

MethodLink ↗
public IndexedList<T>.IndexedList(int capacity, bool isCyclic = false)

Creates a new IndexedList instance using the supplied arguments.

Parameters

capacity
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies capacity.

isCyclic
Parameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies is cyclic. Optional; the default is shown in the signature.

Next

MethodLink ↗
public bool IndexedList<T>.Next()

Calls Next on IndexedList<T> without arguments and returns bool. Open the return contract below before using the result.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Returns: A Boolean result. The member description explains the condition being checked.

Previous

MethodLink ↗
public bool IndexedList<T>.Previous()

Calls Previous on IndexedList<T> without arguments and returns bool. Open the return contract below before using the result.

Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Returns: A Boolean result. The member description explains the condition being checked.

Current

PropertyLink ↗
public T IndexedList<T>.Current { get; }

Reads current on IndexedList<T> as T. The exact type and accessors are shown below.

Value type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

CurrentOrDefault

PropertyLink ↗
public T IndexedList<T>.CurrentOrDefault { get; }

Reads current or default on IndexedList<T> as T. The exact type and accessors are shown below.

Value type: TNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Index

PropertyLink ↗
public int IndexedList<T>.Index { get; set; }

Reads or assigns index on IndexedList<T> as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsAtEnd

PropertyLink ↗
public bool IndexedList<T>.IsAtEnd { get; }

Whether this indexed list is at end.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsCyclic

PropertyLink ↗
public bool IndexedList<T>.IsCyclic { get; set; }

Whether this indexed list is cyclic.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

DPB1 0.3.29.56 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.