Table of Contents
Extensions for RootObjectLockLists
public static class RootObjectLockList
Inheritance System.Object RootObjectLockList
Return this with an additional Item added to it
public static RootObjectLockList<TSource> AddTo<TSource,TCast>(this RootObjectLockList<TSource> lockList, TCast objectToAdd)
where TSource : Il2CppObjectBase
where TCast : Il2CppObjectBase;
TSource
TCast
The Type of the Item to add
lockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
objectToAdd
TCast
Item to add
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
Return a duplicate of this
public static RootObjectLockList<T> Duplicate<T>(this RootObjectLockList<T> list)
where T : RootObject;
T
list
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
Return a duplicate of this as type TCast
public static RootObjectLockList<TCast> DuplicateAs<TSource,TCast>(this RootObjectLockList<TSource> list)
where TSource : Il2CppObjectBase
where TCast : Il2CppObjectBase;
TSource
TCast
list
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
public static TCast GetItemOfType<TSource,TCast>(this RootObjectLockList<TSource> lockList)
where TSource : Il2CppObjectBase
where TCast : Il2CppObjectBase;
TSource
TCast
lockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
Return all Items of type TCast
public static System.Collections.Generic.List<TCast> GetItemsOfType<TSource,TCast>(this RootObjectLockList<TSource> lockList)
where TSource : Il2CppObjectBase
where TCast : Il2CppObjectBase;
TSource
TCast
The Type of the Items you want
lockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
System.Collections.Generic.List<TCast>
Check if this has any items of type TCast
public static bool HasItemsOfType<TSource,TCast>(this RootObjectLockList<TSource> lockList, out TCast item)
where TSource : Il2CppObjectBase
where TCast : Il2CppObjectBase;
TSource
TCast
The Type you're checking for
lockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
item
TCast
The found item, if any
Check if this has any items of type TCast
public static bool HasItemsOfType<TSource,TCast>(this RootObjectLockList<TSource> lockList)
where TSource : Il2CppObjectBase
where TCast : Il2CppObjectBase;
TSource
TCast
The Type you're checking for
lockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
Return this with the first Item of type TCast removed
public static RootObjectLockList<TSource> RemoveItem<TSource,TCast>(this RootObjectLockList<TSource> lockList, TCast itemToRemove)
where TSource : Il2CppObjectBase
where TCast : Il2CppObjectBase;
TSource
TCast
The Type of the Item you want to remove
lockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
itemToRemove
TCast
The specific Item to remove
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
Return this with the first Item of type TCast removed
public static RootObjectLockList<TSource> RemoveItemOfType<TSource,TCast>(this RootObjectLockList<TSource> lockList)
where TSource : Il2CppObjectBase
where TCast : Il2CppObjectBase;
TSource
TCast
The Type of the Item you want to remove
lockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
Return this with all Items of type TCast removed
public static RootObjectLockList<TSource> RemoveItemsOfType<TSource,TCast>(this RootObjectLockList<TSource> lockList)
where TSource : Il2CppObjectBase
where TCast : Il2CppObjectBase;
TSource
TCast
The Type of the Items that you want to remove
lockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
Return as System.Array
public static T[] ToArray<T>(this RootObjectLockList<T> lockList)
where T : RootObject;
T
lockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
Return as Il2CppSystem.List
public static List<T> ToIl2CppList<T>(this RootObjectLockList<T> lockList)
where T : RootObject;
T
lockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
Il2CppSystem.Collections.Generic.List
Return as Il2CppReferenceArray
public static Il2CppReferenceArray<T> ToIl2CppReferenceArray<T>(this RootObjectLockList<T> lockList)
where T : RootObject;
T
lockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList
Il2CppInterop.Runtime.InteropTypes.Arrays.Il2CppReferenceArray
Return as System.List
public static System.Collections.Generic.List<T> ToList<T>(this RootObjectLockList<T> lockList)
where T : RootObject;
T
lockList
Il2CppAssets.Scripts.Simulation.Objects.RootObjectLockList