C# Class AssemblyCSharp.GameState

Exibir arquivo Open project: wooga/ps_social_jam Class Usage Examples

Public Properties

Property Type Description
Ingredients Ingredient>.Dictionary

Public Methods

Method Description
AddIngredient ( string ingredientID ) : int
AsJson ( ) : object>.Dictionary
GameState ( object>.Dictionary dict ) : System
GetGeneration ( object>.Dictionary dict ) : long
UseIngredient ( string ingredientID ) : int

Method Details

AddIngredient() public method

public AddIngredient ( string ingredientID ) : int
ingredientID string
return int

AsJson() public method

public AsJson ( ) : object>.Dictionary
return object>.Dictionary

GameState() public method

public GameState ( object>.Dictionary dict ) : System
dict object>.Dictionary
return System

GetGeneration() public static method

public static GetGeneration ( object>.Dictionary dict ) : long
dict object>.Dictionary
return long

UseIngredient() public method

public UseIngredient ( string ingredientID ) : int
ingredientID string
return int

Property Details

Ingredients public_oe property

public Dictionary Ingredients
return Ingredient>.Dictionary