private void OnTimeLimitedSalesRes(short state, TimeLimitedSalesRes down = null) { if (state != 0) { StateManager.Instance.StateShow(state, 0); return; } if (down != null) { this.m_TimeLimitedSalesRes = down; this.RefreshUI(); } }
public void SendTimeLimitedSales(int page = 1) { if (this.IsPush) { return; } this.IsPush = true; this.m_TimeLimitedSalesRes = null; this.m_BuyGoodsInfos.Clear(); NetworkManager.Send(new TimeLimitedSalesReq { nPage = page }, ServerType.Data); }
public override void Release() { this.m_TimeLimitedSalesRes = null; this.m_BuyGoodsInfos.Clear(); }