C# Class Terraria.Recipe

Show file Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
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[]

Public Methods

Method Description
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

Private Methods

Method Description
AddRecipe ( ) : void
PlatformReturn ( ) : void
WallReturn ( ) : void

Method Details

Create() public method

public Create ( ) : void
return void

FindRecipes() public static method

public static FindRecipes ( ) : void
return void

Recipe() public method

public Recipe ( ) : System.Collections.Generic
return System.Collections.Generic

SetupRecipes() public static method

public static SetupRecipes ( ) : void
return void

useFragment() public method

public useFragment ( int invType, int reqType ) : bool
invType int
reqType int
return bool

useIronBar() public method

public useIronBar ( int invType, int reqType ) : bool
invType int
reqType int
return bool

usePressurePlate() public method

public usePressurePlate ( int invType, int reqType ) : bool
invType int
reqType int
return bool

useSand() public method

public useSand ( int invType, int reqType ) : bool
invType int
reqType int
return bool

useWood() public method

public useWood ( int invType, int reqType ) : bool
invType int
reqType int
return bool

Property Details

alchemy public property

public bool alchemy
return bool

anyFragment public property

public bool anyFragment
return bool

anyIronBar public property

public bool anyIronBar
return bool

anyPressurePlate public property

public bool anyPressurePlate
return bool

anySand public property

public bool anySand
return bool

anyWood public property

public bool anyWood
return bool

createItem public property

public Item,Terraria createItem
return Item

maxRecipes public static property

public static int maxRecipes
return int

maxRequirements public static property

public static int maxRequirements
return int

needHoney public property

public bool needHoney
return bool

needLava public property

public bool needLava
return bool

needWater public property

public bool needWater
return bool

numRecipes public static property

public static int numRecipes
return int

requiredItem public property

public Item[],Terraria requiredItem
return Terraria.Item[]

requiredTile public property

public int[] requiredTile
return int[]