summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/RiftFirstPassRewardRes.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/RiftFirstPassRewardRes.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/RiftFirstPassRewardRes.cs74
1 files changed, 74 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/RiftFirstPassRewardRes.cs b/Client/Assets/Scripts/XMainClient/KKSG/RiftFirstPassRewardRes.cs
new file mode 100644
index 00000000..6584d29e
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/RiftFirstPassRewardRes.cs
@@ -0,0 +1,74 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "RiftFirstPassRewardRes")]
+ [Serializable]
+ public class RiftFirstPassRewardRes : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "error", DataFormat = DataFormat.TwosComplement)]
+ public ErrorCode error
+ {
+ get
+ {
+ return this._error ?? ErrorCode.ERR_SUCCESS;
+ }
+ set
+ {
+ this._error = new ErrorCode?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool errorSpecified
+ {
+ get
+ {
+ return this._error != null;
+ }
+ set
+ {
+ bool flag = value == (this._error == null);
+ if (flag)
+ {
+ this._error = (value ? new ErrorCode?(this.error) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, Name = "floorInfos", DataFormat = DataFormat.Default)]
+ public List<RiftEachFloorInfo> floorInfos
+ {
+ get
+ {
+ return this._floorInfos;
+ }
+ }
+
+ private ErrorCode? _error;
+
+ private readonly List<RiftEachFloorInfo> _floorInfos = new List<RiftEachFloorInfo>();
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeerror()
+ {
+ return this.errorSpecified;
+ }
+
+ private void Reseterror()
+ {
+ this.errorSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}