| | |
| | | }
|
| | |
|
| | | /// <summary>
|
| | | /// 累计充值
|
| | | /// </summary>
|
| | | /// <param name="package"></param>
|
| | | public void UpdateAccumulateRecharge(HAA1D_tagMCActTotalRechargeInfo package)
|
| | | {
|
| | | OperationBase operationBase = null;
|
| | | operationDict.TryGetValue(Operation.AccumulateRecharge, out operationBase);
|
| | | if (string.IsNullOrEmpty(package.StartDate) || string.IsNullOrEmpty(package.EndtDate))
|
| | | {
|
| | | ForceStopOperation(Operation.AccumulateRecharge);
|
| | | }
|
| | | else
|
| | | {
|
| | | if (operationBase == null)
|
| | | {
|
| | | operationBase = new OperationAccumulateRecharge();
|
| | | operationDict.Add(Operation.AccumulateRecharge, operationBase);
|
| | | }
|
| | | OperationAccumulateRecharge operation = operationBase as OperationAccumulateRecharge;
|
| | | operation.Reset();
|
| | | operation.limitLv = package.LimitLV;
|
| | | operation.startDate = ParseOperationDate(package.StartDate);
|
| | | operation.endDate = ParseOperationDate(package.EndtDate);
|
| | | operation.dayReset = package.IsDayReset == 1;
|
| | | operation.ParseAccumulateRecharge(package);
|
| | | if (operationTimeUpdateEvent != null)
|
| | | {
|
| | | operationTimeUpdateEvent(Operation.AccumulateRecharge);
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | | /// 限时特惠
|
| | | /// </summary>
|
| | | /// <param name="package"></param>
|
| | |
| | | MultipRealmPoint, //N倍修行点
|
| | | FlashRushToBuy, //限时抢购
|
| | | WishingWellInfo, //许愿池
|
| | | AccumulateRecharge,//累计充值
|
| | | max,
|
| | | }
|
| | | }
|