OSDN Git Service

Merge branch 'Split_renderers' into vgd
[automap/automap.git] / Automap / Data / StatusData.cs
index ef6bdd1..761bc86 100644 (file)
@@ -9,9 +9,9 @@ namespace Automap {
                public uint VoidChunks { get; set; }
                public uint Delta { get; set; }
                public uint Max_N, Max_E, Max_S, Max_W;
-               public RunState CurrentState { get; set; }
+               public CommandType CurrentState { get; set; }
 
-               public StatusData(uint totalUpdates, uint voidChunks, uint delta, RunState currently) {
+               public StatusData(uint totalUpdates, uint voidChunks, uint delta, CommandType currently) {
                        TotalUpdates = totalUpdates;
                        VoidChunks = voidChunks;
                        Delta = delta;
@@ -22,7 +22,7 @@ namespace Automap {
                        TotalUpdates = stream.ReadUInt32();
                        VoidChunks = stream.ReadUInt32();
                        Delta = stream.ReadUInt32();
-                       CurrentState = (RunState) stream.ReadByte();
+                       CurrentState = (CommandType) stream.ReadByte();
                }
 
                public int GetAttributeId() {