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