Skip to Main Content

BTD_Mod_Helper​.Extensions​.Il2CppIEnumeratorExt


BloonsTD6 Mod Helper

BTD_Mod_Helper.Extensions

Il2CppIEnumeratorExt Class

Extensions for Il2cpp Ienumerators

public static class Il2CppIEnumeratorExt

Inheritance System.Object  Il2CppIEnumeratorExt

Methods

Il2CppIEnumeratorExt.Count(this IEnumerator) Method

Get the total number of elements

public static int Count(this IEnumerator enumerator);

Parameters

enumerator Il2CppSystem.Collections.IEnumerator

Returns

System.Int32

Il2CppIEnumeratorExt.GetItem(this IEnumerator, int) Method

Return the Item at a specific index

public static Object GetItem(this IEnumerator enumerator, int index);

Parameters

enumerator Il2CppSystem.Collections.IEnumerator

index System.Int32

Returns

Il2CppSystem.Object

Il2CppIEnumeratorExt.ToIl2CppList(this IEnumerator) Method

Return as Il2CppSystem.List

public static List<Object> ToIl2CppList(this IEnumerator enumerator);

Parameters

enumerator Il2CppSystem.Collections.IEnumerator

Returns

Il2CppSystem.Collections.Generic.List

Il2CppIEnumeratorExt.ToIl2CppReferenceArray(this IEnumerator) Method

Return as Il2CppReferenceArray

public static Il2CppReferenceArray<Object> ToIl2CppReferenceArray(this IEnumerator enumerator);

Parameters

enumerator Il2CppSystem.Collections.IEnumerator

Returns

Il2CppInterop.Runtime.InteropTypes.Arrays.Il2CppReferenceArray

Il2CppIEnumeratorExt.ToList(this IEnumerator) Method

Return as System.List

public static System.Collections.Generic.List<Object> ToList(this IEnumerator enumerator);

Parameters

enumerator Il2CppSystem.Collections.IEnumerator

Returns

System.Collections.Generic.List<Il2CppSystem.Object>

Il2CppIEnumeratorExt.ToLockList(this IEnumerator) Method

Return as LockList

public static LockList<Object> ToLockList(this IEnumerator enumerator);

Parameters

enumerator Il2CppSystem.Collections.IEnumerator

Returns

Il2CppAssets.Scripts.Utils.LockList

Il2CppIEnumeratorExt.ToRootObjectLockList(this IEnumerator) Method

Return as LockList

public static RootObjectLockList<RootObject> ToRootObjectLockList(this IEnumerator enumerator);

Parameters

enumerator Il2CppSystem.Collections.IEnumerator

Returns

Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList

To learn how to download BTD Mod Helper and install mods, click here