summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/GuildLadderRoleRank.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/GuildLadderRoleRank.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/GuildLadderRoleRank.cs191
1 files changed, 191 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/GuildLadderRoleRank.cs b/Client/Assets/Scripts/XMainClient/KKSG/GuildLadderRoleRank.cs
new file mode 100644
index 00000000..34bf2fe8
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/GuildLadderRoleRank.cs
@@ -0,0 +1,191 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "GuildLadderRoleRank")]
+ [Serializable]
+ public class GuildLadderRoleRank : IExtensible
+ {
+ [ProtoMember(1, 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);
+ }
+ }
+ }
+
+ [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 = "wintimes", DataFormat = DataFormat.TwosComplement)]
+ public uint wintimes
+ {
+ get
+ {
+ return this._wintimes ?? 0u;
+ }
+ set
+ {
+ this._wintimes = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool wintimesSpecified
+ {
+ get
+ {
+ return this._wintimes != null;
+ }
+ set
+ {
+ bool flag = value == (this._wintimes == null);
+ if (flag)
+ {
+ this._wintimes = (value ? new uint?(this.wintimes) : null);
+ }
+ }
+ }
+
+ [ProtoMember(4, IsRequired = false, Name = "guildid", DataFormat = DataFormat.TwosComplement)]
+ public ulong guildid
+ {
+ get
+ {
+ return this._guildid ?? 0UL;
+ }
+ set
+ {
+ this._guildid = new ulong?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool guildidSpecified
+ {
+ get
+ {
+ return this._guildid != null;
+ }
+ set
+ {
+ bool flag = value == (this._guildid == null);
+ if (flag)
+ {
+ this._guildid = (value ? new ulong?(this.guildid) : null);
+ }
+ }
+ }
+
+ private ulong? _roleid;
+
+ private string _name;
+
+ private uint? _wintimes;
+
+ private ulong? _guildid;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeroleid()
+ {
+ return this.roleidSpecified;
+ }
+
+ private void Resetroleid()
+ {
+ this.roleidSpecified = false;
+ }
+
+ private bool ShouldSerializename()
+ {
+ return this.nameSpecified;
+ }
+
+ private void Resetname()
+ {
+ this.nameSpecified = false;
+ }
+
+ private bool ShouldSerializewintimes()
+ {
+ return this.wintimesSpecified;
+ }
+
+ private void Resetwintimes()
+ {
+ this.wintimesSpecified = false;
+ }
+
+ private bool ShouldSerializeguildid()
+ {
+ return this.guildidSpecified;
+ }
+
+ private void Resetguildid()
+ {
+ this.guildidSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}