summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/SkyCityFinalInfo.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/SkyCityFinalInfo.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/SkyCityFinalInfo.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/SkyCityFinalInfo.cs128
1 files changed, 128 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/SkyCityFinalInfo.cs b/Client/Assets/Scripts/XMainClient/KKSG/SkyCityFinalInfo.cs
new file mode 100644
index 00000000..d3b613af
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/SkyCityFinalInfo.cs
@@ -0,0 +1,128 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "SkyCityFinalInfo")]
+ [Serializable]
+ public class SkyCityFinalInfo : IExtensible
+ {
+ [ProtoMember(1, Name = "info", DataFormat = DataFormat.Default)]
+ public List<SkyCityFinalBaseInfo> info
+ {
+ get
+ {
+ return this._info;
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "floor", DataFormat = DataFormat.TwosComplement)]
+ public uint floor
+ {
+ get
+ {
+ return this._floor ?? 0u;
+ }
+ set
+ {
+ this._floor = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool floorSpecified
+ {
+ get
+ {
+ return this._floor != null;
+ }
+ set
+ {
+ bool flag = value == (this._floor == null);
+ if (flag)
+ {
+ this._floor = (value ? new uint?(this.floor) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, Name = "item", DataFormat = DataFormat.Default)]
+ public List<ItemBrief> item
+ {
+ get
+ {
+ return this._item;
+ }
+ }
+
+ [ProtoMember(4, IsRequired = false, Name = "ismvp", DataFormat = DataFormat.Default)]
+ public bool ismvp
+ {
+ get
+ {
+ return this._ismvp ?? false;
+ }
+ set
+ {
+ this._ismvp = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool ismvpSpecified
+ {
+ get
+ {
+ return this._ismvp != null;
+ }
+ set
+ {
+ bool flag = value == (this._ismvp == null);
+ if (flag)
+ {
+ this._ismvp = (value ? new bool?(this.ismvp) : null);
+ }
+ }
+ }
+
+ private readonly List<SkyCityFinalBaseInfo> _info = new List<SkyCityFinalBaseInfo>();
+
+ private uint? _floor;
+
+ private readonly List<ItemBrief> _item = new List<ItemBrief>();
+
+ private bool? _ismvp;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializefloor()
+ {
+ return this.floorSpecified;
+ }
+
+ private void Resetfloor()
+ {
+ this.floorSpecified = false;
+ }
+
+ private bool ShouldSerializeismvp()
+ {
+ return this.ismvpSpecified;
+ }
+
+ private void Resetismvp()
+ {
+ this.ismvpSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}