diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/PayBaseInfo.cs')
| -rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/PayBaseInfo.cs | 105 | 
1 files changed, 105 insertions, 0 deletions
| diff --git a/Client/Assets/Scripts/XMainClient/KKSG/PayBaseInfo.cs b/Client/Assets/Scripts/XMainClient/KKSG/PayBaseInfo.cs new file mode 100644 index 00000000..bcc44630 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/PayBaseInfo.cs @@ -0,0 +1,105 @@ +using System;
 +using System.ComponentModel;
 +using System.Xml.Serialization;
 +using ProtoBuf;
 +
 +namespace KKSG
 +{
 +	[ProtoContract(Name = "PayBaseInfo")]
 +	[Serializable]
 +	public class PayBaseInfo : IExtensible
 +	{
 +		[ProtoMember(1, IsRequired = false, Name = "paramID", DataFormat = DataFormat.Default)]
 +		public string paramID
 +		{
 +			get
 +			{
 +				return this._paramID ?? "";
 +			}
 +			set
 +			{
 +				this._paramID = value;
 +			}
 +		}
 +
 +		[XmlIgnore]
 +		[Browsable(false)]
 +		public bool paramIDSpecified
 +		{
 +			get
 +			{
 +				return this._paramID != null;
 +			}
 +			set
 +			{
 +				bool flag = value == (this._paramID == null);
 +				if (flag)
 +				{
 +					this._paramID = (value ? this.paramID : null);
 +				}
 +			}
 +		}
 +
 +		[ProtoMember(2, IsRequired = false, Name = "isPay", DataFormat = DataFormat.Default)]
 +		public bool isPay
 +		{
 +			get
 +			{
 +				return this._isPay ?? false;
 +			}
 +			set
 +			{
 +				this._isPay = new bool?(value);
 +			}
 +		}
 +
 +		[XmlIgnore]
 +		[Browsable(false)]
 +		public bool isPaySpecified
 +		{
 +			get
 +			{
 +				return this._isPay != null;
 +			}
 +			set
 +			{
 +				bool flag = value == (this._isPay == null);
 +				if (flag)
 +				{
 +					this._isPay = (value ? new bool?(this.isPay) : null);
 +				}
 +			}
 +		}
 +
 +		private string _paramID;
 +
 +		private bool? _isPay;
 +
 +		private IExtension extensionObject;
 +
 +		private bool ShouldSerializeparamID()
 +		{
 +			return this.paramIDSpecified;
 +		}
 +
 +		private void ResetparamID()
 +		{
 +			this.paramIDSpecified = false;
 +		}
 +
 +		private bool ShouldSerializeisPay()
 +		{
 +			return this.isPaySpecified;
 +		}
 +
 +		private void ResetisPay()
 +		{
 +			this.isPaySpecified = false;
 +		}
 +
 +		IExtension IExtensible.GetExtensionObject(bool createIfMissing)
 +		{
 +			return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
 +		}
 +	}
 +}
 | 
