summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/ActivateFashionRes.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/ActivateFashionRes.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/ActivateFashionRes.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/ActivateFashionRes.cs105
1 files changed, 105 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/ActivateFashionRes.cs b/Client/Assets/Scripts/XMainClient/KKSG/ActivateFashionRes.cs
new file mode 100644
index 00000000..1ffcc275
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/ActivateFashionRes.cs
@@ -0,0 +1,105 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "ActivateFashionRes")]
+ [Serializable]
+ public class ActivateFashionRes : 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 = "active_count", DataFormat = DataFormat.TwosComplement)]
+ public uint active_count
+ {
+ get
+ {
+ return this._active_count ?? 0u;
+ }
+ set
+ {
+ this._active_count = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool active_countSpecified
+ {
+ get
+ {
+ return this._active_count != null;
+ }
+ set
+ {
+ bool flag = value == (this._active_count == null);
+ if (flag)
+ {
+ this._active_count = (value ? new uint?(this.active_count) : null);
+ }
+ }
+ }
+
+ private ErrorCode? _result;
+
+ private uint? _active_count;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeresult()
+ {
+ return this.resultSpecified;
+ }
+
+ private void Resetresult()
+ {
+ this.resultSpecified = false;
+ }
+
+ private bool ShouldSerializeactive_count()
+ {
+ return this.active_countSpecified;
+ }
+
+ private void Resetactive_count()
+ {
+ this.active_countSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}