Exemplo n.º 1
0
 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();
     }
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 public override void Release()
 {
     this.m_TimeLimitedSalesRes = null;
     this.m_BuyGoodsInfos.Clear();
 }