C# Class ani_GroceryShopping.OverridedFridge_Prepare.PrepareDefinition

Inheritance: OverridedFridge_Have.Definition
Mostra file Open project: Chain-Reaction/NRaas

Public Methods

Method Description
AddInteractions ( InteractionObjectPair iop, Sim sim, Fridge fridge, List results ) : void
Create ( string menuText, Recipe recipe, string menuPath, GameObject objectClickedOn, Recipe destination, Recipe quantity, Recipe repetition, bool bWasHaveSomething, int cost ) : Fridge_Have>.FoodMenuInteractionDefinition
PrepareDefinition ( ) : System
PrepareDefinition ( string menuText, Recipe recipe, string menuPath, GameObject objectClickedOn, Recipe destination, Recipe quantity, Recipe repetition, bool bWasHaveSomething, int cost ) : System
Test ( Sim a, Fridge target, bool isAutonomous, GreyedOutTooltipCallback &greyedOutTooltipCallback ) : bool

Method Details

AddInteractions() public method

public AddInteractions ( InteractionObjectPair iop, Sim sim, Fridge fridge, List results ) : void
iop InteractionObjectPair
sim Sim
fridge Fridge
results List
return void

Create() public method

public Create ( string menuText, Recipe recipe, string menuPath, GameObject objectClickedOn, Recipe destination, Recipe quantity, Recipe repetition, bool bWasHaveSomething, int cost ) : Fridge_Have>.FoodMenuInteractionDefinition
menuText string
recipe Recipe
menuPath string
objectClickedOn GameObject
destination Recipe
quantity Recipe
repetition Recipe
bWasHaveSomething bool
cost int
return Fridge_Have>.FoodMenuInteractionDefinition

PrepareDefinition() public method

public PrepareDefinition ( ) : System
return System

PrepareDefinition() public method

public PrepareDefinition ( string menuText, Recipe recipe, string menuPath, GameObject objectClickedOn, Recipe destination, Recipe quantity, Recipe repetition, bool bWasHaveSomething, int cost ) : System
menuText string
recipe Recipe
menuPath string
objectClickedOn GameObject
destination Recipe
quantity Recipe
repetition Recipe
bWasHaveSomething bool
cost int
return System

Test() public method

public Test ( Sim a, Fridge target, bool isAutonomous, GreyedOutTooltipCallback &greyedOutTooltipCallback ) : bool
a Sim
target Fridge
isAutonomous bool
greyedOutTooltipCallback GreyedOutTooltipCallback
return bool