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/GetQADataRes.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/GetQADataRes.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/GetQADataRes.cs | 191 |
1 files changed, 191 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/GetQADataRes.cs b/Client/Assets/Scripts/XMainClient/KKSG/GetQADataRes.cs new file mode 100644 index 00000000..1fa32190 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/GetQADataRes.cs @@ -0,0 +1,191 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "GetQADataRes")]
+ [Serializable]
+ public class GetQADataRes : 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);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "leftTime", DataFormat = DataFormat.TwosComplement)]
+ public uint leftTime
+ {
+ get
+ {
+ return this._leftTime ?? 0u;
+ }
+ set
+ {
+ this._leftTime = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool leftTimeSpecified
+ {
+ get
+ {
+ return this._leftTime != null;
+ }
+ set
+ {
+ bool flag = value == (this._leftTime == null);
+ if (flag)
+ {
+ this._leftTime = (value ? new uint?(this.leftTime) : null);
+ }
+ }
+ }
+
+ [ProtoMember(4, 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);
+ }
+ }
+ }
+
+ private uint? _qid;
+
+ private uint? _serialnum;
+
+ private uint? _leftTime;
+
+ private ErrorCode? _result;
+
+ 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;
+ }
+
+ private bool ShouldSerializeleftTime()
+ {
+ return this.leftTimeSpecified;
+ }
+
+ private void ResetleftTime()
+ {
+ this.leftTimeSpecified = false;
+ }
+
+ private bool ShouldSerializeresult()
+ {
+ return this.resultSpecified;
+ }
+
+ private void Resetresult()
+ {
+ this.resultSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|