|  |  | 
 |  |  |  | 
 |  |  |     public const int activityType = (int)OpenServerActivityCenter.ActivityType.AT_Activity2; | 
 |  |  |     public const int activityID = (int)NewDayActivityID.CustomizedGiftWin; | 
 |  |  |     public static Operation operaType = Operation.default35; | 
 |  |  |     public static OperationType operaType = OperationType.default35; | 
 |  |  |  | 
 |  |  |     public int actNum; //对应界面 | 
 |  |  |     public event Action UpdateRechargeGiftActEvent; | 
 |  |  | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     private void OperationEndEvent(Operation type, int state) | 
 |  |  |     private void OperationEndEvent(OperationType type, int state) | 
 |  |  |     { | 
 |  |  |         if (type == operaType && state == 0) | 
 |  |  |         { | 
 |  |  | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     private void OperationAdvanceEvent(Operation type) | 
 |  |  |     private void OperationAdvanceEvent(OperationType type) | 
 |  |  |     { | 
 |  |  |         if (type == operaType) | 
 |  |  |         { | 
 |  |  | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     private void OperationStartEvent(Operation type, int state) | 
 |  |  |     private void OperationStartEvent(OperationType type, int state) | 
 |  |  |     { | 
 |  |  |         if (type == operaType && state == 0) | 
 |  |  |         { | 
 |  |  | 
 |  |  |         for (int i = 0; i < act.ctgIDs.Count; i++) | 
 |  |  |         { | 
 |  |  |             int ctgID = act.ctgIDs[i]; | 
 |  |  |             RechargeManager.RechargeCount rechargeCount; | 
 |  |  |             RechargeCount rechargeCount; | 
 |  |  |             if (RechargeManager.Instance.TryGetRechargeCount(ctgID, out rechargeCount)) | 
 |  |  |             { | 
 |  |  |                 total += rechargeCount.totalCount; | 
 |  |  | 
 |  |  |         OperationRechargeGiftAct act; | 
 |  |  |         OperationTimeHepler.Instance.TryGetOperation(operaType, out act); | 
 |  |  |  | 
 |  |  |         RechargeManager.RechargeCount rechargeCount; | 
 |  |  |         RechargeCount rechargeCount; | 
 |  |  |         RechargeManager.Instance.TryGetRechargeCount(ctgID, out rechargeCount); | 
 |  |  |  | 
 |  |  |         var ctgConfig = CTGConfig.Get(ctgID); |