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