| | |
| | | #endif
|
| | | }
|
| | | }
|
| | | var _funcConfig = FuncConfigConfig.Get("ChargeDelayTime");
|
| | | m_CTGDelayTime = int.Parse(_funcConfig.Numerical1);
|
| | | m_CTGLimitDelayTime = int.Parse(_funcConfig.Numerical2);
|
| | | _funcConfig = FuncConfigConfig.Get("FirstGoldMobs");
|
| | | firstRechargeWeapon = ConfigParse.GetDic<int, int>(_funcConfig.Numerical1);
|
| | | }
|
| | |
|
| | | public List<int> GetCTGConfigs(string _appid)
|
| | |
| | | for (int i = 0; i < _itemJson[jobstr].Count; i++)
|
| | | {
|
| | | m_FirstChargeItemDict[day][job].Add(new Item(int.Parse(_itemJson[jobstr][i][0].ToString()),
|
| | | int.Parse(_itemJson[jobstr][i][1].ToString())));
|
| | | long.Parse(_itemJson[jobstr][i][1].ToString())));
|
| | | }
|
| | | }
|
| | |
|
| | |
| | |
|
| | |
|
| | | #region 充值
|
| | | public Dictionary<int, int> firstRechargeWeapon { get; private set; }
|
| | | public Dictionary<int, List<Item>> m_RechargeGainItemDict { get; private set; }
|
| | | private Dictionary<int, RechargeCount> m_RechargeCountDict = new Dictionary<int, RechargeCount>();
|
| | | Dictionary<string, List<OrderInfoConfig>> m_OrderInfoDict = new Dictionary<string, List<OrderInfoConfig>>();
|
| | |
| | | }
|
| | |
|
| | |
|
| | | public struct RechargeCount
|
| | | {
|
| | | public int todayCount;
|
| | | public int totalCount;
|
| | | public int weekPayCount;
|
| | | public int monthPayCount;
|
| | | public int selectItemValue;
|
| | |
|
| | | }
|
| | |
|
| | | public int FirstGoldServerDay = 0; //0表示未充值,首充时为开服第几天(openday+1)
|
| | |
|
| | |
| | | return 0;
|
| | | }
|
| | |
|
| | | public void UpdateFirstChargeReward(HAA02_tagMCFirstGoldInfo package)
|
| | | {
|
| | | FirstGoldServerDay = package.FirstGoldServerDay;
|
| | | firstChargeRewardGet = package.FirstGoldRewardState;
|
| | | UpdateFirstRechargeRedpoint();
|
| | | UpdateRedpoint();
|
| | | }
|
| | | // public void UpdateFirstChargeReward(HAA02_tagMCFirstGoldInfo package)
|
| | | // {
|
| | | // FirstGoldServerDay = package.FirstGoldServerDay;
|
| | | // firstChargeRewardGet = package.FirstGoldRewardState;
|
| | | // UpdateFirstRechargeRedpoint();
|
| | | // UpdateRedpoint();
|
| | | // }
|
| | |
|
| | | private void UpdateFirstRechargeRedpoint()
|
| | | {
|
| | |
| | | }
|
| | |
|
| | |
|
| | | public struct RechargeCount
|
| | | {
|
| | | public int todayCount;
|
| | | public int totalCount;
|
| | | public int weekPayCount;
|
| | | public int monthPayCount;
|
| | | public int selectItemValue;
|
| | |
|
| | | }
|