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