diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/FriendVipInfo.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/FriendVipInfo.cs | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/FriendVipInfo.cs b/Client/Assets/Scripts/XMainClient/KKSG/FriendVipInfo.cs new file mode 100644 index 00000000..a531fee9 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/FriendVipInfo.cs @@ -0,0 +1,148 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "FriendVipInfo")]
+ [Serializable]
+ public class FriendVipInfo : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "openid", DataFormat = DataFormat.Default)]
+ public string openid
+ {
+ get
+ {
+ return this._openid ?? "";
+ }
+ set
+ {
+ this._openid = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool openidSpecified
+ {
+ get
+ {
+ return this._openid != null;
+ }
+ set
+ {
+ bool flag = value == (this._openid == null);
+ if (flag)
+ {
+ this._openid = (value ? this.openid : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "is_vip", DataFormat = DataFormat.Default)]
+ public bool is_vip
+ {
+ get
+ {
+ return this._is_vip ?? false;
+ }
+ set
+ {
+ this._is_vip = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool is_vipSpecified
+ {
+ get
+ {
+ return this._is_vip != null;
+ }
+ set
+ {
+ bool flag = value == (this._is_vip == null);
+ if (flag)
+ {
+ this._is_vip = (value ? new bool?(this.is_vip) : null);
+ }
+ }
+ }
+
+ [ProtoMember(3, IsRequired = false, Name = "is_svip", DataFormat = DataFormat.Default)]
+ public bool is_svip
+ {
+ get
+ {
+ return this._is_svip ?? false;
+ }
+ set
+ {
+ this._is_svip = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool is_svipSpecified
+ {
+ get
+ {
+ return this._is_svip != null;
+ }
+ set
+ {
+ bool flag = value == (this._is_svip == null);
+ if (flag)
+ {
+ this._is_svip = (value ? new bool?(this.is_svip) : null);
+ }
+ }
+ }
+
+ private string _openid;
+
+ private bool? _is_vip;
+
+ private bool? _is_svip;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeopenid()
+ {
+ return this.openidSpecified;
+ }
+
+ private void Resetopenid()
+ {
+ this.openidSpecified = false;
+ }
+
+ private bool ShouldSerializeis_vip()
+ {
+ return this.is_vipSpecified;
+ }
+
+ private void Resetis_vip()
+ {
+ this.is_vipSpecified = false;
+ }
+
+ private bool ShouldSerializeis_svip()
+ {
+ return this.is_svipSpecified;
+ }
+
+ private void Resetis_svip()
+ {
+ this.is_svipSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|