Exemplo n.º 1
0
        public uint GetQuantity(uint TypeId)
        {
            switch ((byte)TypeId.GetItemGroup())
            {
            case 5:
            case 6:
                // Ball And Normal
                return(ItemWarehouse.GetQuantity(TypeId));

            default:
                return(0);
            }
        }
Exemplo n.º 2
0
        public override uint GetQuantity(uint TypeId)
        {
            switch (GetPartGroup(TypeId))
            {
            case 5:
            case 6:
                // Ball And Normal
                return(ItemWarehouse.GetQuantity(TypeId));

            default:
                return(0);
            }
        }