summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/GetRiskMapInfosArg.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/GetRiskMapInfosArg.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/GetRiskMapInfosArg.cs148
1 files changed, 148 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/GetRiskMapInfosArg.cs b/Client/Assets/Scripts/XMainClient/KKSG/GetRiskMapInfosArg.cs
new file mode 100644
index 00000000..daf8d263
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/GetRiskMapInfosArg.cs
@@ -0,0 +1,148 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "GetRiskMapInfosArg")]
+ [Serializable]
+ public class GetRiskMapInfosArg : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "mapID", DataFormat = DataFormat.TwosComplement)]
+ public int mapID
+ {
+ get
+ {
+ return this._mapID ?? 0;
+ }
+ set
+ {
+ this._mapID = new int?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool mapIDSpecified
+ {
+ get
+ {
+ return this._mapID != null;
+ }
+ set
+ {
+ bool flag = value == (this._mapID == null);
+ if (flag)
+ {
+ this._mapID = (value ? new int?(this.mapID) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "isRefresh", DataFormat = DataFormat.Default)]
+ public bool isRefresh
+ {
+ get
+ {
+ return this._isRefresh ?? false;
+ }
+ set
+ {
+ this._isRefresh = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool isRefreshSpecified
+ {
+ get
+ {
+ return this._isRefresh != null;
+ }
+ set
+ {
+ bool flag = value == (this._isRefresh == null);
+ if (flag)
+ {
+ this._isRefresh = (value ? new bool?(this.isRefresh) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "onlyCountInfo", DataFormat = DataFormat.Default)]
+ public bool onlyCountInfo
+ {
+ get
+ {
+ return this._onlyCountInfo ?? false;
+ }
+ set
+ {
+ this._onlyCountInfo = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool onlyCountInfoSpecified
+ {
+ get
+ {
+ return this._onlyCountInfo != null;
+ }
+ set
+ {
+ bool flag = value == (this._onlyCountInfo == null);
+ if (flag)
+ {
+ this._onlyCountInfo = (value ? new bool?(this.onlyCountInfo) : null);
+ }
+ }
+ }
+
+ private int? _mapID;
+
+ private bool? _isRefresh;
+
+ private bool? _onlyCountInfo;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializemapID()
+ {
+ return this.mapIDSpecified;
+ }
+
+ private void ResetmapID()
+ {
+ this.mapIDSpecified = false;
+ }
+
+ private bool ShouldSerializeisRefresh()
+ {
+ return this.isRefreshSpecified;
+ }
+
+ private void ResetisRefresh()
+ {
+ this.isRefreshSpecified = false;
+ }
+
+ private bool ShouldSerializeonlyCountInfo()
+ {
+ return this.onlyCountInfoSpecified;
+ }
+
+ private void ResetonlyCountInfo()
+ {
+ this.onlyCountInfoSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}