From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/KKSG/GetWeddingInviteInfoRes.cs | 204 +++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/KKSG/GetWeddingInviteInfoRes.cs (limited to 'Client/Assets/Scripts/XMainClient/KKSG/GetWeddingInviteInfoRes.cs') diff --git a/Client/Assets/Scripts/XMainClient/KKSG/GetWeddingInviteInfoRes.cs b/Client/Assets/Scripts/XMainClient/KKSG/GetWeddingInviteInfoRes.cs new file mode 100644 index 00000000..11da2152 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/GetWeddingInviteInfoRes.cs @@ -0,0 +1,204 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Xml.Serialization; +using ProtoBuf; + +namespace KKSG +{ + [ProtoContract(Name = "GetWeddingInviteInfoRes")] + [Serializable] + public class GetWeddingInviteInfoRes : IExtensible + { + [ProtoMember(1, IsRequired = false, Name = "result", DataFormat = DataFormat.TwosComplement)] + public ErrorCode result + { + get + { + return this._result ?? ErrorCode.ERR_SUCCESS; + } + set + { + this._result = new ErrorCode?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool resultSpecified + { + get + { + return this._result != null; + } + set + { + bool flag = value == (this._result == null); + if (flag) + { + this._result = (value ? new ErrorCode?(this.result) : null); + } + } + } + + [ProtoMember(2, IsRequired = false, Name = "permitstranger", DataFormat = DataFormat.Default)] + public bool permitstranger + { + get + { + return this._permitstranger ?? false; + } + set + { + this._permitstranger = new bool?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool permitstrangerSpecified + { + get + { + return this._permitstranger != null; + } + set + { + bool flag = value == (this._permitstranger == null); + if (flag) + { + this._permitstranger = (value ? new bool?(this.permitstranger) : null); + } + } + } + + [ProtoMember(3, Name = "friends", DataFormat = DataFormat.Default)] + public List friends + { + get + { + return this._friends; + } + } + + [ProtoMember(4, Name = "guildmembers", DataFormat = DataFormat.Default)] + public List guildmembers + { + get + { + return this._guildmembers; + } + } + + [ProtoMember(5, Name = "invitelist", DataFormat = DataFormat.Default)] + public List invitelist + { + get + { + return this._invitelist; + } + } + + [ProtoMember(6, Name = "invite_enter", DataFormat = DataFormat.Default)] + public List invite_enter + { + get + { + return this._invite_enter; + } + } + + [ProtoMember(7, Name = "applylist", DataFormat = DataFormat.Default)] + public List applylist + { + get + { + return this._applylist; + } + } + + [ProtoMember(8, IsRequired = false, Name = "weddingid", DataFormat = DataFormat.TwosComplement)] + public ulong weddingid + { + get + { + return this._weddingid ?? 0UL; + } + set + { + this._weddingid = new ulong?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool weddingidSpecified + { + get + { + return this._weddingid != null; + } + set + { + bool flag = value == (this._weddingid == null); + if (flag) + { + this._weddingid = (value ? new ulong?(this.weddingid) : null); + } + } + } + + private ErrorCode? _result; + + private bool? _permitstranger; + + private readonly List _friends = new List(); + + private readonly List _guildmembers = new List(); + + private readonly List _invitelist = new List(); + + private readonly List _invite_enter = new List(); + + private readonly List _applylist = new List(); + + private ulong? _weddingid; + + private IExtension extensionObject; + + private bool ShouldSerializeresult() + { + return this.resultSpecified; + } + + private void Resetresult() + { + this.resultSpecified = false; + } + + private bool ShouldSerializepermitstranger() + { + return this.permitstrangerSpecified; + } + + private void Resetpermitstranger() + { + this.permitstrangerSpecified = false; + } + + private bool ShouldSerializeweddingid() + { + return this.weddingidSpecified; + } + + private void Resetweddingid() + { + this.weddingidSpecified = false; + } + + IExtension IExtensible.GetExtensionObject(bool createIfMissing) + { + return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); + } + } +} -- cgit v1.1-26-g67d0