C# Class FluffyManager.Dialog_CreateJobsForIngredients.IngredientSelector

显示文件 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_oe property

public List allowedThingDefs
return List

ingredient public_oe property

public IngredientCount ingredient
return IngredientCount

manager public_oe property

public Manager,FluffyManager manager
return Manager

recipeSelector public_oe property

public RecipeSelector recipeSelector
return RecipeSelector

targetCount public_oe property

public int targetCount
return int

targetRecipe public_oe property

public RecipeDef targetRecipe
return RecipeDef