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