public void AddDropItem(int metaId, int level, int num) { if (this.CheckDropItem(metaId, level, num)) { DropItem item = new DropItem(); item.set_item_id((uint)metaId); item.set_level((uint)level); item.set_num((uint)num); this.dropItemList.Add(item); } }
public void AddDropItemToShow(int metaId, int level, int num) { if (this.CheckDropItem(metaId, level, num)) { DropItem item = new DropItem(); item.set_item_id((uint)metaId); item.set_level((uint)level); item.set_num((uint)num); this.dropItemListToShow.Add(item); Singleton <NotifyManager> .Instance.FireNotify(new Notify(NotifyTypes.DropItemConutChanged, this.dropItemListToShow.Count)); } }