diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/ReqAutoPlay.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/ReqAutoPlay.cs | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/ReqAutoPlay.cs b/Client/Assets/Scripts/XMainClient/KKSG/ReqAutoPlay.cs new file mode 100644 index 00000000..36843fe5 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/ReqAutoPlay.cs @@ -0,0 +1,62 @@ +using System;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "ReqAutoPlay")]
+ [Serializable]
+ public class ReqAutoPlay : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "isautoplay", DataFormat = DataFormat.Default)]
+ public bool isautoplay
+ {
+ get
+ {
+ return this._isautoplay ?? false;
+ }
+ set
+ {
+ this._isautoplay = new bool?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool isautoplaySpecified
+ {
+ get
+ {
+ return this._isautoplay != null;
+ }
+ set
+ {
+ bool flag = value == (this._isautoplay == null);
+ if (flag)
+ {
+ this._isautoplay = (value ? new bool?(this.isautoplay) : null);
+ }
+ }
+ }
+
+ private bool? _isautoplay;
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializeisautoplay()
+ {
+ return this.isautoplaySpecified;
+ }
+
+ private void Resetisautoplay()
+ {
+ this.isautoplaySpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}
|