summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/PushQuestionNtf.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/PushQuestionNtf.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/PushQuestionNtf.cs105
1 files changed, 105 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/PushQuestionNtf.cs b/Client/Assets/Scripts/XMainClient/KKSG/PushQuestionNtf.cs
new file mode 100644
index 00000000..a9209af4
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/PushQuestionNtf.cs
@@ -0,0 +1,105 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "PushQuestionNtf")]
+ [Serializable]
+ public class PushQuestionNtf : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "qid", DataFormat = DataFormat.TwosComplement)]
+ public uint qid
+ {
+ get
+ {
+ return this._qid ?? 0u;
+ }
+ set
+ {
+ this._qid = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool qidSpecified
+ {
+ get
+ {
+ return this._qid != null;
+ }
+ set
+ {
+ bool flag = value == (this._qid == null);
+ if (flag)
+ {
+ this._qid = (value ? new uint?(this.qid) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "serialNum", DataFormat = DataFormat.TwosComplement)]
+ public uint serialNum
+ {
+ get
+ {
+ return this._serialNum ?? 0u;
+ }
+ set
+ {
+ this._serialNum = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool serialNumSpecified
+ {
+ get
+ {
+ return this._serialNum != null;
+ }
+ set
+ {
+ bool flag = value == (this._serialNum == null);
+ if (flag)
+ {
+ this._serialNum = (value ? new uint?(this.serialNum) : null);
+ }
+ }
+ }
+
+ private uint? _qid;
+
+ private uint? _serialNum;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeqid()
+ {
+ return this.qidSpecified;
+ }
+
+ private void Resetqid()
+ {
+ this.qidSpecified = false;
+ }
+
+ private bool ShouldSerializeserialNum()
+ {
+ return this.serialNumSpecified;
+ }
+
+ private void ResetserialNum()
+ {
+ this.serialNumSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}