From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/KKSG/ChatParamDragonGuild.cs | 105 +++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/KKSG/ChatParamDragonGuild.cs (limited to 'Client/Assets/Scripts/XMainClient/KKSG/ChatParamDragonGuild.cs') diff --git a/Client/Assets/Scripts/XMainClient/KKSG/ChatParamDragonGuild.cs b/Client/Assets/Scripts/XMainClient/KKSG/ChatParamDragonGuild.cs new file mode 100644 index 00000000..c7532edd --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/ChatParamDragonGuild.cs @@ -0,0 +1,105 @@ +using System; +using System.ComponentModel; +using System.Xml.Serialization; +using ProtoBuf; + +namespace KKSG +{ + [ProtoContract(Name = "ChatParamDragonGuild")] + [Serializable] + public class ChatParamDragonGuild : IExtensible + { + [ProtoMember(1, IsRequired = false, Name = "dragonguildId", DataFormat = DataFormat.TwosComplement)] + public ulong dragonguildId + { + get + { + return this._dragonguildId ?? 0UL; + } + set + { + this._dragonguildId = new ulong?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool dragonguildIdSpecified + { + get + { + return this._dragonguildId != null; + } + set + { + bool flag = value == (this._dragonguildId == null); + if (flag) + { + this._dragonguildId = (value ? new ulong?(this.dragonguildId) : null); + } + } + } + + [ProtoMember(2, IsRequired = false, Name = "dragonguildname", DataFormat = DataFormat.Default)] + public string dragonguildname + { + get + { + return this._dragonguildname ?? ""; + } + set + { + this._dragonguildname = value; + } + } + + [XmlIgnore] + [Browsable(false)] + public bool dragonguildnameSpecified + { + get + { + return this._dragonguildname != null; + } + set + { + bool flag = value == (this._dragonguildname == null); + if (flag) + { + this._dragonguildname = (value ? this.dragonguildname : null); + } + } + } + + private ulong? _dragonguildId; + + private string _dragonguildname; + + private IExtension extensionObject; + + private bool ShouldSerializedragonguildId() + { + return this.dragonguildIdSpecified; + } + + private void ResetdragonguildId() + { + this.dragonguildIdSpecified = false; + } + + private bool ShouldSerializedragonguildname() + { + return this.dragonguildnameSpecified; + } + + private void Resetdragonguildname() + { + this.dragonguildnameSpecified = false; + } + + IExtension IExtensible.GetExtensionObject(bool createIfMissing) + { + return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); + } + } +} -- cgit v1.1-26-g67d0