Skip to Main Content

BTD_Mod_Helper​.Extensions​.Il2CppSystemDictionaryExt


BloonsTD6 Mod Helper

BTD_Mod_Helper.Extensions

Il2CppSystemDictionaryExt Class

Extensions for il2cpp dictionaries

public static class Il2CppSystemDictionaryExt

Inheritance System.Object  Il2CppSystemDictionaryExt

Methods

Il2CppSystemDictionaryExt.Deconstruct<K,V>(this KeyValuePair<K,V>, K, V) Method

Deconstruct method of IL2CPP KeyValuePairs

public static void Deconstruct<K,V>(this KeyValuePair<K,V> kvp, out K k, out V v);

Type parameters

K

V

Parameters

kvp Il2CppSystem.Collections.Generic.KeyValuePair

k K

v V

Il2CppSystemDictionaryExt.GetKeys<TKey,TValue>(this Dictionary<TKey,TValue>) Method

Get all of the keys from this Dictionary as a list

public static List<TKey> GetKeys<TKey,TValue>(this Dictionary<TKey,TValue> keyValuePairs);

Type parameters

TKey

TValue

Parameters

keyValuePairs Il2CppSystem.Collections.Generic.Dictionary

Returns

Il2CppSystem.Collections.Generic.List

Il2CppSystemDictionaryExt.GetValues<TKey,TValue>(this Dictionary<TKey,TValue>) Method

Get all of the values from this Dictionary as a list

public static List<TValue> GetValues<TKey,TValue>(this Dictionary<TKey,TValue> keyValuePairs);

Type parameters

TKey

TValue

Parameters

keyValuePairs Il2CppSystem.Collections.Generic.Dictionary

Returns

Il2CppSystem.Collections.Generic.List

Il2CppSystemDictionaryExt.Keys<TKey,TValue>(this Dictionary<TKey,TValue>) Method

Get all of the keys from this Dictionary

public static System.Collections.Generic.IEnumerable<TKey> Keys<TKey,TValue>(this Dictionary<TKey,TValue> keyValuePairs);

Type parameters

TKey

TValue

Parameters

keyValuePairs Il2CppSystem.Collections.Generic.Dictionary

Returns

System.Collections.Generic.IEnumerable<TKey>

Il2CppSystemDictionaryExt.Values<TKey,TValue>(this Dictionary<TKey,TValue>) Method

Get all of the values from this Dictionary

public static System.Collections.Generic.IEnumerable<TValue> Values<TKey,TValue>(this Dictionary<TKey,TValue> keyValuePairs);

Type parameters

TKey

TValue

Parameters

keyValuePairs Il2CppSystem.Collections.Generic.Dictionary

Returns

System.Collections.Generic.IEnumerable<TValue>

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