示例#1
0
        public ItemList getMats(int amount, double MEMultiplier)
        {
            var      db   = new SDEEntities();
            ItemList mats = new ItemList(db.GetMats(this.typeID, 1).ToList());

            mats *= amount;
            mats *= MEMultiplier;

            return(mats);
        }
示例#2
0
        public bool isBaseMat()
        {
            var db = new SDEEntities();

            return(db.GetMats(this.typeID, 1).Count() == 0);
        }