C# Класс Terraria.Recipe

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
alchemy bool
anyFragment bool
anyIronBar bool
anyPressurePlate bool
anySand bool
anyWood bool
createItem Item
maxRecipes int
maxRequirements int
needHoney bool
needLava bool
needWater bool
numRecipes int
requiredItem Terraria.Item[]
requiredTile int[]

Открытые методы

Метод Описание
Create ( ) : void
FindRecipes ( ) : void
Recipe ( ) : System.Collections.Generic
SetupRecipes ( ) : void
useFragment ( int invType, int reqType ) : bool
useIronBar ( int invType, int reqType ) : bool
usePressurePlate ( int invType, int reqType ) : bool
useSand ( int invType, int reqType ) : bool
useWood ( int invType, int reqType ) : bool

Приватные методы

Метод Описание
AddRecipe ( ) : void
PlatformReturn ( ) : void
WallReturn ( ) : void

Описание методов

Create() публичный Метод

public Create ( ) : void
Результат void

FindRecipes() публичный статический Метод

public static FindRecipes ( ) : void
Результат void

Recipe() публичный Метод

public Recipe ( ) : System.Collections.Generic
Результат System.Collections.Generic

SetupRecipes() публичный статический Метод

public static SetupRecipes ( ) : void
Результат void

useFragment() публичный Метод

public useFragment ( int invType, int reqType ) : bool
invType int
reqType int
Результат bool

useIronBar() публичный Метод

public useIronBar ( int invType, int reqType ) : bool
invType int
reqType int
Результат bool

usePressurePlate() публичный Метод

public usePressurePlate ( int invType, int reqType ) : bool
invType int
reqType int
Результат bool

useSand() публичный Метод

public useSand ( int invType, int reqType ) : bool
invType int
reqType int
Результат bool

useWood() публичный Метод

public useWood ( int invType, int reqType ) : bool
invType int
reqType int
Результат bool

Описание свойств

alchemy публичное свойство

public bool alchemy
Результат bool

anyFragment публичное свойство

public bool anyFragment
Результат bool

anyIronBar публичное свойство

public bool anyIronBar
Результат bool

anyPressurePlate публичное свойство

public bool anyPressurePlate
Результат bool

anySand публичное свойство

public bool anySand
Результат bool

anyWood публичное свойство

public bool anyWood
Результат bool

createItem публичное свойство

public Item,Terraria createItem
Результат Item

maxRecipes публичное статическое свойство

public static int maxRecipes
Результат int

maxRequirements публичное статическое свойство

public static int maxRequirements
Результат int

needHoney публичное свойство

public bool needHoney
Результат bool

needLava публичное свойство

public bool needLava
Результат bool

needWater публичное свойство

public bool needWater
Результат bool

numRecipes публичное статическое свойство

public static int numRecipes
Результат int

requiredItem публичное свойство

public Item[],Terraria requiredItem
Результат Terraria.Item[]

requiredTile публичное свойство

public int[] requiredTile
Результат int[]