diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/SpFirstCompleteScene.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/KKSG/SpFirstCompleteScene.cs | 74 |
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);
+ }
+ }
+}
|