Table of Contents

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 int
fillCallback fillCallback<T>

Returns

T[]

Type Parameters

T

CreateFilled<T>(int, T)

public static T[] CreateFilled<T>(int quantity, T with)

Parameters

quantity int
with 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