diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/InviteRufuse.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/InviteRufuse.cs | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/InviteRufuse.cs b/Client/Assets/Scripts/XMainClient/KKSG/InviteRufuse.cs new file mode 100644 index 00000000..46f5580f --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/InviteRufuse.cs @@ -0,0 +1,62 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "InviteRufuse")]
+ [Serializable]
+ public class InviteRufuse : 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);
+ }
+ }
+}
|