C# Class FluffyManager.Dialog_CreateJobsForIngredients

Inheritance: Window
Datei anzeigen Open project: FluffierThanThou/RW_Manager Class Usage Examples

Public Properties

Property Type Description
ingredients List
manager Manager
targetCount int
targetRecipe RecipeDef

Public Methods

Method Description
Dialog_CreateJobsForIngredients ( Manager manager, RecipeDef recipe, int count ) : System
DoWindowContents ( Rect inRect ) : void
HasPrerequisiteChoices ( Map map, RecipeDef recipe ) : bool

Returns true if the recipe has prerequisite ingredients, and those ingredients can currently be crafted.

Method Details

Dialog_CreateJobsForIngredients() public method

public Dialog_CreateJobsForIngredients ( Manager manager, RecipeDef recipe, int count ) : System
manager Manager
recipe RecipeDef
count int
return System

DoWindowContents() public method

public DoWindowContents ( Rect inRect ) : void
inRect UnityEngine.Rect
return void

HasPrerequisiteChoices() public static method

Returns true if the recipe has prerequisite ingredients, and those ingredients can currently be crafted.
public static HasPrerequisiteChoices ( Map map, RecipeDef recipe ) : bool
map Map
recipe RecipeDef
return bool

Property Details

ingredients public_oe static_oe property

public static List ingredients
return List

manager public_oe property

public Manager,FluffyManager manager
return Manager

targetCount public_oe property

public int targetCount
return int

targetRecipe public_oe property

public RecipeDef targetRecipe
return RecipeDef