diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/KickAccountJkydMsg.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/KickAccountJkydMsg.cs | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/KickAccountJkydMsg.cs b/Client/Assets/Scripts/XMainClient/KKSG/KickAccountJkydMsg.cs new file mode 100644 index 00000000..536e3a83 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/KickAccountJkydMsg.cs @@ -0,0 +1,105 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "KickAccountJkydMsg")]
+ [Serializable]
+ public class KickAccountJkydMsg : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "msg", DataFormat = DataFormat.Default)]
+ public string msg
+ {
+ get
+ {
+ return this._msg ?? "";
+ }
+ set
+ {
+ this._msg = value;
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool msgSpecified
+ {
+ get
+ {
+ return this._msg != null;
+ }
+ set
+ {
+ bool flag = value == (this._msg == null);
+ if (flag)
+ {
+ this._msg = (value ? this.msg : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, IsRequired = false, Name = "kt", DataFormat = DataFormat.TwosComplement)]
+ public KickType kt
+ {
+ get
+ {
+ return this._kt ?? KickType.KICK_NORMAL;
+ }
+ set
+ {
+ this._kt = new KickType?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool ktSpecified
+ {
+ get
+ {
+ return this._kt != null;
+ }
+ set
+ {
+ bool flag = value == (this._kt == null);
+ if (flag)
+ {
+ this._kt = (value ? new KickType?(this.kt) : null);
+ }
+ }
+ }
+
+ private string _msg;
+
+ private KickType? _kt;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializemsg()
+ {
+ return this.msgSpecified;
+ }
+
+ private void Resetmsg()
+ {
+ this.msgSpecified = false;
+ }
+
+ private bool ShouldSerializekt()
+ {
+ return this.ktSpecified;
+ }
+
+ private void Resetkt()
+ {
+ this.ktSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|