diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/KKSG/JadeOperationNewArg.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/JadeOperationNewArg.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/JadeOperationNewArg.cs | 191 |
1 files changed, 191 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/JadeOperationNewArg.cs b/Client/Assets/Scripts/XMainClient/KKSG/JadeOperationNewArg.cs new file mode 100644 index 00000000..5a25bfca --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/JadeOperationNewArg.cs @@ -0,0 +1,191 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "JadeOperationNewArg")]
+ [Serializable]
+ public class JadeOperationNewArg : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "OperationType", DataFormat = DataFormat.TwosComplement)]
+ public uint OperationType
+ {
+ get
+ {
+ return this._OperationType ?? 0u;
+ }
+ set
+ {
+ this._OperationType = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool OperationTypeSpecified
+ {
+ get
+ {
+ return this._OperationType != null;
+ }
+ set
+ {
+ bool flag = value == (this._OperationType == null);
+ if (flag)
+ {
+ this._OperationType = (value ? new uint?(this.OperationType) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "EquipUniqueId", DataFormat = DataFormat.Default)]
+ public string EquipUniqueId
+ {
+ get
+ {
+ return this._EquipUniqueId ?? "";
+ }
+ set
+ {
+ this._EquipUniqueId = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool EquipUniqueIdSpecified
+ {
+ get
+ {
+ return this._EquipUniqueId != null;
+ }
+ set
+ {
+ bool flag = value == (this._EquipUniqueId == null);
+ if (flag)
+ {
+ this._EquipUniqueId = (value ? this.EquipUniqueId : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "JadeUniqueId", DataFormat = DataFormat.Default)]
+ public string JadeUniqueId
+ {
+ get
+ {
+ return this._JadeUniqueId ?? "";
+ }
+ set
+ {
+ this._JadeUniqueId = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool JadeUniqueIdSpecified
+ {
+ get
+ {
+ return this._JadeUniqueId != null;
+ }
+ set
+ {
+ bool flag = value == (this._JadeUniqueId == null);
+ if (flag)
+ {
+ this._JadeUniqueId = (value ? this.JadeUniqueId : null);
+ }
+ }
+ }
+
+ [ProtoMember(4, IsRequired = false, Name = "Pos", DataFormat = DataFormat.TwosComplement)]
+ public uint Pos
+ {
+ get
+ {
+ return this._Pos ?? 0u;
+ }
+ set
+ {
+ this._Pos = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool PosSpecified
+ {
+ get
+ {
+ return this._Pos != null;
+ }
+ set
+ {
+ bool flag = value == (this._Pos == null);
+ if (flag)
+ {
+ this._Pos = (value ? new uint?(this.Pos) : null);
+ }
+ }
+ }
+
+ private uint? _OperationType;
+
+ private string _EquipUniqueId;
+
+ private string _JadeUniqueId;
+
+ private uint? _Pos;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeOperationType()
+ {
+ return this.OperationTypeSpecified;
+ }
+
+ private void ResetOperationType()
+ {
+ this.OperationTypeSpecified = false;
+ }
+
+ private bool ShouldSerializeEquipUniqueId()
+ {
+ return this.EquipUniqueIdSpecified;
+ }
+
+ private void ResetEquipUniqueId()
+ {
+ this.EquipUniqueIdSpecified = false;
+ }
+
+ private bool ShouldSerializeJadeUniqueId()
+ {
+ return this.JadeUniqueIdSpecified;
+ }
+
+ private void ResetJadeUniqueId()
+ {
+ this.JadeUniqueIdSpecified = false;
+ }
+
+ private bool ShouldSerializePos()
+ {
+ return this.PosSpecified;
+ }
+
+ private void ResetPos()
+ {
+ this.PosSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|