From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/KKSG/GroupChatFindRoleInfo.cs | 535 +++++++++++++++++++++ 1 file changed, 535 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/KKSG/GroupChatFindRoleInfo.cs (limited to 'Client/Assets/Scripts/XMainClient/KKSG/GroupChatFindRoleInfo.cs') diff --git a/Client/Assets/Scripts/XMainClient/KKSG/GroupChatFindRoleInfo.cs b/Client/Assets/Scripts/XMainClient/KKSG/GroupChatFindRoleInfo.cs new file mode 100644 index 00000000..27a9b515 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/GroupChatFindRoleInfo.cs @@ -0,0 +1,535 @@ +using System; +using System.ComponentModel; +using System.Xml.Serialization; +using ProtoBuf; + +namespace KKSG +{ + [ProtoContract(Name = "GroupChatFindRoleInfo")] + [Serializable] + public class GroupChatFindRoleInfo : IExtensible + { + [ProtoMember(1, IsRequired = false, Name = "roleid", DataFormat = DataFormat.TwosComplement)] + public ulong roleid + { + get + { + return this._roleid ?? 0UL; + } + set + { + this._roleid = new ulong?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool roleidSpecified + { + get + { + return this._roleid != null; + } + set + { + bool flag = value == (this._roleid == null); + if (flag) + { + this._roleid = (value ? new ulong?(this.roleid) : null); + } + } + } + + [ProtoMember(2, IsRequired = false, Name = "rolename", DataFormat = DataFormat.Default)] + public string rolename + { + get + { + return this._rolename ?? ""; + } + set + { + this._rolename = value; + } + } + + [XmlIgnore] + [Browsable(false)] + public bool rolenameSpecified + { + get + { + return this._rolename != null; + } + set + { + bool flag = value == (this._rolename == null); + if (flag) + { + this._rolename = (value ? this.rolename : null); + } + } + } + + [ProtoMember(3, IsRequired = false, Name = "groupchatID", DataFormat = DataFormat.TwosComplement)] + public ulong groupchatID + { + get + { + return this._groupchatID ?? 0UL; + } + set + { + this._groupchatID = new ulong?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool groupchatIDSpecified + { + get + { + return this._groupchatID != null; + } + set + { + bool flag = value == (this._groupchatID == null); + if (flag) + { + this._groupchatID = (value ? new ulong?(this.groupchatID) : null); + } + } + } + + [ProtoMember(4, IsRequired = false, Name = "groupchatName", DataFormat = DataFormat.Default)] + public string groupchatName + { + get + { + return this._groupchatName ?? ""; + } + set + { + this._groupchatName = value; + } + } + + [XmlIgnore] + [Browsable(false)] + public bool groupchatNameSpecified + { + get + { + return this._groupchatName != null; + } + set + { + bool flag = value == (this._groupchatName == null); + if (flag) + { + this._groupchatName = (value ? this.groupchatName : null); + } + } + } + + [ProtoMember(5, IsRequired = false, Name = "issueIndex", DataFormat = DataFormat.TwosComplement)] + public ulong issueIndex + { + get + { + return this._issueIndex ?? 0UL; + } + set + { + this._issueIndex = new ulong?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool issueIndexSpecified + { + get + { + return this._issueIndex != null; + } + set + { + bool flag = value == (this._issueIndex == null); + if (flag) + { + this._issueIndex = (value ? new ulong?(this.issueIndex) : null); + } + } + } + + [ProtoMember(6, IsRequired = false, Name = "stageID", DataFormat = DataFormat.TwosComplement)] + public uint stageID + { + get + { + return this._stageID ?? 0u; + } + set + { + this._stageID = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool stageIDSpecified + { + get + { + return this._stageID != null; + } + set + { + bool flag = value == (this._stageID == null); + if (flag) + { + this._stageID = (value ? new uint?(this.stageID) : null); + } + } + } + + [ProtoMember(7, IsRequired = false, Name = "fighting", DataFormat = DataFormat.TwosComplement)] + public uint fighting + { + get + { + return this._fighting ?? 0u; + } + set + { + this._fighting = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool fightingSpecified + { + get + { + return this._fighting != null; + } + set + { + bool flag = value == (this._fighting == null); + if (flag) + { + this._fighting = (value ? new uint?(this.fighting) : null); + } + } + } + + [ProtoMember(8, IsRequired = false, Name = "type", DataFormat = DataFormat.TwosComplement)] + public uint type + { + get + { + return this._type ?? 0u; + } + set + { + this._type = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool typeSpecified + { + get + { + return this._type != null; + } + set + { + bool flag = value == (this._type == null); + if (flag) + { + this._type = (value ? new uint?(this.type) : null); + } + } + } + + [ProtoMember(9, 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); + } + } + } + + [ProtoMember(10, IsRequired = false, Name = "state", DataFormat = DataFormat.TwosComplement)] + public uint state + { + get + { + return this._state ?? 0u; + } + set + { + this._state = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool stateSpecified + { + get + { + return this._state != null; + } + set + { + bool flag = value == (this._state == null); + if (flag) + { + this._state = (value ? new uint?(this.state) : null); + } + } + } + + [ProtoMember(11, IsRequired = false, Name = "issuetime", DataFormat = DataFormat.TwosComplement)] + public uint issuetime + { + get + { + return this._issuetime ?? 0u; + } + set + { + this._issuetime = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool issuetimeSpecified + { + get + { + return this._issuetime != null; + } + set + { + bool flag = value == (this._issuetime == null); + if (flag) + { + this._issuetime = (value ? new uint?(this.issuetime) : null); + } + } + } + + [ProtoMember(12, IsRequired = false, Name = "roleprofession", DataFormat = DataFormat.TwosComplement)] + public uint roleprofession + { + get + { + return this._roleprofession ?? 0u; + } + set + { + this._roleprofession = new uint?(value); + } + } + + [XmlIgnore] + [Browsable(false)] + public bool roleprofessionSpecified + { + get + { + return this._roleprofession != null; + } + set + { + bool flag = value == (this._roleprofession == null); + if (flag) + { + this._roleprofession = (value ? new uint?(this.roleprofession) : null); + } + } + } + + private ulong? _roleid; + + private string _rolename; + + private ulong? _groupchatID; + + private string _groupchatName; + + private ulong? _issueIndex; + + private uint? _stageID; + + private uint? _fighting; + + private uint? _type; + + private uint? _time; + + private uint? _state; + + private uint? _issuetime; + + private uint? _roleprofession; + + private IExtension extensionObject; + + private bool ShouldSerializeroleid() + { + return this.roleidSpecified; + } + + private void Resetroleid() + { + this.roleidSpecified = false; + } + + private bool ShouldSerializerolename() + { + return this.rolenameSpecified; + } + + private void Resetrolename() + { + this.rolenameSpecified = false; + } + + private bool ShouldSerializegroupchatID() + { + return this.groupchatIDSpecified; + } + + private void ResetgroupchatID() + { + this.groupchatIDSpecified = false; + } + + private bool ShouldSerializegroupchatName() + { + return this.groupchatNameSpecified; + } + + private void ResetgroupchatName() + { + this.groupchatNameSpecified = false; + } + + private bool ShouldSerializeissueIndex() + { + return this.issueIndexSpecified; + } + + private void ResetissueIndex() + { + this.issueIndexSpecified = false; + } + + private bool ShouldSerializestageID() + { + return this.stageIDSpecified; + } + + private void ResetstageID() + { + this.stageIDSpecified = false; + } + + private bool ShouldSerializefighting() + { + return this.fightingSpecified; + } + + private void Resetfighting() + { + this.fightingSpecified = false; + } + + private bool ShouldSerializetype() + { + return this.typeSpecified; + } + + private void Resettype() + { + this.typeSpecified = false; + } + + private bool ShouldSerializetime() + { + return this.timeSpecified; + } + + private void Resettime() + { + this.timeSpecified = false; + } + + private bool ShouldSerializestate() + { + return this.stateSpecified; + } + + private void Resetstate() + { + this.stateSpecified = false; + } + + private bool ShouldSerializeissuetime() + { + return this.issuetimeSpecified; + } + + private void Resetissuetime() + { + this.issuetimeSpecified = false; + } + + private bool ShouldSerializeroleprofession() + { + return this.roleprofessionSpecified; + } + + private void Resetroleprofession() + { + this.roleprofessionSpecified = false; + } + + IExtension IExtensible.GetExtensionObject(bool createIfMissing) + { + return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); + } + } +} -- cgit v1.1-26-g67d0