summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/PayAileenRecord.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/KKSG/PayAileenRecord.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/PayAileenRecord.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/PayAileenRecord.cs207
1 files changed, 207 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/PayAileenRecord.cs b/Client/Assets/Scripts/XMainClient/KKSG/PayAileenRecord.cs
new file mode 100644
index 00000000..8ae99fbc
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/PayAileenRecord.cs
@@ -0,0 +1,207 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "PayAileenRecord")]
+ [Serializable]
+ public class PayAileenRecord : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "paramID", DataFormat = DataFormat.Default)]
+ public string paramID
+ {
+ get
+ {
+ return this._paramID ?? "";
+ }
+ set
+ {
+ this._paramID = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool paramIDSpecified
+ {
+ get
+ {
+ return this._paramID != null;
+ }
+ set
+ {
+ bool flag = value == (this._paramID == null);
+ if (flag)
+ {
+ this._paramID = (value ? this.paramID : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "itemID", DataFormat = DataFormat.TwosComplement)]
+ public int itemID
+ {
+ get
+ {
+ return this._itemID ?? 0;
+ }
+ set
+ {
+ this._itemID = new int?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool itemIDSpecified
+ {
+ get
+ {
+ return this._itemID != null;
+ }
+ set
+ {
+ bool flag = value == (this._itemID == null);
+ if (flag)
+ {
+ this._itemID = (value ? new int?(this.itemID) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "lastBuyTime", DataFormat = DataFormat.TwosComplement)]
+ public uint lastBuyTime
+ {
+ get
+ {
+ return this._lastBuyTime ?? 0u;
+ }
+ set
+ {
+ this._lastBuyTime = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool lastBuyTimeSpecified
+ {
+ get
+ {
+ return this._lastBuyTime != null;
+ }
+ set
+ {
+ bool flag = value == (this._lastBuyTime == null);
+ if (flag)
+ {
+ this._lastBuyTime = (value ? new uint?(this.lastBuyTime) : null);
+ }
+ }
+ }
+
+ [ProtoMember(4, IsRequired = false, Name = "detail", DataFormat = DataFormat.Default)]
+ [DefaultValue(null)]
+ public PaytssInfo detail
+ {
+ get
+ {
+ return this._detail;
+ }
+ set
+ {
+ this._detail = value;
+ }
+ }
+
+ [ProtoMember(5, IsRequired = false, Name = "lastdelivertime", DataFormat = DataFormat.TwosComplement)]
+ public uint lastdelivertime
+ {
+ get
+ {
+ return this._lastdelivertime ?? 0u;
+ }
+ set
+ {
+ this._lastdelivertime = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool lastdelivertimeSpecified
+ {
+ get
+ {
+ return this._lastdelivertime != null;
+ }
+ set
+ {
+ bool flag = value == (this._lastdelivertime == null);
+ if (flag)
+ {
+ this._lastdelivertime = (value ? new uint?(this.lastdelivertime) : null);
+ }
+ }
+ }
+
+ private string _paramID;
+
+ private int? _itemID;
+
+ private uint? _lastBuyTime;
+
+ private PaytssInfo _detail = null;
+
+ private uint? _lastdelivertime;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeparamID()
+ {
+ return this.paramIDSpecified;
+ }
+
+ private void ResetparamID()
+ {
+ this.paramIDSpecified = false;
+ }
+
+ private bool ShouldSerializeitemID()
+ {
+ return this.itemIDSpecified;
+ }
+
+ private void ResetitemID()
+ {
+ this.itemIDSpecified = false;
+ }
+
+ private bool ShouldSerializelastBuyTime()
+ {
+ return this.lastBuyTimeSpecified;
+ }
+
+ private void ResetlastBuyTime()
+ {
+ this.lastBuyTimeSpecified = false;
+ }
+
+ private bool ShouldSerializelastdelivertime()
+ {
+ return this.lastdelivertimeSpecified;
+ }
+
+ private void Resetlastdelivertime()
+ {
+ this.lastdelivertimeSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}