summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/LeagueBattleResultRole.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/LeagueBattleResultRole.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/LeagueBattleResultRole.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/LeagueBattleResultRole.cs121
1 files changed, 121 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/LeagueBattleResultRole.cs b/Client/Assets/Scripts/XMainClient/KKSG/LeagueBattleResultRole.cs
new file mode 100644
index 00000000..ca51d983
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/LeagueBattleResultRole.cs
@@ -0,0 +1,121 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "LeagueBattleResultRole")]
+ [Serializable]
+ public class LeagueBattleResultRole : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "basedata", DataFormat = DataFormat.Default)]
+ [DefaultValue(null)]
+ public LeagueBattleRoleBrief basedata
+ {
+ get
+ {
+ return this._basedata;
+ }
+ set
+ {
+ this._basedata = value;
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "killnum", DataFormat = DataFormat.TwosComplement)]
+ public uint killnum
+ {
+ get
+ {
+ return this._killnum ?? 0u;
+ }
+ set
+ {
+ this._killnum = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool killnumSpecified
+ {
+ get
+ {
+ return this._killnum != null;
+ }
+ set
+ {
+ bool flag = value == (this._killnum == null);
+ if (flag)
+ {
+ this._killnum = (value ? new uint?(this.killnum) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "is_up", DataFormat = DataFormat.Default)]
+ public bool is_up
+ {
+ get
+ {
+ return this._is_up ?? false;
+ }
+ set
+ {
+ this._is_up = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool is_upSpecified
+ {
+ get
+ {
+ return this._is_up != null;
+ }
+ set
+ {
+ bool flag = value == (this._is_up == null);
+ if (flag)
+ {
+ this._is_up = (value ? new bool?(this.is_up) : null);
+ }
+ }
+ }
+
+ private LeagueBattleRoleBrief _basedata = null;
+
+ private uint? _killnum;
+
+ private bool? _is_up;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializekillnum()
+ {
+ return this.killnumSpecified;
+ }
+
+ private void Resetkillnum()
+ {
+ this.killnumSpecified = false;
+ }
+
+ private bool ShouldSerializeis_up()
+ {
+ return this.is_upSpecified;
+ }
+
+ private void Resetis_up()
+ {
+ this.is_upSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}