Пример #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;
            }
        }
Пример #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;
            }
        }
Пример #3
0
        private void calcComsume()
        {
            ResShopInfo dataByKey = GameDataMgr.resShopInfoDatabin.GetDataByKey((int)((ushort)((400 + base.m_CurBuyTime) + 1)));

            if (dataByKey != null)
            {
                this.m_CostDiamond = (int)dataByKey.dwCoinPrice;
                this.m_GainActPt   = (int)dataByKey.dwValue;
            }
            else
            {
                this.m_CostDiamond = 0;
                this.m_GainActPt   = 0;
            }
        }
Пример #4
0
        public bool IsPageFull()
        {
            ResShopInfo cfgShopInfo = CPurchaseSys.GetCfgShopInfo(7, this.m_pageCount + 1);

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

            return(cfgShopInfo == null);
        }