diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/KKSG/PayAileenInfo.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/PayAileenInfo.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/PayAileenInfo.cs | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/PayAileenInfo.cs b/Client/Assets/Scripts/XMainClient/KKSG/PayAileenInfo.cs new file mode 100644 index 00000000..fdd513ee --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/PayAileenInfo.cs @@ -0,0 +1,148 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "PayAileenInfo")]
+ [Serializable]
+ public class PayAileenInfo : 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 = "isBuy", DataFormat = DataFormat.Default)]
+ public bool isBuy
+ {
+ get
+ {
+ return this._isBuy ?? false;
+ }
+ set
+ {
+ this._isBuy = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool isBuySpecified
+ {
+ get
+ {
+ return this._isBuy != null;
+ }
+ set
+ {
+ bool flag = value == (this._isBuy == null);
+ if (flag)
+ {
+ this._isBuy = (value ? new bool?(this.isBuy) : null);
+ }
+ }
+ }
+
+ private string _paramID;
+
+ private int? _itemID;
+
+ private bool? _isBuy;
+
+ 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 ShouldSerializeisBuy()
+ {
+ return this.isBuySpecified;
+ }
+
+ private void ResetisBuy()
+ {
+ this.isBuySpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|