summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/ArgentaData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/ArgentaData.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/ArgentaData.cs160
1 files changed, 160 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/ArgentaData.cs b/Client/Assets/Scripts/XMainClient/KKSG/ArgentaData.cs
new file mode 100644
index 00000000..2b123d56
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/ArgentaData.cs
@@ -0,0 +1,160 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "ArgentaData")]
+ [Serializable]
+ public class ArgentaData : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "argentaStartTime", DataFormat = DataFormat.TwosComplement)]
+ public uint argentaStartTime
+ {
+ get
+ {
+ return this._argentaStartTime ?? 0u;
+ }
+ set
+ {
+ this._argentaStartTime = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool argentaStartTimeSpecified
+ {
+ get
+ {
+ return this._argentaStartTime != null;
+ }
+ set
+ {
+ bool flag = value == (this._argentaStartTime == null);
+ if (flag)
+ {
+ this._argentaStartTime = (value ? new uint?(this.argentaStartTime) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "level", DataFormat = DataFormat.TwosComplement)]
+ public uint level
+ {
+ get
+ {
+ return this._level ?? 0u;
+ }
+ set
+ {
+ this._level = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool levelSpecified
+ {
+ get
+ {
+ return this._level != null;
+ }
+ set
+ {
+ bool flag = value == (this._level == null);
+ if (flag)
+ {
+ this._level = (value ? new uint?(this.level) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "lastUpdateTime", DataFormat = DataFormat.TwosComplement)]
+ public uint lastUpdateTime
+ {
+ get
+ {
+ return this._lastUpdateTime ?? 0u;
+ }
+ set
+ {
+ this._lastUpdateTime = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool lastUpdateTimeSpecified
+ {
+ get
+ {
+ return this._lastUpdateTime != null;
+ }
+ set
+ {
+ bool flag = value == (this._lastUpdateTime == null);
+ if (flag)
+ {
+ this._lastUpdateTime = (value ? new uint?(this.lastUpdateTime) : null);
+ }
+ }
+ }
+
+ [ProtoMember(4, Name = "getDailyRewards", DataFormat = DataFormat.TwosComplement)]
+ public List<uint> getDailyRewards
+ {
+ get
+ {
+ return this._getDailyRewards;
+ }
+ }
+
+ private uint? _argentaStartTime;
+
+ private uint? _level;
+
+ private uint? _lastUpdateTime;
+
+ private readonly List<uint> _getDailyRewards = new List<uint>();
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeargentaStartTime()
+ {
+ return this.argentaStartTimeSpecified;
+ }
+
+ private void ResetargentaStartTime()
+ {
+ this.argentaStartTimeSpecified = false;
+ }
+
+ private bool ShouldSerializelevel()
+ {
+ return this.levelSpecified;
+ }
+
+ private void Resetlevel()
+ {
+ this.levelSpecified = false;
+ }
+
+ private bool ShouldSerializelastUpdateTime()
+ {
+ return this.lastUpdateTimeSpecified;
+ }
+
+ private void ResetlastUpdateTime()
+ {
+ this.lastUpdateTimeSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}