| | |
| | | m_RechargeGainItemDict.Add(configs[i].CTGID, _itemList);
|
| | | for (int k = 0; k < _itemArray.Length; k++)
|
| | | {
|
| | | Item _item = new Item(_itemArray[k][0], (ulong)_itemArray[k][1]);
|
| | | Item _item = new Item(_itemArray[k][0], _itemArray[k][1]);
|
| | | _itemList.Add(_item);
|
| | | }
|
| | | }
|
| | |
| | | for (int i = 0; i < _itemJson[jobstr].Count; i++)
|
| | | {
|
| | | m_FirstChargeItemDict[day][job].Add(new Item(int.Parse(_itemJson[jobstr][i][0].ToString()),
|
| | | ulong.Parse(_itemJson[jobstr][i][1].ToString())));
|
| | | long.Parse(_itemJson[jobstr][i][1].ToString())));
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | var _itemCommon = JsonMapper.ToObject<int[][]>(config.CommItemList);
|
| | | for (int i = 0; i < _itemCommon.Length; i++)
|
| | | {
|
| | | m_FirstChargeCommonItemDict[day].Add(new Item(_itemCommon[i][0], (ulong)_itemCommon[i][1]));
|
| | | m_FirstChargeCommonItemDict[day].Add(new Item(_itemCommon[i][0], _itemCommon[i][1]));
|
| | | }
|
| | |
|
| | |
|
| | |
| | | }
|
| | |
|
| | |
|
| | | 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;
|
| | |
|
| | | }
|