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/CrossGvgGuildInfo.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/CrossGvgGuildInfo.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/CrossGvgGuildInfo.cs | 449 |
1 files changed, 449 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/CrossGvgGuildInfo.cs b/Client/Assets/Scripts/XMainClient/KKSG/CrossGvgGuildInfo.cs new file mode 100644 index 00000000..fb393498 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/CrossGvgGuildInfo.cs @@ -0,0 +1,449 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "CrossGvgGuildInfo")]
+ [Serializable]
+ public class CrossGvgGuildInfo : IExtensible
+ {
+ [ProtoMember(1, 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);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "guildname", DataFormat = DataFormat.Default)]
+ public string guildname
+ {
+ get
+ {
+ return this._guildname ?? "";
+ }
+ set
+ {
+ this._guildname = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool guildnameSpecified
+ {
+ get
+ {
+ return this._guildname != null;
+ }
+ set
+ {
+ bool flag = value == (this._guildname == null);
+ if (flag)
+ {
+ this._guildname = (value ? this.guildname : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "serverid", DataFormat = DataFormat.TwosComplement)]
+ public uint serverid
+ {
+ get
+ {
+ return this._serverid ?? 0u;
+ }
+ set
+ {
+ this._serverid = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool serveridSpecified
+ {
+ get
+ {
+ return this._serverid != null;
+ }
+ set
+ {
+ bool flag = value == (this._serverid == null);
+ if (flag)
+ {
+ this._serverid = (value ? new uint?(this.serverid) : null);
+ }
+ }
+ }
+
+ [ProtoMember(4, IsRequired = false, Name = "servername", DataFormat = DataFormat.Default)]
+ public string servername
+ {
+ get
+ {
+ return this._servername ?? "";
+ }
+ set
+ {
+ this._servername = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool servernameSpecified
+ {
+ get
+ {
+ return this._servername != null;
+ }
+ set
+ {
+ bool flag = value == (this._servername == null);
+ if (flag)
+ {
+ this._servername = (value ? this.servername : null);
+ }
+ }
+ }
+
+ [ProtoMember(5, IsRequired = false, Name = "score", DataFormat = DataFormat.TwosComplement)]
+ public uint score
+ {
+ get
+ {
+ return this._score ?? 0u;
+ }
+ set
+ {
+ this._score = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool scoreSpecified
+ {
+ get
+ {
+ return this._score != null;
+ }
+ set
+ {
+ bool flag = value == (this._score == null);
+ if (flag)
+ {
+ this._score = (value ? new uint?(this.score) : null);
+ }
+ }
+ }
+
+ [ProtoMember(6, 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(7, IsRequired = false, Name = "icon", DataFormat = DataFormat.TwosComplement)]
+ public uint icon
+ {
+ get
+ {
+ return this._icon ?? 0u;
+ }
+ set
+ {
+ this._icon = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool iconSpecified
+ {
+ get
+ {
+ return this._icon != null;
+ }
+ set
+ {
+ bool flag = value == (this._icon == null);
+ if (flag)
+ {
+ this._icon = (value ? new uint?(this.icon) : null);
+ }
+ }
+ }
+
+ [ProtoMember(8, IsRequired = false, Name = "prestige", DataFormat = DataFormat.TwosComplement)]
+ public uint prestige
+ {
+ get
+ {
+ return this._prestige ?? 0u;
+ }
+ set
+ {
+ this._prestige = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool prestigeSpecified
+ {
+ get
+ {
+ return this._prestige != null;
+ }
+ set
+ {
+ bool flag = value == (this._prestige == null);
+ if (flag)
+ {
+ this._prestige = (value ? new uint?(this.prestige) : null);
+ }
+ }
+ }
+
+ [ProtoMember(9, IsRequired = false, Name = "level", DataFormat = DataFormat.TwosComplement)]
+ public uint level
+ {
+ get
+ {
+ return this._level ?? 0u;
+ }
+ set
+ {
+ this._level = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool levelSpecified
+ {
+ get
+ {
+ return this._level != null;
+ }
+ set
+ {
+ bool flag = value == (this._level == null);
+ if (flag)
+ {
+ this._level = (value ? new uint?(this.level) : null);
+ }
+ }
+ }
+
+ [ProtoMember(10, IsRequired = false, Name = "time", DataFormat = DataFormat.TwosComplement)]
+ public uint time
+ {
+ get
+ {
+ return this._time ?? 0u;
+ }
+ set
+ {
+ this._time = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool timeSpecified
+ {
+ get
+ {
+ return this._time != null;
+ }
+ set
+ {
+ bool flag = value == (this._time == null);
+ if (flag)
+ {
+ this._time = (value ? new uint?(this.time) : null);
+ }
+ }
+ }
+
+ private ulong? _guildid;
+
+ private string _guildname;
+
+ private uint? _serverid;
+
+ private string _servername;
+
+ private uint? _score;
+
+ private uint? _killnum;
+
+ private uint? _icon;
+
+ private uint? _prestige;
+
+ private uint? _level;
+
+ private uint? _time;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeguildid()
+ {
+ return this.guildidSpecified;
+ }
+
+ private void Resetguildid()
+ {
+ this.guildidSpecified = false;
+ }
+
+ private bool ShouldSerializeguildname()
+ {
+ return this.guildnameSpecified;
+ }
+
+ private void Resetguildname()
+ {
+ this.guildnameSpecified = false;
+ }
+
+ private bool ShouldSerializeserverid()
+ {
+ return this.serveridSpecified;
+ }
+
+ private void Resetserverid()
+ {
+ this.serveridSpecified = false;
+ }
+
+ private bool ShouldSerializeservername()
+ {
+ return this.servernameSpecified;
+ }
+
+ private void Resetservername()
+ {
+ this.servernameSpecified = false;
+ }
+
+ private bool ShouldSerializescore()
+ {
+ return this.scoreSpecified;
+ }
+
+ private void Resetscore()
+ {
+ this.scoreSpecified = false;
+ }
+
+ private bool ShouldSerializekillnum()
+ {
+ return this.killnumSpecified;
+ }
+
+ private void Resetkillnum()
+ {
+ this.killnumSpecified = false;
+ }
+
+ private bool ShouldSerializeicon()
+ {
+ return this.iconSpecified;
+ }
+
+ private void Reseticon()
+ {
+ this.iconSpecified = false;
+ }
+
+ private bool ShouldSerializeprestige()
+ {
+ return this.prestigeSpecified;
+ }
+
+ private void Resetprestige()
+ {
+ this.prestigeSpecified = false;
+ }
+
+ private bool ShouldSerializelevel()
+ {
+ return this.levelSpecified;
+ }
+
+ private void Resetlevel()
+ {
+ this.levelSpecified = false;
+ }
+
+ private bool ShouldSerializetime()
+ {
+ return this.timeSpecified;
+ }
+
+ private void Resettime()
+ {
+ this.timeSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|