Esempio n. 1
0
    private List <MallInfoPB> _exchangeShopInfoRules;         //兑换商店信息规则


    /// <summary>
    /// 进入兑换商店界面
    /// </summary>
    /// <param name="res"></param>
    public void InitOpenExchangeShop(MallRes res)
    {
        InitExchangeShopRefreshRules(GlobalData.TrainingRoomModel.GetRefreshRules());
        InitExchangeShopInfoRules(GlobalData.TrainingRoomModel.GetExchangeShopRules());
        _refreshMallNum = res.RefreshMallCount;
        InitExchangeShopInfo(res.Info);
    }
Esempio n. 2
0
 private void GetExchangeShopDate(MallRes res)
 {
     _model.InitOpenExchangeShop(res);
     View.SetData(_model.GetExchangeShops(), _model.GetCurRefreshRules(_model.GetRefreshMallNum()));
 }