Class ArrayUtil
- Namespace
- Vintagestory.API.Util
- Assembly
- VintagestoryAPI.dll
public static class ArrayUtil
- Inheritance
-
ArrayUtil
- Inherited Members
Methods
CreateFilled<T>(int, fillCallback<T>)
public static T[] CreateFilled<T>(int quantity, fillCallback<T> fillCallback)
Parameters
quantity
intfillCallback
fillCallback<T>
Returns
- T[]
Type Parameters
T
CreateFilled<T>(int, T)
public static T[] CreateFilled<T>(int quantity, T with)
Parameters
quantity
intwith
T
Returns
- T[]
Type Parameters
T
FastCopy<T>(T[], int)
public static T[] FastCopy<T>(this T[] src, int count)
Parameters
src
T[]count
int
Returns
- T[]
Type Parameters
T