summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/LevelScriptStateData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/LevelScriptStateData.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/LevelScriptStateData.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/LevelScriptStateData.cs b/Client/Assets/Scripts/XMainClient/KKSG/LevelScriptStateData.cs
new file mode 100644
index 00000000..61952f6b
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/LevelScriptStateData.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "LevelScriptStateData")]
+ [Serializable]
+ public class LevelScriptStateData : IExtensible
+ {
+ [ProtoMember(1, Name = "doorStates", DataFormat = DataFormat.Default)]
+ public List<DoorState> doorStates
+ {
+ get
+ {
+ return this._doorStates;
+ }
+ }
+
+ private readonly List<DoorState> _doorStates = new List<DoorState>();
+
+ private IExtension extensionObject;
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}