// Token: 0x06004C43 RID: 19523 RVA: 0x00178518 File Offset: 0x00176718
        public List <OperationalActivityBase> FindOperationalActivitiesByType(OperationalActivityType activityType)
        {
            List <OperationalActivityBase> list = new List <OperationalActivityBase>();

            foreach (OperationalActivityBase operationalActivityBase in this.m_operationalActivities)
            {
                if (activityType == operationalActivityBase.ActivityType)
                {
                    list.Add(operationalActivityBase);
                }
            }
            return(list);
        }
Ejemplo n.º 2
0
 // Token: 0x06005073 RID: 20595 RVA: 0x00180EA0 File Offset: 0x0017F0A0
 public PlayerLevelUpOperationalActivity(ulong instanceId, int operationalActivityId, OperationalActivityType operationalActivityType) : base(instanceId, operationalActivityId, operationalActivityType)
 {
     this.PlayerLevel = 0;
 }
			// Token: 0x06007478 RID: 29816 RVA: 0x00201528 File Offset: 0x001FF728
			public List<OperationalActivityBase> __callBase_FindOperationalActivitiesByType(OperationalActivityType activityType)
			{
				return this.m_owner.__callBase_FindOperationalActivitiesByType(activityType);
			}
		// Token: 0x06007459 RID: 29785 RVA: 0x00201080 File Offset: 0x001FF280
		private List<OperationalActivityBase> __callBase_FindOperationalActivitiesByType(OperationalActivityType activityType)
		{
			return base.FindOperationalActivitiesByType(activityType);
		}
Ejemplo n.º 5
0
 // Token: 0x0600506D RID: 20589 RVA: 0x00180DF4 File Offset: 0x0017EFF4
 public AwardOperationalActivityBase(ulong instanceId, int operationalActivityId, OperationalActivityType operationalActivityType) : base(instanceId, operationalActivityId, operationalActivityType)
 {
     this.GainedRewardIndexs = new List <int>();
 }
Ejemplo n.º 6
0
 // Token: 0x06008F0B RID: 36619 RVA: 0x0029AF20 File Offset: 0x00299120
 public FansRewardsFromPBTCBTActivity(ulong instanceID, int activityID, long startDate, long endDate, OperationalActivityType operationalActivityType) : base(instanceID, activityID, operationalActivityType)
 {
     base.InitOperationalActivityTime(new DateTime(startDate), new DateTime(endDate), new DateTime(endDate), new DateTime(endDate));
 }
 // Token: 0x06005084 RID: 20612 RVA: 0x001811C0 File Offset: 0x0017F3C0
 public AccumulateLoginOperationalActivity(ulong instanceId, int operationalActivityId, OperationalActivityType operationalActivityType) : base(instanceId, operationalActivityId, operationalActivityType)
 {
     this.SpecificLoginTimes = new List <long>();
 }
 // Token: 0x06005096 RID: 20630 RVA: 0x00181508 File Offset: 0x0017F708
 public AccumulateConsumeCrystalOperationalActivity(ulong instanceId, int operationalActivityId, OperationalActivityType operationalActivityType) : base(instanceId, operationalActivityId, operationalActivityType)
 {
     this.AccumulateConsumeCrystal = 0;
 }
 // Token: 0x0600508D RID: 20621 RVA: 0x001813AC File Offset: 0x0017F5AC
 public AccumulateRechargeOperationalActivity(ulong instanceId, int operationalActivityId, OperationalActivityType operationalActivityType) : base(instanceId, operationalActivityId, operationalActivityType)
 {
     this.AccumulateRechargeRMB = 0;
 }
 // Token: 0x0600509F RID: 20639 RVA: 0x00181664 File Offset: 0x0017F864
 public LimitedTimeExchangeOperationActivity(ulong instanceId, int operationalActivityId, OperationalActivityType operationalActivityType) : base(instanceId, operationalActivityId, operationalActivityType)
 {
     this.ExchangedItemGroups = new Dictionary <int, int>();
 }
Ejemplo n.º 11
0
 // Token: 0x0600504F RID: 20559 RVA: 0x00180AE0 File Offset: 0x0017ECE0
 public OperationalActivityBase(ulong instanceId, int operationalActivityId, OperationalActivityType operationalActivityType) : this()
 {
     this.InstanceId   = instanceId;
     this.ActivityId   = operationalActivityId;
     this.ActivityType = operationalActivityType;
 }
        // Token: 0x0600504D RID: 20557 RVA: 0x00180A18 File Offset: 0x0017EC18
        public static OperationalActivityBase CreateOperationalActivity(ulong instanceId, int operationalActivityId, OperationalActivityType operationalActivityType)
        {
            switch (operationalActivityType)
            {
            case OperationalActivityType.OperationalActivityType_PlayerLevelUp:
                return(new PlayerLevelUpOperationalActivity(instanceId, operationalActivityId, operationalActivityType));

            case OperationalActivityType.OperationalActivityType_LimitedTimeExchange:
                return(new LimitedTimeExchangeOperationActivity(instanceId, operationalActivityId, operationalActivityType));

            case OperationalActivityType.OperationalActivityType_SpecificDaysLogin:
                return(new SpecificDaysLoginOperationalActivity(instanceId, operationalActivityId, operationalActivityType));

            case OperationalActivityType.OperationalActivityType_AccumulateDaysLogin:
                return(new AccumulateLoginOperationalActivity(instanceId, operationalActivityId, operationalActivityType));

            case OperationalActivityType.OperationalActivityType_RewardAdd:
            case OperationalActivityType.OperationalActivityType_ChallengeNumsAdd:
            case OperationalActivityType.OperationalActivityType_ActivitySelectCard:
            case OperationalActivityType.OperationalActivityType_Raffle:
            case OperationalActivityType.OperationalActivityType_UnchartedScore:
            case OperationalActivityType.OperationalActivityType_Web:
            case OperationalActivityType.OperationalActivityType_BuyItemGuide:
                return(new EffectOperationalActivity(instanceId, operationalActivityId, operationalActivityType));

            case OperationalActivityType.OperationalActivityType_AccumulateRecharge:
                return(new AccumulateRechargeOperationalActivity(instanceId, operationalActivityId, operationalActivityType));

            case OperationalActivityType.OperationalActivityType_AccumulateConsumeCrystal:
                return(new AccumulateConsumeCrystalOperationalActivity(instanceId, operationalActivityId, operationalActivityType));
            }
            return(null);
        }
Ejemplo n.º 13
0
 // Token: 0x060050A8 RID: 20648 RVA: 0x001818C4 File Offset: 0x0017FAC4
 public EffectOperationalActivity(ulong instanceId, int operationalActivityId, OperationalActivityType operationalActivityType) : base(instanceId, operationalActivityId, operationalActivityType)
 {
 }