summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/SpFirstCompleteScene.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/KKSG/SpFirstCompleteScene.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/SpFirstCompleteScene.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/SpFirstCompleteScene.cs74
1 files changed, 74 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/SpFirstCompleteScene.cs b/Client/Assets/Scripts/XMainClient/KKSG/SpFirstCompleteScene.cs
new file mode 100644
index 00000000..d3dcab94
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/SpFirstCompleteScene.cs
@@ -0,0 +1,74 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Xml.Serialization;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "SpFirstCompleteScene")]
+ [Serializable]
+ public class SpFirstCompleteScene : IExtensible
+ {
+ [ProtoMember(1, IsRequired = false, Name = "scenetype", DataFormat = DataFormat.TwosComplement)]
+ public uint scenetype
+ {
+ get
+ {
+ return this._scenetype ?? 0u;
+ }
+ set
+ {
+ this._scenetype = new uint?(value);
+ }
+ }
+
+ [XmlIgnore]
+ [Browsable(false)]
+ public bool scenetypeSpecified
+ {
+ get
+ {
+ return this._scenetype != null;
+ }
+ set
+ {
+ bool flag = value == (this._scenetype == null);
+ if (flag)
+ {
+ this._scenetype = (value ? new uint?(this.scenetype) : null);
+ }
+ }
+ }
+
+ [ProtoMember(2, Name = "sceneid", DataFormat = DataFormat.TwosComplement)]
+ public List<uint> sceneid
+ {
+ get
+ {
+ return this._sceneid;
+ }
+ }
+
+ private uint? _scenetype;
+
+ private readonly List<uint> _sceneid = new List<uint>();
+
+ private IExtension extensionObject;
+
+ private bool ShouldSerializescenetype()
+ {
+ return this.scenetypeSpecified;
+ }
+
+ private void Resetscenetype()
+ {
+ this.scenetypeSpecified = false;
+ }
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}