diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/CompeteDragonInfo2DB.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/CompeteDragonInfo2DB.cs | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/CompeteDragonInfo2DB.cs b/Client/Assets/Scripts/XMainClient/KKSG/CompeteDragonInfo2DB.cs new file mode 100644 index 00000000..d31dcc5d --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/CompeteDragonInfo2DB.cs @@ -0,0 +1,148 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "CompeteDragonInfo2DB")]
+ [Serializable]
+ public class CompeteDragonInfo2DB : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "updateDay", DataFormat = DataFormat.TwosComplement)]
+ public int updateDay
+ {
+ get
+ {
+ return this._updateDay ?? 0;
+ }
+ set
+ {
+ this._updateDay = new int?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool updateDaySpecified
+ {
+ get
+ {
+ return this._updateDay != null;
+ }
+ set
+ {
+ bool flag = value == (this._updateDay == null);
+ if (flag)
+ {
+ this._updateDay = (value ? new int?(this.updateDay) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "throughCount", DataFormat = DataFormat.TwosComplement)]
+ public uint throughCount
+ {
+ get
+ {
+ return this._throughCount ?? 0u;
+ }
+ set
+ {
+ this._throughCount = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool throughCountSpecified
+ {
+ get
+ {
+ return this._throughCount != null;
+ }
+ set
+ {
+ bool flag = value == (this._throughCount == null);
+ if (flag)
+ {
+ this._throughCount = (value ? new uint?(this.throughCount) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "getRewardCount", DataFormat = DataFormat.TwosComplement)]
+ public uint getRewardCount
+ {
+ get
+ {
+ return this._getRewardCount ?? 0u;
+ }
+ set
+ {
+ this._getRewardCount = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool getRewardCountSpecified
+ {
+ get
+ {
+ return this._getRewardCount != null;
+ }
+ set
+ {
+ bool flag = value == (this._getRewardCount == null);
+ if (flag)
+ {
+ this._getRewardCount = (value ? new uint?(this.getRewardCount) : null);
+ }
+ }
+ }
+
+ private int? _updateDay;
+
+ private uint? _throughCount;
+
+ private uint? _getRewardCount;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeupdateDay()
+ {
+ return this.updateDaySpecified;
+ }
+
+ private void ResetupdateDay()
+ {
+ this.updateDaySpecified = false;
+ }
+
+ private bool ShouldSerializethroughCount()
+ {
+ return this.throughCountSpecified;
+ }
+
+ private void ResetthroughCount()
+ {
+ this.throughCountSpecified = false;
+ }
+
+ private bool ShouldSerializegetRewardCount()
+ {
+ return this.getRewardCountSpecified;
+ }
+
+ private void ResetgetRewardCount()
+ {
+ this.getRewardCountSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|