From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../KKSG/GuildSchoolHallGetRankList_M2C.cs | 246 +++++++++++++++++++++ 1 file changed, 246 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/KKSG/GuildSchoolHallGetRankList_M2C.cs (limited to 'Client/Assets/Scripts/XMainClient/KKSG/GuildSchoolHallGetRankList_M2C.cs') diff --git a/Client/Assets/Scripts/XMainClient/KKSG/GuildSchoolHallGetRankList_M2C.cs b/Client/Assets/Scripts/XMainClient/KKSG/GuildSchoolHallGetRankList_M2C.cs new file mode 100644 index 00000000..b8cbe976 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/GuildSchoolHallGetRankList_M2C.cs @@ -0,0 +1,246 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Xml.Serialization; +using ProtoBuf; + +namespace KKSG +{ + [ProtoContract(Name = "GuildSchoolHallGetRankList_M2C")] + [Serializable] + public class GuildSchoolHallGetRankList_M2C : IExtensible + { + [ProtoMember(1, Name = "unranklist", DataFormat = DataFormat.Default)] + public List unranklist + { + get + { + return this._unranklist; + } + } + + [ProtoMember(2, IsRequired = false, Name = "guildweeklyschoolpoint", DataFormat = DataFormat.TwosComplement)] + public uint guildweeklyschoolpoint + { + get + { + return this._guildweeklyschoolpoint ?? 0u; + } + set + { + this._guildweeklyschoolpoint = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool guildweeklyschoolpointSpecified + { + get + { + return this._guildweeklyschoolpoint != null; + } + set + { + bool flag = value == (this._guildweeklyschoolpoint == null); + if (flag) + { + this._guildweeklyschoolpoint = (value ? new uint?(this.guildweeklyschoolpoint) : null); + } + } + } + + [ProtoMember(3, IsRequired = false, Name = "guildweeklyhallpoint", DataFormat = DataFormat.TwosComplement)] + public uint guildweeklyhallpoint + { + get + { + return this._guildweeklyhallpoint ?? 0u; + } + set + { + this._guildweeklyhallpoint = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool guildweeklyhallpointSpecified + { + get + { + return this._guildweeklyhallpoint != null; + } + set + { + bool flag = value == (this._guildweeklyhallpoint == null); + if (flag) + { + this._guildweeklyhallpoint = (value ? new uint?(this.guildweeklyhallpoint) : null); + } + } + } + + [ProtoMember(4, IsRequired = false, Name = "ec", DataFormat = DataFormat.TwosComplement)] + public ErrorCode ec + { + get + { + return this._ec ?? ErrorCode.ERR_SUCCESS; + } + set + { + this._ec = new ErrorCode?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool ecSpecified + { + get + { + return this._ec != null; + } + set + { + bool flag = value == (this._ec == null); + if (flag) + { + this._ec = (value ? new ErrorCode?(this.ec) : null); + } + } + } + + [ProtoMember(5, IsRequired = false, Name = "guildweeklyhuntingcount", DataFormat = DataFormat.TwosComplement)] + public uint guildweeklyhuntingcount + { + get + { + return this._guildweeklyhuntingcount ?? 0u; + } + set + { + this._guildweeklyhuntingcount = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool guildweeklyhuntingcountSpecified + { + get + { + return this._guildweeklyhuntingcount != null; + } + set + { + bool flag = value == (this._guildweeklyhuntingcount == null); + if (flag) + { + this._guildweeklyhuntingcount = (value ? new uint?(this.guildweeklyhuntingcount) : null); + } + } + } + + [ProtoMember(6, IsRequired = false, Name = "guildweeklydonatecount", DataFormat = DataFormat.TwosComplement)] + public uint guildweeklydonatecount + { + get + { + return this._guildweeklydonatecount ?? 0u; + } + set + { + this._guildweeklydonatecount = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool guildweeklydonatecountSpecified + { + get + { + return this._guildweeklydonatecount != null; + } + set + { + bool flag = value == (this._guildweeklydonatecount == null); + if (flag) + { + this._guildweeklydonatecount = (value ? new uint?(this.guildweeklydonatecount) : null); + } + } + } + + private readonly List _unranklist = new List(); + + private uint? _guildweeklyschoolpoint; + + private uint? _guildweeklyhallpoint; + + private ErrorCode? _ec; + + private uint? _guildweeklyhuntingcount; + + private uint? _guildweeklydonatecount; + + private IExtension extensionObject; + + private bool ShouldSerializeguildweeklyschoolpoint() + { + return this.guildweeklyschoolpointSpecified; + } + + private void Resetguildweeklyschoolpoint() + { + this.guildweeklyschoolpointSpecified = false; + } + + private bool ShouldSerializeguildweeklyhallpoint() + { + return this.guildweeklyhallpointSpecified; + } + + private void Resetguildweeklyhallpoint() + { + this.guildweeklyhallpointSpecified = false; + } + + private bool ShouldSerializeec() + { + return this.ecSpecified; + } + + private void Resetec() + { + this.ecSpecified = false; + } + + private bool ShouldSerializeguildweeklyhuntingcount() + { + return this.guildweeklyhuntingcountSpecified; + } + + private void Resetguildweeklyhuntingcount() + { + this.guildweeklyhuntingcountSpecified = false; + } + + private bool ShouldSerializeguildweeklydonatecount() + { + return this.guildweeklydonatecountSpecified; + } + + private void Resetguildweeklydonatecount() + { + this.guildweeklydonatecountSpecified = false; + } + + IExtension IExtensible.GetExtensionObject(bool createIfMissing) + { + return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); + } + } +} -- cgit v1.1-26-g67d0