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