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