Table of Contents

Class RecipeRegistryGeneric<T>

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public class RecipeRegistryGeneric<T> : RecipeRegistryBase where T : IByteSerializable, new()

Type Parameters

T
Inheritance
RecipeRegistryGeneric<T>
Inherited Members
Extension Methods

Constructors

RecipeRegistryGeneric()

public RecipeRegistryGeneric()

RecipeRegistryGeneric(List<T>)

public RecipeRegistryGeneric(List<T> recipes)

Parameters

recipes List<T>

Fields

Recipes

public List<T> Recipes

Field Value

List<T>

Methods

FromBytes(IWorldAccessor, int, byte[])

public override void FromBytes(IWorldAccessor resolver, int quantity, byte[] data)

Parameters

resolver IWorldAccessor
quantity int
data byte[]

ToBytes(IWorldAccessor, out byte[], out int)

public override void ToBytes(IWorldAccessor resolver, out byte[] data, out int quantity)

Parameters

resolver IWorldAccessor
data byte[]
quantity int