// Token: 0x06007433 RID: 29747 RVA: 0x001FFFB4 File Offset: 0x001FE1B4
		public int ExchangeItemGroup(ulong operationalActivityInstanceId, int itemGroupIndex)
		{
			if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_ExchangeItemGroupUInt64Int32_hotfix != null)
			{
				return Convert.ToInt32(this.m_ExchangeItemGroupUInt64Int32_hotfix.call(new object[]
				{
					this,
					operationalActivityInstanceId,
					itemGroupIndex
				}));
			}
			BJLuaObjHelper.IsSkipLuaHotfix = false;
			OperationalActivityBase operationalActivityBase = base.FindOperationalActivityById(operationalActivityInstanceId);
			if (operationalActivityBase == null)
			{
				return -2204;
			}
			LimitedTimeExchangeOperationActivity limitedTimeExchangeOperationActivity = operationalActivityBase as LimitedTimeExchangeOperationActivity;
			if (limitedTimeExchangeOperationActivity == null)
			{
				return -2212;
			}
			this.m_operationalActivityDS.ExchangeItemGroup(limitedTimeExchangeOperationActivity, itemGroupIndex);
			return 0;
		}
    public static int get_ExchangedItemGroups(IntPtr l)
    {
        int result;

        try
        {
            LimitedTimeExchangeOperationActivity limitedTimeExchangeOperationActivity = (LimitedTimeExchangeOperationActivity)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, limitedTimeExchangeOperationActivity.ExchangedItemGroups);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int SerializeToPB(IntPtr l)
    {
        int result;

        try
        {
            LimitedTimeExchangeOperationActivity    limitedTimeExchangeOperationActivity = (LimitedTimeExchangeOperationActivity)LuaObject.checkSelf(l);
            ProLimitedTimeExchangeOperationActivity o = limitedTimeExchangeOperationActivity.SerializeToPB();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int ToPBNtf(IntPtr l)
    {
        int result;

        try
        {
            LimitedTimeExchangeOperationActivity limitedTimeExchangeOperationActivity = (LimitedTimeExchangeOperationActivity)LuaObject.checkSelf(l);
            DSOperationalActivityNtf             ntf;
            LuaObject.checkType <DSOperationalActivityNtf>(l, 2, out ntf);
            limitedTimeExchangeOperationActivity.ToPBNtf(ntf);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_ExchangedItemGroups(IntPtr l)
    {
        int result;

        try
        {
            LimitedTimeExchangeOperationActivity limitedTimeExchangeOperationActivity = (LimitedTimeExchangeOperationActivity)LuaObject.checkSelf(l);
            Dictionary <int, int> exchangedItemGroups;
            LuaObject.checkType <Dictionary <int, int> >(l, 2, out exchangedItemGroups);
            limitedTimeExchangeOperationActivity.ExchangedItemGroups = exchangedItemGroups;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int DeserializeFromPB(IntPtr l)
    {
        int result;

        try
        {
            LimitedTimeExchangeOperationActivity    limitedTimeExchangeOperationActivity = (LimitedTimeExchangeOperationActivity)LuaObject.checkSelf(l);
            ProLimitedTimeExchangeOperationActivity pbOperationalActivity;
            LuaObject.checkType <ProLimitedTimeExchangeOperationActivity>(l, 2, out pbOperationalActivity);
            ConfigDataOperationalActivityInfo config;
            LuaObject.checkType <ConfigDataOperationalActivityInfo>(l, 3, out config);
            limitedTimeExchangeOperationActivity.DeserializeFromPB(pbOperationalActivity, config);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int AddOperationalActivityItemExchangeTimes(IntPtr l)
    {
        int result;

        try
        {
            LimitedTimeExchangeOperationActivity limitedTimeExchangeOperationActivity = (LimitedTimeExchangeOperationActivity)LuaObject.checkSelf(l);
            int itemGroupIndex;
            LuaObject.checkType(l, 2, out itemGroupIndex);
            int exchangeTimes;
            LuaObject.checkType(l, 3, out exchangeTimes);
            int i = limitedTimeExchangeOperationActivity.AddOperationalActivityItemExchangeTimes(itemGroupIndex, exchangeTimes);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, i);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            int num = LuaDLL.lua_gettop(l);
            if (num == 1)
            {
                LimitedTimeExchangeOperationActivity o = new LimitedTimeExchangeOperationActivity();
                LuaObject.pushValue(l, true);
                LuaObject.pushValue(l, o);
                result = 2;
            }
            else if (num == 4)
            {
                ulong instanceId;
                LuaObject.checkType(l, 2, out instanceId);
                int operationalActivityId;
                LuaObject.checkType(l, 3, out operationalActivityId);
                OperationalActivityType operationalActivityType;
                LuaObject.checkEnum <OperationalActivityType>(l, 4, out operationalActivityType);
                LimitedTimeExchangeOperationActivity o = new LimitedTimeExchangeOperationActivity(instanceId, operationalActivityId, operationalActivityType);
                LuaObject.pushValue(l, true);
                LuaObject.pushValue(l, o);
                result = 2;
            }
            else
            {
                result = LuaObject.error(l, "New object failed.");
            }
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
			// Token: 0x06007471 RID: 29809 RVA: 0x002014B8 File Offset: 0x001FF6B8
			public int __callBase_CanExchangeItemGroup(LimitedTimeExchangeOperationActivity limitedTimeExchangeOperationalActivity, int itemGroupIndex)
			{
				return this.m_owner.__callBase_CanExchangeItemGroup(limitedTimeExchangeOperationalActivity, itemGroupIndex);
			}
		// Token: 0x06007452 RID: 29778 RVA: 0x00201034 File Offset: 0x001FF234
		private int __callBase_CanExchangeItemGroup(LimitedTimeExchangeOperationActivity limitedTimeExchangeOperationalActivity, int itemGroupIndex)
		{
			return base.CanExchangeItemGroup(limitedTimeExchangeOperationalActivity, itemGroupIndex);
		}
		// Token: 0x06007435 RID: 29749 RVA: 0x00200144 File Offset: 0x001FE344
		public void Deserialize(DSOperationalActivityNtf ntf)
		{
			if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_DeserializeDSOperationalActivityNtf_hotfix != null)
			{
				this.m_DeserializeDSOperationalActivityNtf_hotfix.call(new object[]
				{
					this,
					ntf
				});
				return;
			}
			BJLuaObjHelper.IsSkipLuaHotfix = false;
			List<OperationalActivityBase> list = new List<OperationalActivityBase>();
			foreach (ProPlayerLevelUpOperationalActivity proPlayerLevelUpOperationalActivity in ntf.PlayerLevelUpAwardOperationalActivities)
			{
				ConfigDataOperationalActivityInfo configDataOperationalActivityInfo = this.m_configDataLoader.GetConfigDataOperationalActivityInfo(proPlayerLevelUpOperationalActivity.BasicInfo.ActivityId);
				if (configDataOperationalActivityInfo != null)
				{
					PlayerLevelUpOperationalActivity playerLevelUpOperationalActivity = OperationalActivityFactory.CreateOperationalActivity(proPlayerLevelUpOperationalActivity.BasicInfo.InstanceId, proPlayerLevelUpOperationalActivity.BasicInfo.ActivityId, configDataOperationalActivityInfo.ActivityType) as PlayerLevelUpOperationalActivity;
					playerLevelUpOperationalActivity.DeserializeFromPB(proPlayerLevelUpOperationalActivity, configDataOperationalActivityInfo);
					list.Add(playerLevelUpOperationalActivity);
				}
			}
			foreach (ProAccumulateLoginOperationalActivity proAccumulateLoginOperationalActivity in ntf.AccumulateLoginAwardOperationalActivities)
			{
				ConfigDataOperationalActivityInfo configDataOperationalActivityInfo = this.m_configDataLoader.GetConfigDataOperationalActivityInfo(proAccumulateLoginOperationalActivity.BasicInfo.ActivityId);
				if (configDataOperationalActivityInfo != null)
				{
					AccumulateLoginOperationalActivity accumulateLoginOperationalActivity = OperationalActivityFactory.CreateOperationalActivity(proAccumulateLoginOperationalActivity.BasicInfo.InstanceId, proAccumulateLoginOperationalActivity.BasicInfo.ActivityId, configDataOperationalActivityInfo.ActivityType) as AccumulateLoginOperationalActivity;
					accumulateLoginOperationalActivity.DeserializeFromPB(proAccumulateLoginOperationalActivity, configDataOperationalActivityInfo);
					list.Add(accumulateLoginOperationalActivity);
				}
			}
			foreach (ProSpecificDaysLoginOperationalActivity proSpecificDaysLoginOperationalActivity in ntf.SpecificDaysLoginAwardOperationalActivities)
			{
				ConfigDataOperationalActivityInfo configDataOperationalActivityInfo = this.m_configDataLoader.GetConfigDataOperationalActivityInfo(proSpecificDaysLoginOperationalActivity.BasicInfo.ActivityId);
				if (configDataOperationalActivityInfo != null)
				{
					SpecificDaysLoginOperationalActivity specificDaysLoginOperationalActivity = OperationalActivityFactory.CreateOperationalActivity(proSpecificDaysLoginOperationalActivity.BasicInfo.InstanceId, proSpecificDaysLoginOperationalActivity.BasicInfo.ActivityId, configDataOperationalActivityInfo.ActivityType) as SpecificDaysLoginOperationalActivity;
					specificDaysLoginOperationalActivity.DeserializeFromPB(proSpecificDaysLoginOperationalActivity, configDataOperationalActivityInfo);
					list.Add(specificDaysLoginOperationalActivity);
				}
			}
			foreach (ProLimitedTimeExchangeOperationActivity proLimitedTimeExchangeOperationActivity in ntf.LimitedTimeExchangeOperationActivities)
			{
				ConfigDataOperationalActivityInfo configDataOperationalActivityInfo = this.m_configDataLoader.GetConfigDataOperationalActivityInfo(proLimitedTimeExchangeOperationActivity.BasicInfo.ActivityId);
				if (configDataOperationalActivityInfo != null)
				{
					LimitedTimeExchangeOperationActivity limitedTimeExchangeOperationActivity = OperationalActivityFactory.CreateOperationalActivity(proLimitedTimeExchangeOperationActivity.BasicInfo.InstanceId, proLimitedTimeExchangeOperationActivity.BasicInfo.ActivityId, configDataOperationalActivityInfo.ActivityType) as LimitedTimeExchangeOperationActivity;
					limitedTimeExchangeOperationActivity.DeserializeFromPB(proLimitedTimeExchangeOperationActivity, configDataOperationalActivityInfo);
					list.Add(limitedTimeExchangeOperationActivity);
				}
			}
			foreach (ProEffectOperationActivity proEffectOperationActivity in ntf.EffectOperationActivities)
			{
				ConfigDataOperationalActivityInfo configDataOperationalActivityInfo = this.m_configDataLoader.GetConfigDataOperationalActivityInfo(proEffectOperationActivity.BasicInfo.ActivityId);
				if (configDataOperationalActivityInfo != null)
				{
					EffectOperationalActivity effectOperationalActivity = OperationalActivityFactory.CreateOperationalActivity(proEffectOperationActivity.BasicInfo.InstanceId, proEffectOperationActivity.BasicInfo.ActivityId, configDataOperationalActivityInfo.ActivityType) as EffectOperationalActivity;
					effectOperationalActivity.DeserializeFromPB(proEffectOperationActivity, configDataOperationalActivityInfo);
					if (effectOperationalActivity.IsInOperationPeriod(this.m_basicInfo.GetCurrentTime()))
					{
						base.EffectOperationActivityGenerateEffect(effectOperationalActivity, true);
					}
					list.Add(effectOperationalActivity);
				}
			}
			foreach (ProAccumulateRechargeOperationalActivity proAccumulateRechargeOperationalActivity in ntf.AccumulateRechargeOperationalActivities)
			{
				ConfigDataOperationalActivityInfo configDataOperationalActivityInfo = this.m_configDataLoader.GetConfigDataOperationalActivityInfo(proAccumulateRechargeOperationalActivity.BasicInfo.ActivityId);
				if (configDataOperationalActivityInfo != null)
				{
					AccumulateRechargeOperationalActivity accumulateRechargeOperationalActivity = OperationalActivityFactory.CreateOperationalActivity(proAccumulateRechargeOperationalActivity.BasicInfo.InstanceId, proAccumulateRechargeOperationalActivity.BasicInfo.ActivityId, configDataOperationalActivityInfo.ActivityType) as AccumulateRechargeOperationalActivity;
					accumulateRechargeOperationalActivity.DeserializeFromPB(proAccumulateRechargeOperationalActivity, configDataOperationalActivityInfo);
					list.Add(accumulateRechargeOperationalActivity);
				}
			}
			foreach (ProAccumulateConsumeCrystalOperationalActivity proAccumulateConsumeCrystalOperationalActivity in ntf.AccumulateConsumeCrystalOperationalActivitites)
			{
				ConfigDataOperationalActivityInfo configDataOperationalActivityInfo = this.m_configDataLoader.GetConfigDataOperationalActivityInfo(proAccumulateConsumeCrystalOperationalActivity.BasicInfo.ActivityId);
				if (configDataOperationalActivityInfo != null)
				{
					AccumulateConsumeCrystalOperationalActivity accumulateConsumeCrystalOperationalActivity = OperationalActivityFactory.CreateOperationalActivity(proAccumulateConsumeCrystalOperationalActivity.BasicInfo.InstanceId, proAccumulateConsumeCrystalOperationalActivity.BasicInfo.ActivityId, configDataOperationalActivityInfo.ActivityType) as AccumulateConsumeCrystalOperationalActivity;
					accumulateConsumeCrystalOperationalActivity.DeserializeFromPB(proAccumulateConsumeCrystalOperationalActivity, configDataOperationalActivityInfo);
					list.Add(accumulateConsumeCrystalOperationalActivity);
				}
			}
			this.m_operationalActivityDS.InitOperationalActivities(list);
			this.m_operationalActivityDS.InitVersion((ushort)ntf.Version, (ushort)ntf.Version);
		}