// Token: 0x060050A9 RID: 20649 RVA: 0x001818D0 File Offset: 0x0017FAD0 public void DeserializeFromPB(ProEffectOperationActivity pbOperationalActivity, ConfigDataOperationalActivityInfo config) { base.OperationShowTime = new DateTime(pbOperationalActivity.BasicInfo.OperationShowTime); base.OperationStartTime = new DateTime(pbOperationalActivity.BasicInfo.OperationStartTime); base.OperationEndTime = new DateTime(pbOperationalActivity.BasicInfo.OperationEndTime); base.GainRewardEndTime = new DateTime(pbOperationalActivity.BasicInfo.GainRewardEndTime); base.Config = config; }
public static int SerializeToPB(IntPtr l) { int result; try { EffectOperationalActivity effectOperationalActivity = (EffectOperationalActivity)LuaObject.checkSelf(l); ProEffectOperationActivity o = effectOperationalActivity.SerializeToPB(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }