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/AuctOverlapData.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/AuctOverlapData.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/AuctOverlapData.cs | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/AuctOverlapData.cs b/Client/Assets/Scripts/XMainClient/KKSG/AuctOverlapData.cs new file mode 100644 index 00000000..36ed85d8 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/AuctOverlapData.cs @@ -0,0 +1,121 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "AuctOverlapData")]
+ [Serializable]
+ public class AuctOverlapData : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "overlapid", DataFormat = DataFormat.TwosComplement)]
+ public ulong overlapid
+ {
+ get
+ {
+ return this._overlapid ?? 0UL;
+ }
+ set
+ {
+ this._overlapid = new ulong?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool overlapidSpecified
+ {
+ get
+ {
+ return this._overlapid != null;
+ }
+ set
+ {
+ bool flag = value == (this._overlapid == null);
+ if (flag)
+ {
+ this._overlapid = (value ? new ulong?(this.overlapid) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "perprice", DataFormat = DataFormat.TwosComplement)]
+ public uint perprice
+ {
+ get
+ {
+ return this._perprice ?? 0u;
+ }
+ set
+ {
+ this._perprice = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool perpriceSpecified
+ {
+ get
+ {
+ return this._perprice != null;
+ }
+ set
+ {
+ bool flag = value == (this._perprice == null);
+ if (flag)
+ {
+ this._perprice = (value ? new uint?(this.perprice) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "itemdata", DataFormat = DataFormat.Default)]
+ [DefaultValue(null)]
+ public Item itemdata
+ {
+ get
+ {
+ return this._itemdata;
+ }
+ set
+ {
+ this._itemdata = value;
+ }
+ }
+
+ private ulong? _overlapid;
+
+ private uint? _perprice;
+
+ private Item _itemdata = null;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeoverlapid()
+ {
+ return this.overlapidSpecified;
+ }
+
+ private void Resetoverlapid()
+ {
+ this.overlapidSpecified = false;
+ }
+
+ private bool ShouldSerializeperprice()
+ {
+ return this.perpriceSpecified;
+ }
+
+ private void Resetperprice()
+ {
+ this.perpriceSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|