Exemple #1
0
        public void GetNewPageCost(out RES_SHOPBUY_COINTYPE costType, out uint costVal)
        {
            costType = RES_SHOPBUY_COINTYPE.RES_SHOPBUY_TYPE_PVPCOIN;
            costVal  = 0;
            ResShopInfo cfgShopInfo = CPurchaseSys.GetCfgShopInfo(RES_SHOPBUY_TYPE.RES_BUYTYPE_SYMBOLPAGE, this.m_pageBuyCnt + 1);

            if (cfgShopInfo != null)
            {
                costType = (RES_SHOPBUY_COINTYPE)cfgShopInfo.bCoinType;
                costVal  = cfgShopInfo.dwCoinPrice;
            }
        }
Exemple #2
0
        public void GetNewPageCost(out RES_SHOPBUY_COINTYPE costType, out uint costVal)
        {
            costType = 4;
            costVal  = 0u;
            ResShopInfo cfgShopInfo = CPurchaseSys.GetCfgShopInfo(7, this.m_pageBuyCnt + 1);

            if (cfgShopInfo != null)
            {
                costType = (int)cfgShopInfo.bCoinType;
                costVal  = cfgShopInfo.dwCoinPrice;
            }
        }
Exemple #3
0
 public bool IsPageFull()
 {
     return(CPurchaseSys.GetCfgShopInfo(RES_SHOPBUY_TYPE.RES_BUYTYPE_SYMBOLPAGE, this.m_pageCount + 1) == null);
 }
Exemple #4
0
        public bool IsPageFull()
        {
            ResShopInfo cfgShopInfo = CPurchaseSys.GetCfgShopInfo(7, this.m_pageCount + 1);

            return(cfgShopInfo == null);
        }
Exemple #5
0
        public bool IsPageFull()
        {
            ResShopInfo cfgShopInfo = CPurchaseSys.GetCfgShopInfo(RES_SHOPBUY_TYPE.RES_BUYTYPE_SYMBOLPAGE, this.m_pageBuyCnt + 1);

            return(cfgShopInfo == null);
        }