private TICKRESULT _DiscardItem(string item_name, int count)
        {
            if (_InventoryController == null)
            {
                return(TICKRESULT.FAILURE);
            }
            var item = _Bag.FindIdByName(item_name);

            _InventoryController.Discard(item);

            return(TICKRESULT.SUCCESS);
        }
Beispiel #2
0
 public void Discard()
 {
     _Controller.Discard(_Id);
 }