feat: add data kind for startinfo

This commit is contained in:
goat 2020-12-08 18:46:49 +01:00
parent 5ba29aa7ef
commit be7ded8142

View file

@ -66,8 +66,8 @@ namespace Dalamud.Interface
ImGui.SameLine(); ImGui.SameLine();
var copy = ImGui.Button("Copy all"); var copy = ImGui.Button("Copy all");
ImGui.SameLine(); ImGui.SameLine();
ImGui.Combo("Data kind", ref this.currentKind, new[] {"ServerOpCode", "Address", "Actor Table", "Font Test", "Party List", "Plugin IPC", "Condition", "Gauge", "Command", "Client UI"}, ImGui.Combo("Data kind", ref this.currentKind, new[] {"ServerOpCode", "Address", "Actor Table", "Font Test", "Party List", "Plugin IPC", "Condition", "Gauge", "Command", "Addon", "StartInfo"},
10); 11);
ImGui.Checkbox("Resolve GameData", ref this.resolveGameData); ImGui.Checkbox("Resolve GameData", ref this.resolveGameData);
ImGui.BeginChild("scrolling", new Vector2(0, 0), false, ImGuiWindowFlags.HorizontalScrollbar); ImGui.BeginChild("scrolling", new Vector2(0, 0), false, ImGuiWindowFlags.HorizontalScrollbar);
@ -340,6 +340,10 @@ namespace Dalamud.Interface
} }
break; break;
case 10:
ImGui.Text(JsonConvert.SerializeObject(this.dalamud.StartInfo, Formatting.Indented));
break;
} }
else else
ImGui.TextUnformatted("Data not ready."); ImGui.TextUnformatted("Data not ready.");