diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/KKSG/QAEnterRoomNtf.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/QAEnterRoomNtf.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/QAEnterRoomNtf.cs | 277 |
1 files changed, 277 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/QAEnterRoomNtf.cs b/Client/Assets/Scripts/XMainClient/KKSG/QAEnterRoomNtf.cs new file mode 100644 index 00000000..06a33b9b --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/QAEnterRoomNtf.cs @@ -0,0 +1,277 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "QAEnterRoomNtf")]
+ [Serializable]
+ public class QAEnterRoomNtf : 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 = "name", DataFormat = DataFormat.Default)]
+ public string name
+ {
+ get
+ {
+ return this._name ?? "";
+ }
+ set
+ {
+ this._name = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool nameSpecified
+ {
+ get
+ {
+ return this._name != null;
+ }
+ set
+ {
+ bool flag = value == (this._name == null);
+ if (flag)
+ {
+ this._name = (value ? this.name : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "profession", DataFormat = DataFormat.TwosComplement)]
+ public uint profession
+ {
+ get
+ {
+ return this._profession ?? 0u;
+ }
+ set
+ {
+ this._profession = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool professionSpecified
+ {
+ get
+ {
+ return this._profession != null;
+ }
+ set
+ {
+ bool flag = value == (this._profession == null);
+ if (flag)
+ {
+ this._profession = (value ? new uint?(this.profession) : null);
+ }
+ }
+ }
+
+ [ProtoMember(4, IsRequired = false, Name = "vip", DataFormat = DataFormat.TwosComplement)]
+ public uint vip
+ {
+ get
+ {
+ return this._vip ?? 0u;
+ }
+ set
+ {
+ this._vip = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool vipSpecified
+ {
+ get
+ {
+ return this._vip != null;
+ }
+ set
+ {
+ bool flag = value == (this._vip == null);
+ if (flag)
+ {
+ this._vip = (value ? new uint?(this.vip) : null);
+ }
+ }
+ }
+
+ [ProtoMember(5, 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(6, IsRequired = false, Name = "coverDesignationID", DataFormat = DataFormat.TwosComplement)]
+ public uint coverDesignationID
+ {
+ get
+ {
+ return this._coverDesignationID ?? 0u;
+ }
+ set
+ {
+ this._coverDesignationID = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool coverDesignationIDSpecified
+ {
+ get
+ {
+ return this._coverDesignationID != null;
+ }
+ set
+ {
+ bool flag = value == (this._coverDesignationID == null);
+ if (flag)
+ {
+ this._coverDesignationID = (value ? new uint?(this.coverDesignationID) : null);
+ }
+ }
+ }
+
+ private ulong? _roleID;
+
+ private string _name;
+
+ private uint? _profession;
+
+ private uint? _vip;
+
+ private uint? _time;
+
+ private uint? _coverDesignationID;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeroleID()
+ {
+ return this.roleIDSpecified;
+ }
+
+ private void ResetroleID()
+ {
+ this.roleIDSpecified = false;
+ }
+
+ private bool ShouldSerializename()
+ {
+ return this.nameSpecified;
+ }
+
+ private void Resetname()
+ {
+ this.nameSpecified = false;
+ }
+
+ private bool ShouldSerializeprofession()
+ {
+ return this.professionSpecified;
+ }
+
+ private void Resetprofession()
+ {
+ this.professionSpecified = false;
+ }
+
+ private bool ShouldSerializevip()
+ {
+ return this.vipSpecified;
+ }
+
+ private void Resetvip()
+ {
+ this.vipSpecified = false;
+ }
+
+ private bool ShouldSerializetime()
+ {
+ return this.timeSpecified;
+ }
+
+ private void Resettime()
+ {
+ this.timeSpecified = false;
+ }
+
+ private bool ShouldSerializecoverDesignationID()
+ {
+ return this.coverDesignationIDSpecified;
+ }
+
+ private void ResetcoverDesignationID()
+ {
+ this.coverDesignationIDSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|