summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/FirstPassRewardNtfData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/FirstPassRewardNtfData.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/FirstPassRewardNtfData.cs105
1 files changed, 105 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/FirstPassRewardNtfData.cs b/Client/Assets/Scripts/XMainClient/KKSG/FirstPassRewardNtfData.cs
new file mode 100644
index 00000000..7a1a74b1
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/FirstPassRewardNtfData.cs
@@ -0,0 +1,105 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "FirstPassRewardNtfData")]
+ [Serializable]
+ public class FirstPassRewardNtfData : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "hasFirstPassReward", DataFormat = DataFormat.Default)]
+ public bool hasFirstPassReward
+ {
+ get
+ {
+ return this._hasFirstPassReward ?? false;
+ }
+ set
+ {
+ this._hasFirstPassReward = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool hasFirstPassRewardSpecified
+ {
+ get
+ {
+ return this._hasFirstPassReward != null;
+ }
+ set
+ {
+ bool flag = value == (this._hasFirstPassReward == null);
+ if (flag)
+ {
+ this._hasFirstPassReward = (value ? new bool?(this.hasFirstPassReward) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "hasCommendReward", DataFormat = DataFormat.Default)]
+ public bool hasCommendReward
+ {
+ get
+ {
+ return this._hasCommendReward ?? false;
+ }
+ set
+ {
+ this._hasCommendReward = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool hasCommendRewardSpecified
+ {
+ get
+ {
+ return this._hasCommendReward != null;
+ }
+ set
+ {
+ bool flag = value == (this._hasCommendReward == null);
+ if (flag)
+ {
+ this._hasCommendReward = (value ? new bool?(this.hasCommendReward) : null);
+ }
+ }
+ }
+
+ private bool? _hasFirstPassReward;
+
+ private bool? _hasCommendReward;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializehasFirstPassReward()
+ {
+ return this.hasFirstPassRewardSpecified;
+ }
+
+ private void ResethasFirstPassReward()
+ {
+ this.hasFirstPassRewardSpecified = false;
+ }
+
+ private bool ShouldSerializehasCommendReward()
+ {
+ return this.hasCommendRewardSpecified;
+ }
+
+ private void ResethasCommendReward()
+ {
+ this.hasCommendRewardSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}