diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/GetDailyTaskAskHelpRes.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/GetDailyTaskAskHelpRes.cs | 160 |
1 files changed, 160 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/GetDailyTaskAskHelpRes.cs b/Client/Assets/Scripts/XMainClient/KKSG/GetDailyTaskAskHelpRes.cs new file mode 100644 index 00000000..c9586d93 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/GetDailyTaskAskHelpRes.cs @@ -0,0 +1,160 @@ +using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "GetDailyTaskAskHelpRes")]
+ [Serializable]
+ public class GetDailyTaskAskHelpRes : IExtensible
+ {
+ [ProtoMember(1, 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);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "help_num", DataFormat = DataFormat.TwosComplement)]
+ public uint help_num
+ {
+ get
+ {
+ return this._help_num ?? 0u;
+ }
+ set
+ {
+ this._help_num = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool help_numSpecified
+ {
+ get
+ {
+ return this._help_num != null;
+ }
+ set
+ {
+ bool flag = value == (this._help_num == null);
+ if (flag)
+ {
+ this._help_num = (value ? new uint?(this.help_num) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, Name = "askinfos", DataFormat = DataFormat.Default)]
+ public List<DailyTaskRefreshRoleInfo> askinfos
+ {
+ get
+ {
+ return this._askinfos;
+ }
+ }
+
+ [ProtoMember(4, IsRequired = false, Name = "luck", DataFormat = DataFormat.TwosComplement)]
+ public uint luck
+ {
+ get
+ {
+ return this._luck ?? 0u;
+ }
+ set
+ {
+ this._luck = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool luckSpecified
+ {
+ get
+ {
+ return this._luck != null;
+ }
+ set
+ {
+ bool flag = value == (this._luck == null);
+ if (flag)
+ {
+ this._luck = (value ? new uint?(this.luck) : null);
+ }
+ }
+ }
+
+ private ErrorCode? _result;
+
+ private uint? _help_num;
+
+ private readonly List<DailyTaskRefreshRoleInfo> _askinfos = new List<DailyTaskRefreshRoleInfo>();
+
+ private uint? _luck;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeresult()
+ {
+ return this.resultSpecified;
+ }
+
+ private void Resetresult()
+ {
+ this.resultSpecified = false;
+ }
+
+ private bool ShouldSerializehelp_num()
+ {
+ return this.help_numSpecified;
+ }
+
+ private void Resethelp_num()
+ {
+ this.help_numSpecified = false;
+ }
+
+ private bool ShouldSerializeluck()
+ {
+ return this.luckSpecified;
+ }
+
+ private void Resetluck()
+ {
+ this.luckSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|