diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/PayClickArg.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/PayClickArg.cs | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/PayClickArg.cs b/Client/Assets/Scripts/XMainClient/KKSG/PayClickArg.cs new file mode 100644 index 00000000..a4e530b9 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/PayClickArg.cs @@ -0,0 +1,105 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "PayClickArg")]
+ [Serializable]
+ public class PayClickArg : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "buttonType", DataFormat = DataFormat.TwosComplement)]
+ public int buttonType
+ {
+ get
+ {
+ return this._buttonType ?? 0;
+ }
+ set
+ {
+ this._buttonType = new int?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool buttonTypeSpecified
+ {
+ get
+ {
+ return this._buttonType != null;
+ }
+ set
+ {
+ bool flag = value == (this._buttonType == null);
+ if (flag)
+ {
+ this._buttonType = (value ? new int?(this.buttonType) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "memberid", DataFormat = DataFormat.TwosComplement)]
+ public int memberid
+ {
+ get
+ {
+ return this._memberid ?? 0;
+ }
+ set
+ {
+ this._memberid = new int?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool memberidSpecified
+ {
+ get
+ {
+ return this._memberid != null;
+ }
+ set
+ {
+ bool flag = value == (this._memberid == null);
+ if (flag)
+ {
+ this._memberid = (value ? new int?(this.memberid) : null);
+ }
+ }
+ }
+
+ private int? _buttonType;
+
+ private int? _memberid;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializebuttonType()
+ {
+ return this.buttonTypeSpecified;
+ }
+
+ private void ResetbuttonType()
+ {
+ this.buttonTypeSpecified = false;
+ }
+
+ private bool ShouldSerializememberid()
+ {
+ return this.memberidSpecified;
+ }
+
+ private void Resetmemberid()
+ {
+ this.memberidSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|