// Token: 0x0600743A RID: 29754 RVA: 0x00200918 File Offset: 0x001FEB18
		public bool AddNewOperationalActivity(ProOperationalActivityBasicInfo operationalActivityBasicInfo)
		{
			if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_AddNewOperationalActivityProOperationalActivityBasicInfo_hotfix != null)
			{
				return Convert.ToBoolean(this.m_AddNewOperationalActivityProOperationalActivityBasicInfo_hotfix.call(new object[]
				{
					this,
					operationalActivityBasicInfo
				}));
			}
			BJLuaObjHelper.IsSkipLuaHotfix = false;
			ConfigDataOperationalActivityInfo configDataOperationalActivityInfo = this.m_configDataLoader.GetConfigDataOperationalActivityInfo(operationalActivityBasicInfo.ActivityId);
			if (configDataOperationalActivityInfo == null)
			{
				return false;
			}
			OperationalActivityBase operationalActivityBase = OperationalActivityFactory.CreateOperationalActivity(operationalActivityBasicInfo.InstanceId, operationalActivityBasicInfo.ActivityId, configDataOperationalActivityInfo.ActivityType);
			operationalActivityBase.InitOperationalActivityTime(new DateTime(operationalActivityBasicInfo.OperationStartTime), new DateTime(operationalActivityBasicInfo.OperationEndTime), new DateTime(operationalActivityBasicInfo.GainRewardEndTime), new DateTime(operationalActivityBasicInfo.OperationShowTime));
			operationalActivityBase.Config = configDataOperationalActivityInfo;
			if (operationalActivityBase.IsExpiredOperationalActivity(this.m_basicInfo.GetCurrentTime()))
			{
				return false;
			}
			base.AddNewOperationalActivity(operationalActivityBase);
			return true;
		}
    public static int ToPBOperationalActivityBasicData(IntPtr l)
    {
        int result;

        try
        {
            OperationalActivityBase         operationalActivityBase = (OperationalActivityBase)LuaObject.checkSelf(l);
            ProOperationalActivityBasicInfo o = operationalActivityBase.ToPBOperationalActivityBasicData();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
		// Token: 0x0600743E RID: 29758 RVA: 0x00200CA0 File Offset: 0x001FEEA0
		public void UpdateOperationalActivity(ProOperationalActivityBasicInfo opertioanlActivityInfo)
		{
			if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_UpdateOperationalActivityProOperationalActivityBasicInfo_hotfix != null)
			{
				this.m_UpdateOperationalActivityProOperationalActivityBasicInfo_hotfix.call(new object[]
				{
					this,
					opertioanlActivityInfo
				});
				return;
			}
			BJLuaObjHelper.IsSkipLuaHotfix = false;
			OperationalActivityBase operationalActivityBase = base.FindOperationalActivityById(opertioanlActivityInfo.InstanceId);
			if (operationalActivityBase == null)
			{
				return;
			}
			operationalActivityBase.OperationStartTime = new DateTime(opertioanlActivityInfo.OperationStartTime);
			operationalActivityBase.OperationEndTime = new DateTime(opertioanlActivityInfo.OperationEndTime);
			operationalActivityBase.GainRewardEndTime = new DateTime(opertioanlActivityInfo.GainRewardEndTime);
			this.m_operationalActivityDS.SetDirty(true);
		}