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/GiftIbItem.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/GiftIbItem.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/GiftIbItem.cs | 207 |
1 files changed, 207 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/GiftIbItem.cs b/Client/Assets/Scripts/XMainClient/KKSG/GiftIbItem.cs new file mode 100644 index 00000000..9bbd905c --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/GiftIbItem.cs @@ -0,0 +1,207 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "GiftIbItem")]
+ [Serializable]
+ public class GiftIbItem : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "openid", DataFormat = DataFormat.Default)]
+ public string openid
+ {
+ get
+ {
+ return this._openid ?? "";
+ }
+ set
+ {
+ this._openid = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool openidSpecified
+ {
+ get
+ {
+ return this._openid != null;
+ }
+ set
+ {
+ bool flag = value == (this._openid == null);
+ if (flag)
+ {
+ this._openid = (value ? this.openid : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "name", DataFormat = DataFormat.Default)]
+ public string name
+ {
+ get
+ {
+ return this._name ?? "";
+ }
+ set
+ {
+ this._name = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool nameSpecified
+ {
+ get
+ {
+ return this._name != null;
+ }
+ set
+ {
+ bool flag = value == (this._name == null);
+ if (flag)
+ {
+ this._name = (value ? this.name : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "item", DataFormat = DataFormat.Default)]
+ [DefaultValue(null)]
+ public ItemBrief item
+ {
+ get
+ {
+ return this._item;
+ }
+ set
+ {
+ this._item = value;
+ }
+ }
+
+ [ProtoMember(4, IsRequired = false, Name = "text", DataFormat = DataFormat.Default)]
+ public string text
+ {
+ get
+ {
+ return this._text ?? "";
+ }
+ set
+ {
+ this._text = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool textSpecified
+ {
+ get
+ {
+ return this._text != null;
+ }
+ set
+ {
+ bool flag = value == (this._text == null);
+ if (flag)
+ {
+ this._text = (value ? this.text : null);
+ }
+ }
+ }
+
+ [ProtoMember(5, IsRequired = false, Name = "orderid", DataFormat = DataFormat.Default)]
+ public string orderid
+ {
+ get
+ {
+ return this._orderid ?? "";
+ }
+ set
+ {
+ this._orderid = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool orderidSpecified
+ {
+ get
+ {
+ return this._orderid != null;
+ }
+ set
+ {
+ bool flag = value == (this._orderid == null);
+ if (flag)
+ {
+ this._orderid = (value ? this.orderid : null);
+ }
+ }
+ }
+
+ private string _openid;
+
+ private string _name;
+
+ private ItemBrief _item = null;
+
+ private string _text;
+
+ private string _orderid;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeopenid()
+ {
+ return this.openidSpecified;
+ }
+
+ private void Resetopenid()
+ {
+ this.openidSpecified = false;
+ }
+
+ private bool ShouldSerializename()
+ {
+ return this.nameSpecified;
+ }
+
+ private void Resetname()
+ {
+ this.nameSpecified = false;
+ }
+
+ private bool ShouldSerializetext()
+ {
+ return this.textSpecified;
+ }
+
+ private void Resettext()
+ {
+ this.textSpecified = false;
+ }
+
+ private bool ShouldSerializeorderid()
+ {
+ return this.orderidSpecified;
+ }
+
+ private void Resetorderid()
+ {
+ this.orderidSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|