diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/TeleportNoticeState.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/TeleportNoticeState.cs | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/TeleportNoticeState.cs b/Client/Assets/Scripts/XMainClient/KKSG/TeleportNoticeState.cs new file mode 100644 index 00000000..26cfae96 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/TeleportNoticeState.cs @@ -0,0 +1,62 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "TeleportNoticeState")]
+ [Serializable]
+ public class TeleportNoticeState : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "onnotice", DataFormat = DataFormat.Default)]
+ public bool onnotice
+ {
+ get
+ {
+ return this._onnotice ?? false;
+ }
+ set
+ {
+ this._onnotice = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool onnoticeSpecified
+ {
+ get
+ {
+ return this._onnotice != null;
+ }
+ set
+ {
+ bool flag = value == (this._onnotice == null);
+ if (flag)
+ {
+ this._onnotice = (value ? new bool?(this.onnotice) : null);
+ }
+ }
+ }
+
+ private bool? _onnotice;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeonnotice()
+ {
+ return this.onnoticeSpecified;
+ }
+
+ private void Resetonnotice()
+ {
+ this.onnoticeSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|