Esempio n. 1
0
        private void GenerateDefaultKeys()
        {
            var keys = new string[] 
            {
                "Life",
                "Mana",
                "Strength",
                "Dexterity",
                "Intelligence",
                "Accuracy",
                "Quality",
                "Level Socketed Active Skill Gems",
                "Maximum Life",
                "Life Regenerated Per Second",
                "Maximum Mana",
                "Energy Shield",
                "Evasion Rating",
            };

            AddToDictionary(new RegionMarker { Description = "        #region Default Keys" });

            foreach(var key in keys)
            {
                AddToDictionary(new KeyNode
                {
                    Description = key,
                    Key = KeyEnumCsGenerator.FormatStringToKey(key),
                });
            }

            AddToDictionary(new RegionMarker { Description = "        #endregion Default Keys" });
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            var generator = new KeyEnumCsGenerator();

            generator.Generate();
        }