C# Class FluffyManager.Dialog_CreateJobsForIngredients.IngredientSelector

Show file Open project: FluffierThanThou/RW_Manager

Public Properties

Property Type Description
allowedThingDefs List
ingredient IngredientCount
manager Manager
recipeSelector RecipeSelector
targetCount int
targetRecipe RecipeDef

Public Methods

Method Description
AddBills ( ) : void
DrawSelectorRow ( Vector2 &cur, float width, int nesting, Vector2 parentPosition ) : void
HasRecipeChoices ( Map map, IngredientSelector ingredient ) : bool
IngredientSelector ( Manager manager, IngredientCount ingredient, int count, RecipeDef targetRecipe ) : System

Method Details

AddBills() public method

public AddBills ( ) : void
return void

DrawSelectorRow() public method

public DrawSelectorRow ( Vector2 &cur, float width, int nesting, Vector2 parentPosition ) : void
cur Vector2
width float
nesting int
parentPosition Vector2
return void

HasRecipeChoices() public static method

public static HasRecipeChoices ( Map map, IngredientSelector ingredient ) : bool
map Map
ingredient IngredientSelector
return bool

IngredientSelector() public method

public IngredientSelector ( Manager manager, IngredientCount ingredient, int count, RecipeDef targetRecipe ) : System
manager Manager
ingredient IngredientCount
count int
targetRecipe RecipeDef
return System

Property Details

allowedThingDefs public property

public List allowedThingDefs
return List

ingredient public property

public IngredientCount ingredient
return IngredientCount

manager public property

public Manager,FluffyManager manager
return Manager

recipeSelector public property

public RecipeSelector recipeSelector
return RecipeSelector

targetCount public property

public int targetCount
return int

targetRecipe public property

public RecipeDef targetRecipe
return RecipeDef