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