Exemplo n.º 1
0
        /// <summary>
        /// Initializes the <see cref="MineralList"/> class.
        /// </summary>
        static MineralList()
        {
            Mineral m = new Mineral {Name = "Tritanium", Price = Config<Settings>.Instance.PriceTritanium};
            Dict.Add(m.Name, m);

            m = new Mineral {Name = "Pyerite", Price = Config<Settings>.Instance.PricePyerite};
            Dict.Add(m.Name, m);

            m = new Mineral {Name = "Mexallon", Price = Config<Settings>.Instance.PriceMexallon};
            Dict.Add(m.Name, m);

            m = new Mineral {Name = "Isogen", Price = Config<Settings>.Instance.PriceIsogen};
            Dict.Add(m.Name, m);

            m = new Mineral {Name = "Nocxium", Price = Config<Settings>.Instance.PriceNocxium};
            Dict.Add(m.Name, m);

            m = new Mineral {Name = "Zydrine", Price = Config<Settings>.Instance.PriceZydrine};
            Dict.Add(m.Name, m);

            m = new Mineral {Name = "Megacyte", Price = Config<Settings>.Instance.PriceMegacyte};
            Dict.Add(m.Name, m);

            m = new Mineral {Name = "Morphite", Price = Config<Settings>.Instance.PriceMorphite};
            Dict.Add(m.Name, m);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes the <see cref="MineralList"/> class.
        /// </summary>
        static MineralList()
        {
            Mineral m = new Mineral {
                Id = 34, Name = "Tritanium", Price = Config <Settings> .Instance.PriceTritanium
            };

            Dict.Add(m.Name, m);
            Dict2.Add(m.Id, m);

            m = new Mineral {
                Id = 35, Name = "Pyerite", Price = Config <Settings> .Instance.PricePyerite
            };
            Dict.Add(m.Name, m);
            Dict2.Add(m.Id, m);

            m = new Mineral {
                Id = 36, Name = "Mexallon", Price = Config <Settings> .Instance.PriceMexallon
            };
            Dict.Add(m.Name, m);
            Dict2.Add(m.Id, m);

            m = new Mineral {
                Id = 37, Name = "Isogen", Price = Config <Settings> .Instance.PriceIsogen
            };
            Dict.Add(m.Name, m);
            Dict2.Add(m.Id, m);

            m = new Mineral {
                Id = 38, Name = "Nocxium", Price = Config <Settings> .Instance.PriceNocxium
            };
            Dict.Add(m.Name, m);
            Dict2.Add(m.Id, m);

            m = new Mineral {
                Name = "Zydrine", Price = Config <Settings> .Instance.PriceZydrine
            };
            Dict.Add(m.Name, m);
            Dict2.Add(m.Id, m);

            m = new Mineral {
                Id = 40, Name = "Megacyte", Price = Config <Settings> .Instance.PriceMegacyte
            };
            Dict.Add(m.Name, m);
            Dict2.Add(m.Id, m);

            m = new Mineral {
                Id = 11399, Name = "Morphite", Price = Config <Settings> .Instance.PriceMorphite
            };
            Dict.Add(m.Name, m);
            Dict2.Add(m.Id, m);
        }