private void reqSellItem(ShipEvoItemConfig config, int amount) { if (!this.isRequestingServer) { this.isRequestingServer = true; this.reqModify = ServerRequestManager.instance.SellModifyItem(config.cid, amount); this.reqModify.SellItemSuccess += new EventHandler<EventArgs>(this.OnSellSuccess); this.reqModify.SellItemFail += new EventHandler<EventArgs>(this.OnSellFail); } }
public void ShowItemDetailInfoOf(ShipEvoItemConfig item) { if (GlobalLock.instance.CanGo) { GlobalLock.instance.GoNow(); } else { return; } GameObjectUtil.InstantiateItemAsChildOf(this.detailPopPrefab, base.gameObject).GetComponent<ResourceItemDetailInfoUI>().SetItem(item); }
public void SetItemConfig(ShipEvoItemConfig config) { this.itemConfig = config; }
internal bool m_43(ShipEvoItemConfig n) { return (n.cid == this.cid); }
public void SetShipEvoItems(ShipEvoItemConfig[] items) { if (items == null) { this.shipEvoItemsList = new List<ShipEvoItemConfig>(); } else { this.shipEvoItemsList = items.ToList<ShipEvoItemConfig>(); } }
public void SetItem(ShipEvoItemConfig config) { this.itemConfig = config; this.UpdateItemInfo(); }
internal bool m_43(ShipEvoItemConfig n) { return(n.cid == this.cid); }