C# Class FluffyManager.Dialog_CreateJobsForIngredients.RecipeSelector

Datei anzeigen 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_oe property

public List children
return List

manager public_oe property

public Manager,FluffyManager manager
return Manager

newCount public_oe property

public string newCount
return string

outCount public_oe property

public int outCount
return int

recipes public_oe property

public List recipes
return List

selectedRecipe public_oe property

public RecipeDef selectedRecipe
return RecipeDef

target public_oe property

public ThingDef target
return ThingDef

targetCount public_oe property

public int targetCount
return int