C# Class FluffyManager.Dialog_CreateJobsForIngredients.RecipeSelector

Show file Open project: FluffierThanThou/RW_Manager

Public Properties

Property Type Description
children List
manager Manager
newCount string
outCount int
recipes List
selectedRecipe RecipeDef
target ThingDef
targetCount int

Public Methods

Method Description
DrawCountField ( Rect rect ) : void
DrawRecipeSelector ( Rect rect ) : void
GetRecipesFor ( Map map, ThingDef td, bool currentlyAvailable = true ) : List
HasRecipe ( Map map, ThingDef thingDef ) : bool
RecipeSelector ( Manager manager, ThingDef thingDef, int count ) : System
SelectRecipe ( RecipeDef recipe ) : void

Method Details

DrawCountField() public method

public DrawCountField ( Rect rect ) : void
rect UnityEngine.Rect
return void

DrawRecipeSelector() public method

public DrawRecipeSelector ( Rect rect ) : void
rect UnityEngine.Rect
return void

GetRecipesFor() public static method

public static GetRecipesFor ( Map map, ThingDef td, bool currentlyAvailable = true ) : List
map Map
td ThingDef
currentlyAvailable bool
return List

HasRecipe() public static method

public static HasRecipe ( Map map, ThingDef thingDef ) : bool
map Map
thingDef ThingDef
return bool

RecipeSelector() public method

public RecipeSelector ( Manager manager, ThingDef thingDef, int count ) : System
manager Manager
thingDef ThingDef
count int
return System

SelectRecipe() public method

public SelectRecipe ( RecipeDef recipe ) : void
recipe RecipeDef
return void

Property Details

children public property

public List children
return List

manager public property

public Manager,FluffyManager manager
return Manager

newCount public property

public string newCount
return string

outCount public property

public int outCount
return int

recipes public property

public List recipes
return List

selectedRecipe public property

public RecipeDef selectedRecipe
return RecipeDef

target public property

public ThingDef target
return ThingDef

targetCount public property

public int targetCount
return int