summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/SpActivity.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/SpActivity.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/SpActivity.cs149
1 files changed, 149 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/SpActivity.cs b/Client/Assets/Scripts/XMainClient/KKSG/SpActivity.cs
new file mode 100644
index 00000000..5bccc0c7
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/SpActivity.cs
@@ -0,0 +1,149 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "SpActivity")]
+ [Serializable]
+ public class SpActivity : IExtensible
+ {
+ [ProtoMember(1, Name = "spActivity", DataFormat = DataFormat.Default)]
+ public List<SpActivityOne> spActivity
+ {
+ get
+ {
+ return this._spActivity;
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "lastBackFlowStartTime", DataFormat = DataFormat.TwosComplement)]
+ public uint lastBackFlowStartTime
+ {
+ get
+ {
+ return this._lastBackFlowStartTime ?? 0u;
+ }
+ set
+ {
+ this._lastBackFlowStartTime = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool lastBackFlowStartTimeSpecified
+ {
+ get
+ {
+ return this._lastBackFlowStartTime != null;
+ }
+ set
+ {
+ bool flag = value == (this._lastBackFlowStartTime == null);
+ if (flag)
+ {
+ this._lastBackFlowStartTime = (value ? new uint?(this.lastBackFlowStartTime) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "argentaPreData", DataFormat = DataFormat.Default)]
+ [DefaultValue(null)]
+ public ArgentaPreData argentaPreData
+ {
+ get
+ {
+ return this._argentaPreData;
+ }
+ set
+ {
+ this._argentaPreData = value;
+ }
+ }
+
+ [ProtoMember(4, IsRequired = false, Name = "lastArgentaStartTime", DataFormat = DataFormat.TwosComplement)]
+ public uint lastArgentaStartTime
+ {
+ get
+ {
+ return this._lastArgentaStartTime ?? 0u;
+ }
+ set
+ {
+ this._lastArgentaStartTime = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool lastArgentaStartTimeSpecified
+ {
+ get
+ {
+ return this._lastArgentaStartTime != null;
+ }
+ set
+ {
+ bool flag = value == (this._lastArgentaStartTime == null);
+ if (flag)
+ {
+ this._lastArgentaStartTime = (value ? new uint?(this.lastArgentaStartTime) : null);
+ }
+ }
+ }
+
+ [ProtoMember(5, IsRequired = false, Name = "backflowPreData", DataFormat = DataFormat.Default)]
+ [DefaultValue(null)]
+ public BackFlowPreData backflowPreData
+ {
+ get
+ {
+ return this._backflowPreData;
+ }
+ set
+ {
+ this._backflowPreData = value;
+ }
+ }
+
+ private readonly List<SpActivityOne> _spActivity = new List<SpActivityOne>();
+
+ private uint? _lastBackFlowStartTime;
+
+ private ArgentaPreData _argentaPreData = null;
+
+ private uint? _lastArgentaStartTime;
+
+ private BackFlowPreData _backflowPreData = null;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializelastBackFlowStartTime()
+ {
+ return this.lastBackFlowStartTimeSpecified;
+ }
+
+ private void ResetlastBackFlowStartTime()
+ {
+ this.lastBackFlowStartTimeSpecified = false;
+ }
+
+ private bool ShouldSerializelastArgentaStartTime()
+ {
+ return this.lastArgentaStartTimeSpecified;
+ }
+
+ private void ResetlastArgentaStartTime()
+ {
+ this.lastArgentaStartTimeSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}