summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/SkyCityEstimateBaseInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/SkyCityEstimateBaseInfo.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/SkyCityEstimateBaseInfo.cs320
1 files changed, 320 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/SkyCityEstimateBaseInfo.cs b/Client/Assets/Scripts/XMainClient/KKSG/SkyCityEstimateBaseInfo.cs
new file mode 100644
index 00000000..910c0021
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/SkyCityEstimateBaseInfo.cs
@@ -0,0 +1,320 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "SkyCityEstimateBaseInfo")]
+ [Serializable]
+ public class SkyCityEstimateBaseInfo : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "teamid", DataFormat = DataFormat.TwosComplement)]
+ public uint teamid
+ {
+ get
+ {
+ return this._teamid ?? 0u;
+ }
+ set
+ {
+ this._teamid = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool teamidSpecified
+ {
+ get
+ {
+ return this._teamid != null;
+ }
+ set
+ {
+ bool flag = value == (this._teamid == null);
+ if (flag)
+ {
+ this._teamid = (value ? new uint?(this.teamid) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "job", DataFormat = DataFormat.TwosComplement)]
+ public uint job
+ {
+ get
+ {
+ return this._job ?? 0u;
+ }
+ set
+ {
+ this._job = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool jobSpecified
+ {
+ get
+ {
+ return this._job != null;
+ }
+ set
+ {
+ bool flag = value == (this._job == null);
+ if (flag)
+ {
+ this._job = (value ? new uint?(this.job) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, 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(4, IsRequired = false, Name = "killer", DataFormat = DataFormat.TwosComplement)]
+ public uint killer
+ {
+ get
+ {
+ return this._killer ?? 0u;
+ }
+ set
+ {
+ this._killer = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool killerSpecified
+ {
+ get
+ {
+ return this._killer != null;
+ }
+ set
+ {
+ bool flag = value == (this._killer == null);
+ if (flag)
+ {
+ this._killer = (value ? new uint?(this.killer) : null);
+ }
+ }
+ }
+
+ [ProtoMember(5, IsRequired = false, Name = "damage", DataFormat = DataFormat.TwosComplement)]
+ public ulong damage
+ {
+ get
+ {
+ return this._damage ?? 0UL;
+ }
+ set
+ {
+ this._damage = new ulong?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool damageSpecified
+ {
+ get
+ {
+ return this._damage != null;
+ }
+ set
+ {
+ bool flag = value == (this._damage == null);
+ if (flag)
+ {
+ this._damage = (value ? new ulong?(this.damage) : null);
+ }
+ }
+ }
+
+ [ProtoMember(6, IsRequired = false, Name = "lv", DataFormat = DataFormat.TwosComplement)]
+ public uint lv
+ {
+ get
+ {
+ return this._lv ?? 0u;
+ }
+ set
+ {
+ this._lv = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool lvSpecified
+ {
+ get
+ {
+ return this._lv != null;
+ }
+ set
+ {
+ bool flag = value == (this._lv == null);
+ if (flag)
+ {
+ this._lv = (value ? new uint?(this.lv) : null);
+ }
+ }
+ }
+
+ [ProtoMember(7, IsRequired = false, Name = "roleid", DataFormat = DataFormat.TwosComplement)]
+ public ulong roleid
+ {
+ get
+ {
+ return this._roleid ?? 0UL;
+ }
+ set
+ {
+ this._roleid = new ulong?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool roleidSpecified
+ {
+ get
+ {
+ return this._roleid != null;
+ }
+ set
+ {
+ bool flag = value == (this._roleid == null);
+ if (flag)
+ {
+ this._roleid = (value ? new ulong?(this.roleid) : null);
+ }
+ }
+ }
+
+ private uint? _teamid;
+
+ private uint? _job;
+
+ private string _name;
+
+ private uint? _killer;
+
+ private ulong? _damage;
+
+ private uint? _lv;
+
+ private ulong? _roleid;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeteamid()
+ {
+ return this.teamidSpecified;
+ }
+
+ private void Resetteamid()
+ {
+ this.teamidSpecified = false;
+ }
+
+ private bool ShouldSerializejob()
+ {
+ return this.jobSpecified;
+ }
+
+ private void Resetjob()
+ {
+ this.jobSpecified = false;
+ }
+
+ private bool ShouldSerializename()
+ {
+ return this.nameSpecified;
+ }
+
+ private void Resetname()
+ {
+ this.nameSpecified = false;
+ }
+
+ private bool ShouldSerializekiller()
+ {
+ return this.killerSpecified;
+ }
+
+ private void Resetkiller()
+ {
+ this.killerSpecified = false;
+ }
+
+ private bool ShouldSerializedamage()
+ {
+ return this.damageSpecified;
+ }
+
+ private void Resetdamage()
+ {
+ this.damageSpecified = false;
+ }
+
+ private bool ShouldSerializelv()
+ {
+ return this.lvSpecified;
+ }
+
+ private void Resetlv()
+ {
+ this.lvSpecified = false;
+ }
+
+ private bool ShouldSerializeroleid()
+ {
+ return this.roleidSpecified;
+ }
+
+ private void Resetroleid()
+ {
+ this.roleidSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}