AssemblyCSharp.GameState.GameState C# (CSharp) Метод

GameState() публичный Метод

public GameState ( object>.Dictionary dict ) : System
dict object>.Dictionary
Результат System
        public GameState(Dictionary<string, object> dict)
        {
            var json = JSONDict.Wrap (dict);

            // the generation key is add in the gamestate serialization in the service
            Generation = json.Get<long> (GENERATION_KEY);
            Ingredients = json.Get <Dictionary<string, Ingredient>> ("ingredients") ?? new Dictionary<string, Ingredient> ();
        }