summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/DailyTaskAskHelpRes.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/KKSG/DailyTaskAskHelpRes.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/DailyTaskAskHelpRes.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/DailyTaskAskHelpRes.cs105
1 files changed, 105 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/DailyTaskAskHelpRes.cs b/Client/Assets/Scripts/XMainClient/KKSG/DailyTaskAskHelpRes.cs
new file mode 100644
index 00000000..b9ad99b3
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/DailyTaskAskHelpRes.cs
@@ -0,0 +1,105 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "DailyTaskAskHelpRes")]
+ [Serializable]
+ public class DailyTaskAskHelpRes : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "code", DataFormat = DataFormat.TwosComplement)]
+ public ErrorCode code
+ {
+ get
+ {
+ return this._code ?? ErrorCode.ERR_SUCCESS;
+ }
+ set
+ {
+ this._code = new ErrorCode?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool codeSpecified
+ {
+ get
+ {
+ return this._code != null;
+ }
+ set
+ {
+ bool flag = value == (this._code == null);
+ if (flag)
+ {
+ this._code = (value ? new ErrorCode?(this.code) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "ask_uid", DataFormat = DataFormat.TwosComplement)]
+ public uint ask_uid
+ {
+ get
+ {
+ return this._ask_uid ?? 0u;
+ }
+ set
+ {
+ this._ask_uid = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool ask_uidSpecified
+ {
+ get
+ {
+ return this._ask_uid != null;
+ }
+ set
+ {
+ bool flag = value == (this._ask_uid == null);
+ if (flag)
+ {
+ this._ask_uid = (value ? new uint?(this.ask_uid) : null);
+ }
+ }
+ }
+
+ private ErrorCode? _code;
+
+ private uint? _ask_uid;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializecode()
+ {
+ return this.codeSpecified;
+ }
+
+ private void Resetcode()
+ {
+ this.codeSpecified = false;
+ }
+
+ private bool ShouldSerializeask_uid()
+ {
+ return this.ask_uidSpecified;
+ }
+
+ private void Resetask_uid()
+ {
+ this.ask_uidSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}