summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/PayParameterInfo.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/KKSG/PayParameterInfo.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/PayParameterInfo.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/PayParameterInfo.cs277
1 files changed, 277 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/PayParameterInfo.cs b/Client/Assets/Scripts/XMainClient/KKSG/PayParameterInfo.cs
new file mode 100644
index 00000000..746451ea
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/PayParameterInfo.cs
@@ -0,0 +1,277 @@
+using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "PayParameterInfo")]
+ [Serializable]
+ public class PayParameterInfo : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "openkey", DataFormat = DataFormat.Default)]
+ public string openkey
+ {
+ get
+ {
+ return this._openkey ?? "";
+ }
+ set
+ {
+ this._openkey = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool openkeySpecified
+ {
+ get
+ {
+ return this._openkey != null;
+ }
+ set
+ {
+ bool flag = value == (this._openkey == null);
+ if (flag)
+ {
+ this._openkey = (value ? this.openkey : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "sessionId", DataFormat = DataFormat.Default)]
+ public string sessionId
+ {
+ get
+ {
+ return this._sessionId ?? "";
+ }
+ set
+ {
+ this._sessionId = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool sessionIdSpecified
+ {
+ get
+ {
+ return this._sessionId != null;
+ }
+ set
+ {
+ bool flag = value == (this._sessionId == null);
+ if (flag)
+ {
+ this._sessionId = (value ? this.sessionId : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "sessionType", DataFormat = DataFormat.Default)]
+ public string sessionType
+ {
+ get
+ {
+ return this._sessionType ?? "";
+ }
+ set
+ {
+ this._sessionType = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool sessionTypeSpecified
+ {
+ get
+ {
+ return this._sessionType != null;
+ }
+ set
+ {
+ bool flag = value == (this._sessionType == null);
+ if (flag)
+ {
+ this._sessionType = (value ? this.sessionType : null);
+ }
+ }
+ }
+
+ [ProtoMember(4, IsRequired = false, Name = "pf", DataFormat = DataFormat.Default)]
+ public string pf
+ {
+ get
+ {
+ return this._pf ?? "";
+ }
+ set
+ {
+ this._pf = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool pfSpecified
+ {
+ get
+ {
+ return this._pf != null;
+ }
+ set
+ {
+ bool flag = value == (this._pf == null);
+ if (flag)
+ {
+ this._pf = (value ? this.pf : null);
+ }
+ }
+ }
+
+ [ProtoMember(5, IsRequired = false, Name = "pfKey", DataFormat = DataFormat.Default)]
+ public string pfKey
+ {
+ get
+ {
+ return this._pfKey ?? "";
+ }
+ set
+ {
+ this._pfKey = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool pfKeySpecified
+ {
+ get
+ {
+ return this._pfKey != null;
+ }
+ set
+ {
+ bool flag = value == (this._pfKey == null);
+ if (flag)
+ {
+ this._pfKey = (value ? this.pfKey : null);
+ }
+ }
+ }
+
+ [ProtoMember(6, IsRequired = false, Name = "appid", DataFormat = DataFormat.Default)]
+ public string appid
+ {
+ get
+ {
+ return this._appid ?? "";
+ }
+ set
+ {
+ this._appid = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool appidSpecified
+ {
+ get
+ {
+ return this._appid != null;
+ }
+ set
+ {
+ bool flag = value == (this._appid == null);
+ if (flag)
+ {
+ this._appid = (value ? this.appid : null);
+ }
+ }
+ }
+
+ private string _openkey;
+
+ private string _sessionId;
+
+ private string _sessionType;
+
+ private string _pf;
+
+ private string _pfKey;
+
+ private string _appid;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeopenkey()
+ {
+ return this.openkeySpecified;
+ }
+
+ private void Resetopenkey()
+ {
+ this.openkeySpecified = false;
+ }
+
+ private bool ShouldSerializesessionId()
+ {
+ return this.sessionIdSpecified;
+ }
+
+ private void ResetsessionId()
+ {
+ this.sessionIdSpecified = false;
+ }
+
+ private bool ShouldSerializesessionType()
+ {
+ return this.sessionTypeSpecified;
+ }
+
+ private void ResetsessionType()
+ {
+ this.sessionTypeSpecified = false;
+ }
+
+ private bool ShouldSerializepf()
+ {
+ return this.pfSpecified;
+ }
+
+ private void Resetpf()
+ {
+ this.pfSpecified = false;
+ }
+
+ private bool ShouldSerializepfKey()
+ {
+ return this.pfKeySpecified;
+ }
+
+ private void ResetpfKey()
+ {
+ this.pfKeySpecified = false;
+ }
+
+ private bool ShouldSerializeappid()
+ {
+ return this.appidSpecified;
+ }
+
+ private void Resetappid()
+ {
+ this.appidSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}