From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/KKSG/GetOtherGuildBriefRes.cs | 406 +++++++++++++++++++++ 1 file changed, 406 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/KKSG/GetOtherGuildBriefRes.cs (limited to 'Client/Assets/Scripts/XMainClient/KKSG/GetOtherGuildBriefRes.cs') diff --git a/Client/Assets/Scripts/XMainClient/KKSG/GetOtherGuildBriefRes.cs b/Client/Assets/Scripts/XMainClient/KKSG/GetOtherGuildBriefRes.cs new file mode 100644 index 00000000..2fd43222 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/GetOtherGuildBriefRes.cs @@ -0,0 +1,406 @@ +using System; +using System.ComponentModel; +using System.Xml.Serialization; +using ProtoBuf; + +namespace KKSG +{ + [ProtoContract(Name = "GetOtherGuildBriefRes")] + [Serializable] + public class GetOtherGuildBriefRes : IExtensible + { + [ProtoMember(1, IsRequired = false, Name = "errorcode", DataFormat = DataFormat.TwosComplement)] + public ErrorCode errorcode + { + get + { + return this._errorcode ?? ErrorCode.ERR_SUCCESS; + } + set + { + this._errorcode = new ErrorCode?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool errorcodeSpecified + { + get + { + return this._errorcode != null; + } + set + { + bool flag = value == (this._errorcode == null); + if (flag) + { + this._errorcode = (value ? new ErrorCode?(this.errorcode) : 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 = "leadername", DataFormat = DataFormat.Default)] + public string leadername + { + get + { + return this._leadername ?? ""; + } + set + { + this._leadername = value; + } + } + + [XmlIgnore] + [Browsable(false)] + public bool leadernameSpecified + { + get + { + return this._leadername != null; + } + set + { + bool flag = value == (this._leadername == null); + if (flag) + { + this._leadername = (value ? this.leadername : null); + } + } + } + + [ProtoMember(4, IsRequired = false, Name = "leaderid", DataFormat = DataFormat.TwosComplement)] + public ulong leaderid + { + get + { + return this._leaderid ?? 0UL; + } + set + { + this._leaderid = new ulong?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool leaderidSpecified + { + get + { + return this._leaderid != null; + } + set + { + bool flag = value == (this._leaderid == null); + if (flag) + { + this._leaderid = (value ? new ulong?(this.leaderid) : null); + } + } + } + + [ProtoMember(5, IsRequired = false, Name = "guildlevel", DataFormat = DataFormat.TwosComplement)] + public uint guildlevel + { + get + { + return this._guildlevel ?? 0u; + } + set + { + this._guildlevel = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool guildlevelSpecified + { + get + { + return this._guildlevel != null; + } + set + { + bool flag = value == (this._guildlevel == null); + if (flag) + { + this._guildlevel = (value ? new uint?(this.guildlevel) : null); + } + } + } + + [ProtoMember(6, 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(7, IsRequired = false, Name = "announcement", DataFormat = DataFormat.Default)] + public string announcement + { + get + { + return this._announcement ?? ""; + } + set + { + this._announcement = value; + } + } + + [XmlIgnore] + [Browsable(false)] + public bool announcementSpecified + { + get + { + return this._announcement != null; + } + set + { + bool flag = value == (this._announcement == null); + if (flag) + { + this._announcement = (value ? this.announcement : null); + } + } + } + + [ProtoMember(8, IsRequired = false, Name = "currentcount", DataFormat = DataFormat.TwosComplement)] + public uint currentcount + { + get + { + return this._currentcount ?? 0u; + } + set + { + this._currentcount = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool currentcountSpecified + { + get + { + return this._currentcount != null; + } + set + { + bool flag = value == (this._currentcount == null); + if (flag) + { + this._currentcount = (value ? new uint?(this.currentcount) : null); + } + } + } + + [ProtoMember(9, IsRequired = false, Name = "allcount", DataFormat = DataFormat.TwosComplement)] + public uint allcount + { + get + { + return this._allcount ?? 0u; + } + set + { + this._allcount = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool allcountSpecified + { + get + { + return this._allcount != null; + } + set + { + bool flag = value == (this._allcount == null); + if (flag) + { + this._allcount = (value ? new uint?(this.allcount) : null); + } + } + } + + private ErrorCode? _errorcode; + + private string _guildname; + + private string _leadername; + + private ulong? _leaderid; + + private uint? _guildlevel; + + private uint? _icon; + + private string _announcement; + + private uint? _currentcount; + + private uint? _allcount; + + private IExtension extensionObject; + + private bool ShouldSerializeerrorcode() + { + return this.errorcodeSpecified; + } + + private void Reseterrorcode() + { + this.errorcodeSpecified = false; + } + + private bool ShouldSerializeguildname() + { + return this.guildnameSpecified; + } + + private void Resetguildname() + { + this.guildnameSpecified = false; + } + + private bool ShouldSerializeleadername() + { + return this.leadernameSpecified; + } + + private void Resetleadername() + { + this.leadernameSpecified = false; + } + + private bool ShouldSerializeleaderid() + { + return this.leaderidSpecified; + } + + private void Resetleaderid() + { + this.leaderidSpecified = false; + } + + private bool ShouldSerializeguildlevel() + { + return this.guildlevelSpecified; + } + + private void Resetguildlevel() + { + this.guildlevelSpecified = false; + } + + private bool ShouldSerializeicon() + { + return this.iconSpecified; + } + + private void Reseticon() + { + this.iconSpecified = false; + } + + private bool ShouldSerializeannouncement() + { + return this.announcementSpecified; + } + + private void Resetannouncement() + { + this.announcementSpecified = false; + } + + private bool ShouldSerializecurrentcount() + { + return this.currentcountSpecified; + } + + private void Resetcurrentcount() + { + this.currentcountSpecified = false; + } + + private bool ShouldSerializeallcount() + { + return this.allcountSpecified; + } + + private void Resetallcount() + { + this.allcountSpecified = false; + } + + IExtension IExtensible.GetExtensionObject(bool createIfMissing) + { + return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); + } + } +} -- cgit v1.1-26-g67d0