public void AreaModWarningsMenu() { Settings.AreaModWarnings.Value = ImGuiExtension.Checkbox("Shows Area Mod Warnings", Settings.AreaModWarnings.Value); ImGui.Spacing(); ImGui.Spacing(); Settings.AreaModWarningLocked.Value = ImGuiExtension.Checkbox("Lock Mod Warning Box In Place", Settings.AreaModWarningLocked.Value); Settings.AreaModWarningOverrideColors.Value = ImGuiExtension.Checkbox("Override ImGui Colors", Settings.AreaModWarningOverrideColors.Value); Settings.AreaModWarningTitle = ImGuiExtension.ColorPicker("Title Color", Settings.AreaModWarningTitle); Settings.AreaModWarningBodyText = ImGuiExtension.ColorPicker("Bad Mod Colors", Settings.AreaModWarningBodyText); Settings.AreaModWarningBackground = ImGuiExtension.ColorPicker("Background", Settings.AreaModWarningBackground); if (ImGui.Button("Open: AreaWarningMods.txt")) { Process.Start(AreaModFile); } ImGui.SameLine(); if (ImGui.Button("Open: How To Get Area Mod Strings")) { Process.Start(DirectoryFullName + "\\How To Get Map Mods.txt"); } if (ImGui.Button("Open: Area Mod List")) { Process.Start(DirectoryFullName + "\\Area Mods.txt"); } }
public void AreaTranitionsMenu() { Settings.AreaTransition.Value = ImGuiExtension.Checkbox("Shows Area Transition Names", Settings.AreaTransition.Value); Settings.AreaTransitionHideLocalTranition.Value = ImGuiExtension.Checkbox("Hide Same Area Transitions", Settings.AreaTransitionHideLocalTranition.Value); Settings.AreaTransitionHideInTownOrHideout.Value = ImGuiExtension.Checkbox("Hide In Town/Hideout", Settings.AreaTransitionHideInTownOrHideout.Value); Settings.AreaTransitionMaxLength.Value = ImGuiExtension.IntSlider("Text Wrap Length", Settings.AreaTransitionMaxLength); Settings.AreaTransitionLargeMapYOffset.Value = ImGuiExtension.IntSlider("large Map Text Y Offset", Settings.AreaTransitionLargeMapYOffset); Settings.AreaTransitionSizeSmall.Value = ImGuiExtension.IntSlider("Text Size On Small Map", Settings.AreaTransitionSizeSmall); Settings.AreaTransitionSize.Value = ImGuiExtension.IntSlider("Text Size", Settings.AreaTransitionSize); Settings.AreaTransitionColor = ImGuiExtension.ColorPicker("Text Color", Settings.AreaTransitionColor); Settings.AreaTransitionColorBackground = ImGuiExtension.ColorPicker("Text Color Background", Settings.AreaTransitionColorBackground); Settings._Debug.Value = ImGuiExtension.Checkbox("Debug", Settings._Debug); }
private void WheresMyCursorMenu() { Settings.WmcMain.Value = ImGuiExtension.Checkbox("Enable##FRNToggle", Settings.WmcMain); Settings.WmcLineType.Value = ImGuiExtension.ComboBox("Line Type?", Settings.WmcLineType.Value, new List <string> { "Maximum Length To Cursor", "Draw To The Mouse", "Draw To The Edge Of The Screen" }); Settings.WmcLineColor.Value = ImGuiExtension.ColorPicker("Line Color", Settings.WmcLineColor); Settings.WmcLineLength.Value = ImGuiExtension.IntSlider("Line Max Length", Settings.WmcLineLength); Settings.WmcLineSize.Value = ImGuiExtension.IntSlider("Line Thickness", Settings.WmcLineSize); ImGui.Spacing(); Settings.WmcPlayerOffsetX.Value = ImGuiExtension.IntSlider("Player Offset X", Settings.WmcPlayerOffsetX.Value, -100, 100); Settings.WmcPlayerOffsetY.Value = ImGuiExtension.IntSlider("Player Offset Y", Settings.WmcPlayerOffsetY.Value, -100, 100); }
public override void DrawSettingsMenu() { ImGui.BulletText($"v{PluginVersion}"); ImGui.BulletText($"Last Updated: {buildDate}"); base.DrawSettingsMenu(); if (ImGui.CollapsingHeader("Module Colors", "ModuleColorHeaders", false, false)) { Settings.OverrideColors = ImGuiExtension.Checkbox("Override Module Colors", Settings.OverrideColors); Settings.DegenTitle = ImGuiExtension.ColorPicker("Degen Title", Settings.DegenTitle); Settings.DegenPositive = ImGuiExtension.ColorPicker("Degen Positive Number", Settings.DegenPositive); Settings.DegenNegitive = ImGuiExtension.ColorPicker("Degen Negitive Number", Settings.DegenNegitive); Settings.DegenBackground = ImGuiExtension.ColorPicker("Degen Background", Settings.DegenBackground); ImGui.Separator(); } }
public override void DrawSettingsMenu() { bool outBool; if (ImGuiExtension.Checkbox(Settings.Resolution ? "Background: Plain Square" : "Background: Image suitable for 1920x1080 only", Settings.Resolution, out outBool) && ImGui.TreeNode("Background Settings")) { Settings.ResolutionTop.Value = ImGuiExtension.IntSlider("Top", Settings.ResolutionTop); Settings.ResolutionBottom.Value = ImGuiExtension.IntSlider("Bottom", Settings.ResolutionBottom); Settings.ResolutionLeft.Value = ImGuiExtension.IntSlider("Left", Settings.ResolutionLeft); Settings.ResolutionRight.Value = ImGuiExtension.IntSlider("Right", Settings.ResolutionRight); Settings.LevelBackColor = ImGuiExtension.ColorPicker("Background Color", Settings.LevelBackColor); ImGui.Separator(); ImGui.TreePop(); } Settings.Resolution.Value = outBool; if (ImGui.TreeNode("Health/Mana Boxes")) { ImGui.SetNextTreeNodeOpen(true, Condition.Once); if (ImGui.TreeNode("Health %")) { Settings.HealthToggle = ImGuiExtension.Checkbox("Health % (" + (Settings.HealthToggle ? "Show" : "Hide") + ")", Settings.HealthToggle); Settings.HpPositionX.Value = ImGuiExtension.IntSlider("HP X", Settings.HpPositionX); Settings.HpPositionY.Value = ImGuiExtension.IntSlider("HP Y", Settings.HpPositionY); Settings.HpTextColor = ImGuiExtension.ColorPicker("HP Text", Settings.HpTextColor); Settings.HpBackColor = ImGuiExtension.ColorPicker("HP Background", Settings.HpBackColor); ImGui.TreePop(); } ImGui.SetNextTreeNodeOpen(true, Condition.Once); if (ImGui.TreeNode("Mana %")) { Settings.ManaToggle = ImGuiExtension.Checkbox("Mana % (" + (Settings.ManaToggle ? "Show" : "Hide") + ")", Settings.ManaToggle); Settings.MpPositionX.Value = ImGuiExtension.IntSlider("MP X", Settings.MpPositionX); Settings.MpPositionY.Value = ImGuiExtension.IntSlider("MP Y", Settings.MpPositionY); Settings.MpTextColor = ImGuiExtension.ColorPicker("MP Text", Settings.MpTextColor); Settings.MpBackColor = ImGuiExtension.ColorPicker("MP Background", Settings.MpBackColor); ImGui.Separator(); ImGui.TreePop(); } ImGui.TreePop(); } if (ImGui.TreeNode("Player Resistance UI")) { Settings.Resistances = ImGuiExtension.Checkbox("Player Resistance UI (" + (Settings.Resistances ? "Show" : "Hide") + ")", Settings.Resistances); Settings.ResistanceX.Value = ImGuiExtension.IntSlider("Res X", Settings.ResistanceX); Settings.ResistanceY.Value = ImGuiExtension.IntSlider("Res Y", Settings.ResistanceY); Settings.ResistanceTextSize = ImGuiExtension.IntSlider("Res Text Size", Settings.ResistanceTextSize, 1, 40); ImGui.Spacing(); Settings.FireResistanceColor = ImGuiExtension.ColorPicker("Fire Res Color", Settings.FireResistanceColor); Settings.ColdResistanceColor = ImGuiExtension.ColorPicker("Cold Res Color", Settings.ColdResistanceColor); Settings.LightningResistanceColor = ImGuiExtension.ColorPicker("Light Res Color", Settings.LightningResistanceColor); Settings.ChaosResistanceColor = ImGuiExtension.ColorPicker("Chaos Res Color", Settings.ChaosResistanceColor); ImGui.Separator(); ImGui.TreePop(); } if (ImGui.TreeNode("Delve Info UI")) { Settings.Delveinfo = ImGuiExtension.Checkbox("Delve Info UI (" + (Settings.Delveinfo ? "Show" : "Hide") + ")", Settings.Delveinfo); Settings.DelveinfoX.Value = ImGuiExtension.IntSlider("Delveinfo X", Settings.DelveinfoX); Settings.DelveinfoY.Value = ImGuiExtension.IntSlider("Delveinfo Y", Settings.DelveinfoY); Settings.DelveinfoTextSize = ImGuiExtension.IntSlider("Delveinfo Text Size", Settings.DelveinfoTextSize, 1, 40); ImGui.Spacing(); Settings.DelveinfoSulphiteColor = ImGuiExtension.ColorPicker("Sulphite Color", Settings.DelveinfoSulphiteColor); Settings.DelveinfoAzuriteColor = ImGuiExtension.ColorPicker("Azurite Color", Settings.DelveinfoAzuriteColor); ImGui.Separator(); ImGui.TreePop(); } if (ImGui.TreeNode("Instance Information")) { Settings.LevelToggle = ImGuiExtension.Checkbox("Instance Information (" + (Settings.LevelToggle ? "Show" : "Hide") + ")", Settings.LevelToggle); Settings.SaveToFile.Value = ImGuiExtension.Checkbox("Log To File", Settings.SaveToFile); Settings.LastAreaDuration.Value = ImGuiExtension.IntSlider("Last Area Log In Seconds", Settings.LastAreaDuration); ImGui.Spacing(); Settings.LevelPositionX.Value = ImGuiExtension.IntSlider("Instance Info X", Settings.LevelPositionX); Settings.LevelPositionY.Value = ImGuiExtension.IntSlider("Instance Info Y", Settings.LevelPositionY); Settings.LevelTextColor = ImGuiExtension.ColorPicker("Instance Info Text Color", Settings.LevelTextColor); Settings.LevelTextSize.Value = ImGuiExtension.IntSlider("Instance Info Text Size", Settings.LevelTextSize); ImGui.TreePop(); } if (ImGui.TreeNode("Experience Bar")) { Settings.ExperienceBar = ImGuiExtension.Checkbox("Experience Bar Percent (" + (Settings.ExperienceBar ? "Show" : "Hide") + ")", Settings.ExperienceBar); ImGui.TreePop(); } ImGui.BeginChild("CharacteLogs", true, WindowFlags.AlwaysVerticalScrollbar); var levelLogs = new LevelLogs(); var path1 = $"{PluginDirectory}\\Level Entry\\{LocalPlayer.Name}\\"; var path2 = $"{path1}JsonLog.json"; var directoryName = Path.GetDirectoryName(path1); if (!Directory.Exists(directoryName) && directoryName != null) { Directory.CreateDirectory(directoryName); } try { var str = File.ReadAllText(path2); if (string.IsNullOrEmpty(str.Trim())) { throw new Exception(); } if (str == "null") { throw new Exception(); } var m0 = JsonConvert.DeserializeObject <LevelLogs>(str); m0.Entries.Reverse(); foreach (var entry in m0.Entries) { if (ImGui.TreeNode(entry.Id)) { ImGui.SetNextTreeNodeOpen(true, Condition.Appearing); if (ImGui.TreeNode("Info")) { ImGui.Text($"Date: {entry.Info.Date}"); ImGui.SetNextTreeNodeOpen(true, Condition.Appearing); if (ImGui.TreeNode("Level")) { ImGuiNative.igIndent(); ImGui.Text($"Current LvL: {entry.Info.Level.CurrentLevel}"); ImGui.Text($"Current LvL %%: {entry.Info.Level.CurrentLevelPercent}"); ImGui.Text($"Exp Gained: {entry.Info.Level.ExperiencedGained}"); ImGui.Text($"Exp Gained %%: {entry.Info.Level.ExperienceGainedPercent}"); ImGui.Text($"Level Ups: {entry.Info.Level.LevelUps}"); ImGuiNative.igUnindent(); ImGui.TreePop(); } ImGui.SetNextTreeNodeOpen(true, Condition.Appearing); if (ImGui.TreeNode("Area")) { ImGuiNative.igIndent(); ImGui.Text($"Area: {entry.Info.Area.Name}"); ImGui.Text($"LvL Difference: {entry.Info.Area.LevelDifference}"); ImGui.Text($"Run Time: {entry.Info.Area.TimeSpent}"); ImGui.Text($"Same Area LvL ETA: {entry.Info.Area.SameAreaEta.Left}/{entry.Info.Area.SameAreaEta.TotalForLevel}"); ImGuiNative.igUnindent(); ImGui.TreePop(); } ImGui.TreePop(); } ImGui.TreePop(); } } } catch { } ImGui.EndChild(); }
public void DelveMenu(int idIn, out int idPop) { idPop = idIn; if (ImGui.TreeNode("Delve Map Grid - Shown only when fully zoomed in")) { ImGui.PushID(idPop); Settings.DelveGridMap.Value = ImGuiExtension.Checkbox(Settings.DelveGridMap.Value ? "Show" : "Hidden", Settings.DelveGridMap); ImGui.PopID(); idPop++; ImGui.PushID(idPop); if (ImGui.Button("Set current Delve Zoom as the zoom you want to show grid\r\nZoom in all the way then press the button")) { Settings.DelveGridMapScale = CurrentDelveMapZoom; } ImGui.PopID(); idPop++; ImGui.TreePop(); } if (ImGui.TreeNode("Delve Path's")) { ImGui.PushID(idPop); Settings.DelvePathWays.Value = ImGuiExtension.Checkbox(Settings.DelvePathWays.Value ? "Show" : "Hidden", Settings.DelvePathWays); ImGui.PopID(); idPop++; ImGui.Spacing(); ImGui.PushID(idPop); Settings.DelvePathWaysNodeSize.Value = ImGuiExtension.IntSlider("Size", Settings.DelvePathWaysNodeSize); ImGui.PopID(); idPop++; ImGui.PushID(idPop); Settings.DelvePathWaysNodeColor = ImGuiExtension.ColorPicker("Color", Settings.DelvePathWaysNodeColor); ImGui.PopID(); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelveWall.Value = ImGuiExtension.Checkbox($"Breakable Wall##{idPop}", Settings.DelveWall); idPop++; Settings.DelveWallSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelveWallSize); idPop++; Settings.DelveWallColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelveWallColor); idPop++; ImGui.TreePop(); } if (ImGui.TreeNode("Delve Chests")) { ImGui.PushID(idPop); Settings.DelveChests.Value = ImGuiExtension.Checkbox(Settings.DelveChests.Value ? "Show" : "Hidden", Settings.DelveChests); ImGui.PopID(); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelvePathwayChest.Value = ImGuiExtension.Checkbox($"Hidden Chests on the way##{idPop}", Settings.DelvePathwayChest); idPop++; Settings.DelvePathwayChestSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelvePathwayChestSize); idPop++; Settings.DelvePathwayChestColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelvePathwayChestColor); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelveMiningSuppliesDynamiteChest.Value = ImGuiExtension.Checkbox($"Dynamite Supplies##{idPop}", Settings.DelveMiningSuppliesDynamiteChest); idPop++; Settings.DelveMiningSuppliesDynamiteChestSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelveMiningSuppliesDynamiteChestSize); idPop++; Settings.DelveMiningSuppliesDynamiteChestColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelveMiningSuppliesDynamiteChestColor); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelveMiningSuppliesFlaresChest.Value = ImGuiExtension.Checkbox($"Flare Supplies##{idPop}", Settings.DelveMiningSuppliesFlaresChest); idPop++; Settings.DelveMiningSuppliesFlaresChestSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelveMiningSuppliesFlaresChestSize); idPop++; Settings.DelveMiningSuppliesFlaresChestColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelveMiningSuppliesFlaresChestColor); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelveCurrencyChest.Value = ImGuiExtension.Checkbox($"Currency Chests##{idPop}", Settings.DelveCurrencyChest); idPop++; Settings.DelveCurrencyChestSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelveCurrencyChestSize); idPop++; Settings.DelveCurrencyChestColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelveCurrencyChestColor); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelveAzuriteVeinChest.Value = ImGuiExtension.Checkbox($"Azurite Veins##{idPop}", Settings.DelveAzuriteVeinChest); idPop++; Settings.DelveAzuriteVeinChestSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelveAzuriteVeinChestSize); idPop++; Settings.DelveAzuriteVeinChestColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelveAzuriteVeinChestColor); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelveResonatorChest.Value = ImGuiExtension.Checkbox($"Resonator Chests##{idPop}", Settings.DelveResonatorChest); idPop++; Settings.DelveResonatorChestSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelveResonatorChestSize); idPop++; Settings.DelveResonatorChestColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelveResonatorChestColor); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelveFossilChest.Value = ImGuiExtension.Checkbox($"Fossil Chests##{idPop}", Settings.DelveFossilChest); idPop++; Settings.DelveFossilChestSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelveFossilChestSize); idPop++; Settings.DelveFossilChestColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelveFossilChestColor); idPop++; ImGui.Spacing(); ImGui.Spacing(); ImGui.TreePop(); } if (ImGui.TreeNode("Delve Helpers")) { ImGui.PushID(idPop); Settings.DelveHelpers.Value = ImGuiExtension.Checkbox(Settings.DelveHelpers.Value ? "Show" : "Hidden", Settings.DelveHelpers); ImGui.PopID(); idPop++; ImGui.Spacing(); ImGui.PushID(idPop); Settings.PosX.Value = ImGuiExtension.IntSlider($"Position X##{idPop}", Settings.PosX); ImGui.PopID(); idPop++; ImGui.PushID(idPop); Settings.PosY.Value = ImGuiExtension.IntSlider($"Position Y##{idPop}", Settings.PosY); ImGui.PopID(); idPop++; ImGui.TreePop(); } }
public void DelveMenu(int idIn, out int idPop) { idPop = idIn; if (ImGui.TreeNode("Delve Path's")) { ImGui.PushID(idPop); Settings.DelvePathWays.Value = ImGuiExtension.Checkbox(Settings.DelvePathWays.Value ? "Show" : "Hidden", Settings.DelvePathWays); ImGui.PopID(); idPop++; ImGui.Spacing(); ImGui.PushID(idPop); Settings.DelvePathWaysNodeSize.Value = ImGuiExtension.IntSlider("Size", Settings.DelvePathWaysNodeSize); ImGui.PopID(); idPop++; ImGui.PushID(idPop); Settings.DelvePathWaysNodeColor = ImGuiExtension.ColorPicker("Color", Settings.DelvePathWaysNodeColor); ImGui.PopID(); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelveWall.Value = ImGuiExtension.Checkbox($"Breakable Wall##{idPop}", Settings.DelveWall); idPop++; Settings.DelveWallSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelveWallSize); idPop++; Settings.DelveWallColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelveWallColor); idPop++; ImGui.TreePop(); } if (ImGui.TreeNode("Delve Chests")) { ImGui.PushID(idPop); Settings.DelveChests.Value = ImGuiExtension.Checkbox(Settings.DelveChests.Value ? "Show" : "Hidden", Settings.DelveChests); ImGui.PopID(); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelvePathwayChest.Value = ImGuiExtension.Checkbox($"Hidden Chests on the way##{idPop}", Settings.DelvePathwayChest); idPop++; Settings.DelvePathwayChestSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelvePathwayChestSize); idPop++; Settings.DelvePathwayChestColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelvePathwayChestColor); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelveMiningSuppliesDynamiteChest.Value = ImGuiExtension.Checkbox($"Dynamite Supplies##{idPop}", Settings.DelveMiningSuppliesDynamiteChest); idPop++; Settings.DelveMiningSuppliesDynamiteChestSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelveMiningSuppliesDynamiteChestSize); idPop++; Settings.DelveMiningSuppliesDynamiteChestColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelveMiningSuppliesDynamiteChestColor); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelveMiningSuppliesFlaresChest.Value = ImGuiExtension.Checkbox($"Flare Supplies##{idPop}", Settings.DelveMiningSuppliesFlaresChest); idPop++; Settings.DelveMiningSuppliesFlaresChestSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelveMiningSuppliesFlaresChestSize); idPop++; Settings.DelveMiningSuppliesFlaresChestColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelveMiningSuppliesFlaresChestColor); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelveCurrencyChest.Value = ImGuiExtension.Checkbox($"Currency Chests##{idPop}", Settings.DelveCurrencyChest); idPop++; Settings.DelveCurrencyChestSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelveCurrencyChestSize); idPop++; Settings.DelveCurrencyChestColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelveCurrencyChestColor); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelveAzuriteVeinChest.Value = ImGuiExtension.Checkbox($"Azurite Veins##{idPop}", Settings.DelveAzuriteVeinChest); idPop++; Settings.DelveAzuriteVeinChestSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelveAzuriteVeinChestSize); idPop++; Settings.DelveAzuriteVeinChestColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelveAzuriteVeinChestColor); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelveResonatorChest.Value = ImGuiExtension.Checkbox($"Resonator Chests##{idPop}", Settings.DelveResonatorChest); idPop++; Settings.DelveResonatorChestSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelveResonatorChestSize); idPop++; Settings.DelveResonatorChestColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelveResonatorChestColor); idPop++; ImGui.Spacing(); ImGui.Spacing(); Settings.DelveFossilChest.Value = ImGuiExtension.Checkbox($"Fossil Chests##{idPop}", Settings.DelveFossilChest); idPop++; Settings.DelveFossilChestSize.Value = ImGuiExtension.IntSlider($"Size##{idPop}", Settings.DelveFossilChestSize); idPop++; Settings.DelveFossilChestColor.Value = ImGuiExtension.ColorPicker($"Color##{idPop}", Settings.DelveFossilChestColor); idPop++; ImGui.Spacing(); ImGui.Spacing(); ImGui.TreePop(); } if (ImGui.TreeNode("Delve Mine Map Stuff")) { ImGui.PushID(idPop); Settings.DelveMineMapConnections.Value = ImGuiExtension.Checkbox($"Show Connections###{idPop}", Settings.DelveMineMapConnections.Value); ImGui.PopID(); idPop++; Settings.ShowRadiusPercentage.Value = ImGuiExtension.IntSlider($"Radius (%)##{idPop}", Settings.ShowRadiusPercentage); idPop++; ImGui.TreePop(); } if (ImGui.TreeNode("Debug Mode")) { ImGui.PushID(idPop); Settings.DebugHotkey.Value = ImGuiExtension.HotkeySelector($"Debug Mode Hotkey", Settings.DebugHotkey.Value); ImGui.PopID(); idPop++; Settings.DebugMode.Value = ImGuiExtension.Checkbox($"Debug Mode##{idPop}", Settings.DebugMode); idPop++; Settings.ShouldHideOnOpen.Value = ImGuiExtension.Checkbox($"Hide Chest Name When Opened##{idPop}", Settings.ShouldHideOnOpen); idPop++; ImGui.TreePop(); } }