summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/NoticeGuildBossEnd.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/NoticeGuildBossEnd.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/NoticeGuildBossEnd.cs62
1 files changed, 62 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/NoticeGuildBossEnd.cs b/Client/Assets/Scripts/XMainClient/KKSG/NoticeGuildBossEnd.cs
new file mode 100644
index 00000000..0899436f
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/NoticeGuildBossEnd.cs
@@ -0,0 +1,62 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "NoticeGuildBossEnd")]
+ [Serializable]
+ public class NoticeGuildBossEnd : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "isWin", DataFormat = DataFormat.Default)]
+ public bool isWin
+ {
+ get
+ {
+ return this._isWin ?? false;
+ }
+ set
+ {
+ this._isWin = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool isWinSpecified
+ {
+ get
+ {
+ return this._isWin != null;
+ }
+ set
+ {
+ bool flag = value == (this._isWin == null);
+ if (flag)
+ {
+ this._isWin = (value ? new bool?(this.isWin) : null);
+ }
+ }
+ }
+
+ private bool? _isWin;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeisWin()
+ {
+ return this.isWinSpecified;
+ }
+
+ private void ResetisWin()
+ {
+ this.isWinSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}