forked from aly/qstbak
muffin v7.4
This commit is contained in:
parent
8a7847ff37
commit
a4175abacd
54 changed files with 95984 additions and 123967 deletions
|
|
@ -54,7 +54,7 @@ internal sealed class ActiveQuestComponent
|
|||
public event EventHandler? Reload;
|
||||
|
||||
[GeneratedRegex("\\s\\s+", RegexOptions.IgnoreCase, "en-US")]
|
||||
[GeneratedCode("System.Text.RegularExpressions.Generator", "9.0.13.1716")]
|
||||
[GeneratedCode("System.Text.RegularExpressions.Generator", "10.0.13.7005")]
|
||||
private static Regex MultipleWhitespaceRegex()
|
||||
{
|
||||
return _003CRegexGenerator_g_003EFBB8301322196CF81C64F1652C2FA6E1D6BF3907141F781E9D97ABED51BF056C4__MultipleWhitespaceRegex_0.Instance;
|
||||
|
|
@ -195,16 +195,16 @@ internal sealed class ActiveQuestComponent
|
|||
{
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGold))
|
||||
{
|
||||
ImU8String text = new ImU8String(20, 4);
|
||||
text.AppendLiteral("Gathering: ");
|
||||
text.AppendFormatted(Shorten(currentQuest.Quest.Info.Name));
|
||||
text.AppendLiteral(" (");
|
||||
text.AppendFormatted(currentQuest.Quest.Id);
|
||||
text.AppendLiteral(") / ");
|
||||
text.AppendFormatted(currentQuest.Sequence);
|
||||
text.AppendLiteral(" / ");
|
||||
text.AppendFormatted(currentQuest.Step);
|
||||
ImGui.TextUnformatted(text);
|
||||
ImU8String text2 = new ImU8String(20, 4);
|
||||
text2.AppendLiteral("Gathering: ");
|
||||
text2.AppendFormatted(Shorten(currentQuest.Quest.Info.Name));
|
||||
text2.AppendLiteral(" (");
|
||||
text2.AppendFormatted(currentQuest.Quest.Id);
|
||||
text2.AppendLiteral(") / ");
|
||||
text2.AppendFormatted(currentQuest.Sequence);
|
||||
text2.AppendLiteral(" / ");
|
||||
text2.AppendFormatted(currentQuest.Step);
|
||||
ImGui.TextUnformatted(text2);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -222,16 +222,16 @@ internal sealed class ActiveQuestComponent
|
|||
ImGui.SetTooltip("This quest is loaded from your 'pluginConfigs\\Questionable\\Quests' directory.\nThis gets loaded even if Questionable ships with a newer/different version of the quest.");
|
||||
}
|
||||
}
|
||||
ImU8String text = new ImU8String(16, 4);
|
||||
text.AppendLiteral("Quest: ");
|
||||
text.AppendFormatted(Shorten(startedQuest.Quest.Info.Name));
|
||||
text.AppendLiteral(" (");
|
||||
text.AppendFormatted(startedQuest.Quest.Id);
|
||||
text.AppendLiteral(") / ");
|
||||
text.AppendFormatted(startedQuest.Sequence);
|
||||
text.AppendLiteral(" / ");
|
||||
text.AppendFormatted(startedQuest.Step);
|
||||
ImGui.TextUnformatted(text);
|
||||
ImU8String text3 = new ImU8String(16, 4);
|
||||
text3.AppendLiteral("Quest: ");
|
||||
text3.AppendFormatted(Shorten(startedQuest.Quest.Info.Name));
|
||||
text3.AppendLiteral(" (");
|
||||
text3.AppendFormatted(startedQuest.Quest.Id);
|
||||
text3.AppendLiteral(") / ");
|
||||
text3.AppendFormatted(startedQuest.Sequence);
|
||||
text3.AppendLiteral(" / ");
|
||||
text3.AppendFormatted(startedQuest.Step);
|
||||
ImGui.TextUnformatted(text3);
|
||||
if (startedQuest.Quest.Root.Disabled)
|
||||
{
|
||||
ImGui.SameLine();
|
||||
|
|
@ -271,30 +271,30 @@ internal sealed class ActiveQuestComponent
|
|||
if (flag)
|
||||
{
|
||||
int num2 = _objectTable.LocalPlayer?.Level ?? 0;
|
||||
text = new ImU8String(14, 1);
|
||||
text.AppendLiteral("Stop at level ");
|
||||
text.AppendFormatted(_configuration.Stop.TargetLevel);
|
||||
ImGui.BulletText(text);
|
||||
ImU8String text4 = new ImU8String(14, 1);
|
||||
text4.AppendLiteral("Stop at level ");
|
||||
text4.AppendFormatted(_configuration.Stop.TargetLevel);
|
||||
ImGui.BulletText(text4);
|
||||
if (num2 > 0)
|
||||
{
|
||||
ImGui.SameLine();
|
||||
if (num2 >= _configuration.Stop.TargetLevel)
|
||||
{
|
||||
Vector4 col2 = ImGuiColors.ParsedGreen;
|
||||
text = new ImU8String(22, 1);
|
||||
text.AppendLiteral("(Current: ");
|
||||
text.AppendFormatted(num2);
|
||||
text.AppendLiteral(" - Reached!)");
|
||||
ImGui.TextColored(in col2, text);
|
||||
ImU8String text5 = new ImU8String(22, 1);
|
||||
text5.AppendLiteral("(Current: ");
|
||||
text5.AppendFormatted(num2);
|
||||
text5.AppendLiteral(" - Reached!)");
|
||||
ImGui.TextColored(in col2, text5);
|
||||
}
|
||||
else
|
||||
{
|
||||
Vector4 col2 = ImGuiColors.ParsedBlue;
|
||||
text = new ImU8String(11, 1);
|
||||
text.AppendLiteral("(Current: ");
|
||||
text.AppendFormatted(num2);
|
||||
text.AppendLiteral(")");
|
||||
ImGui.TextColored(in col2, text);
|
||||
ImU8String text6 = new ImU8String(11, 1);
|
||||
text6.AppendLiteral("(Current: ");
|
||||
text6.AppendFormatted(num2);
|
||||
text6.AppendLiteral(")");
|
||||
ImGui.TextColored(in col2, text6);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -305,28 +305,28 @@ internal sealed class ActiveQuestComponent
|
|||
ImGui.Spacing();
|
||||
}
|
||||
int sequence = startedQuest.Sequence;
|
||||
text = new ImU8String(23, 1);
|
||||
text.AppendLiteral("Stop at quest sequence ");
|
||||
text.AppendFormatted(_configuration.Stop.TargetSequence);
|
||||
ImGui.BulletText(text);
|
||||
ImU8String text7 = new ImU8String(23, 1);
|
||||
text7.AppendLiteral("Stop at quest sequence ");
|
||||
text7.AppendFormatted(_configuration.Stop.TargetSequence);
|
||||
ImGui.BulletText(text7);
|
||||
ImGui.SameLine();
|
||||
if (sequence >= _configuration.Stop.TargetSequence)
|
||||
{
|
||||
Vector4 col2 = ImGuiColors.ParsedGreen;
|
||||
text = new ImU8String(22, 1);
|
||||
text.AppendLiteral("(Current: ");
|
||||
text.AppendFormatted(sequence);
|
||||
text.AppendLiteral(" - Reached!)");
|
||||
ImGui.TextColored(in col2, text);
|
||||
ImU8String text8 = new ImU8String(22, 1);
|
||||
text8.AppendLiteral("(Current: ");
|
||||
text8.AppendFormatted(sequence);
|
||||
text8.AppendLiteral(" - Reached!)");
|
||||
ImGui.TextColored(in col2, text8);
|
||||
}
|
||||
else
|
||||
{
|
||||
Vector4 col2 = ImGuiColors.ParsedBlue;
|
||||
text = new ImU8String(11, 1);
|
||||
text.AppendLiteral("(Current: ");
|
||||
text.AppendFormatted(sequence);
|
||||
text.AppendLiteral(")");
|
||||
ImGui.TextColored(in col2, text);
|
||||
ImU8String text9 = new ImU8String(11, 1);
|
||||
text9.AppendLiteral("(Current: ");
|
||||
text9.AppendFormatted(sequence);
|
||||
text9.AppendLiteral(")");
|
||||
ImGui.TextColored(in col2, text9);
|
||||
}
|
||||
}
|
||||
if (flag2)
|
||||
|
|
@ -373,12 +373,12 @@ internal sealed class ActiveQuestComponent
|
|||
{
|
||||
if (_questRegistry.TryGetQuest(item2, out Quest quest2))
|
||||
{
|
||||
text = new ImU8String(3, 2);
|
||||
text.AppendFormatted(quest2.Info.Name);
|
||||
text.AppendLiteral(" (");
|
||||
text.AppendFormatted(item2);
|
||||
text.AppendLiteral(")");
|
||||
ImGui.BulletText(text);
|
||||
ImU8String text10 = new ImU8String(3, 2);
|
||||
text10.AppendFormatted(quest2.Info.Name);
|
||||
text10.AppendLiteral(" (");
|
||||
text10.AppendFormatted(item2);
|
||||
text10.AppendLiteral(")");
|
||||
ImGui.BulletText(text10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -396,13 +396,13 @@ internal sealed class ActiveQuestComponent
|
|||
{
|
||||
if (_questRegistry.TryGetQuest(elementId2, out Quest quest3))
|
||||
{
|
||||
text = new ImU8String(6, 3);
|
||||
text.AppendFormatted(quest3.Info.Name);
|
||||
text.AppendLiteral(" (");
|
||||
text.AppendFormatted(elementId2);
|
||||
text.AppendLiteral(") - ");
|
||||
text.AppendFormatted(value);
|
||||
ImGui.BulletText(text);
|
||||
ImU8String text12 = new ImU8String(6, 3);
|
||||
text12.AppendFormatted(quest3.Info.Name);
|
||||
text12.AppendLiteral(" (");
|
||||
text12.AppendFormatted(elementId2);
|
||||
text12.AppendLiteral(") - ");
|
||||
text12.AppendFormatted(value);
|
||||
ImGui.BulletText(text12);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -416,16 +416,16 @@ internal sealed class ActiveQuestComponent
|
|||
{
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudYellow))
|
||||
{
|
||||
ImU8String text = new ImU8String(21, 4);
|
||||
text.AppendLiteral("Next Quest: ");
|
||||
text.AppendFormatted(Shorten(nextQuest.Quest.Info.Name));
|
||||
text.AppendLiteral(" (");
|
||||
text.AppendFormatted(nextQuest.Quest.Id);
|
||||
text.AppendLiteral(") / ");
|
||||
text.AppendFormatted(nextQuest.Sequence);
|
||||
text.AppendLiteral(" / ");
|
||||
text.AppendFormatted(nextQuest.Step);
|
||||
ImGui.TextUnformatted(text);
|
||||
ImU8String text13 = new ImU8String(21, 4);
|
||||
text13.AppendLiteral("Next Quest: ");
|
||||
text13.AppendFormatted(Shorten(nextQuest.Quest.Info.Name));
|
||||
text13.AppendLiteral(" (");
|
||||
text13.AppendFormatted(nextQuest.Quest.Id);
|
||||
text13.AppendLiteral(") / ");
|
||||
text13.AppendFormatted(nextQuest.Sequence);
|
||||
text13.AppendLiteral(" / ");
|
||||
text13.AppendFormatted(nextQuest.Step);
|
||||
ImGui.TextUnformatted(text13);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -462,10 +462,10 @@ internal sealed class ActiveQuestComponent
|
|||
if (currentQuest.Quest.Info.AlliedSociety != EAlliedSociety.None)
|
||||
{
|
||||
ImGui.SameLine();
|
||||
text = new ImU8String(2, 1);
|
||||
text.AppendLiteral("/ ");
|
||||
text.AppendFormatted(questProgressInfo.ClassJob);
|
||||
ImGui.Text(text);
|
||||
ImU8String text3 = new ImU8String(2, 1);
|
||||
text3.AppendLiteral("/ ");
|
||||
text3.AppendFormatted(questProgressInfo.ClassJob);
|
||||
ImGui.Text(text3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -600,12 +600,12 @@ internal sealed class ActiveQuestComponent
|
|||
}
|
||||
using (ImRaii.PushId("SimulatedStep"))
|
||||
{
|
||||
text = new ImU8String(9, 2);
|
||||
text.AppendLiteral("Step: ");
|
||||
text.AppendFormatted(simulatedQuest.Step);
|
||||
text.AppendLiteral(" / ");
|
||||
text.AppendFormatted(questSequence.Steps.Count - 1);
|
||||
ImGui.Text(text);
|
||||
ImU8String text2 = new ImU8String(9, 2);
|
||||
text2.AppendLiteral("Step: ");
|
||||
text2.AppendFormatted(simulatedQuest.Step);
|
||||
text2.AppendLiteral(" / ");
|
||||
text2.AppendFormatted(questSequence.Steps.Count - 1);
|
||||
ImGui.Text(text2);
|
||||
ImGui.BeginDisabled(simulatedQuest.Step == 0);
|
||||
if (ImGuiComponents.IconButton(FontAwesomeIcon.Minus))
|
||||
{
|
||||
|
|
@ -641,7 +641,7 @@ internal sealed class ActiveQuestComponent
|
|||
{
|
||||
if (text.Length > 35)
|
||||
{
|
||||
return string.Concat(text.AsSpan(0, 30).Trim(), ((SeIconChar)57434).ToIconString());
|
||||
return string.Concat(text.AsSpan(0, 30).Trim(), ((SeIconChar)57434).ToIconString().AsSpan());
|
||||
}
|
||||
return text;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -101,28 +101,24 @@ internal sealed class CreationUtilsComponent
|
|||
if (hoveredItem != 0L)
|
||||
{
|
||||
ImGui.Separator();
|
||||
ImU8String text = new ImU8String(14, 1);
|
||||
text.AppendLiteral("Hovered Item: ");
|
||||
text.AppendFormatted(hoveredItem);
|
||||
ImGui.Text(text);
|
||||
ImU8String text2 = new ImU8String(14, 1);
|
||||
text2.AppendLiteral("Hovered Item: ");
|
||||
text2.AppendFormatted(hoveredItem);
|
||||
ImGui.Text(text2);
|
||||
}
|
||||
}
|
||||
|
||||
private unsafe void DrawTargetDetails(IGameObject target)
|
||||
{
|
||||
string value = string.Empty;
|
||||
DefaultInterpolatedStringHandler handler;
|
||||
if (target is ICharacter { NameId: not 0u } character)
|
||||
{
|
||||
handler = new DefaultInterpolatedStringHandler(4, 1);
|
||||
handler.AppendLiteral("; n=");
|
||||
handler.AppendFormatted(character.NameId);
|
||||
value = handler.ToStringAndClear();
|
||||
value = $"; n={character.NameId}";
|
||||
}
|
||||
ImGui.Separator();
|
||||
IFormatProvider invariantCulture = CultureInfo.InvariantCulture;
|
||||
IFormatProvider provider = invariantCulture;
|
||||
handler = new DefaultInterpolatedStringHandler(14, 4, invariantCulture);
|
||||
DefaultInterpolatedStringHandler handler = new DefaultInterpolatedStringHandler(14, 4, invariantCulture);
|
||||
handler.AppendLiteral("Target: ");
|
||||
handler.AppendFormatted(target.Name);
|
||||
handler.AppendLiteral(" (");
|
||||
|
|
@ -136,18 +132,18 @@ internal sealed class CreationUtilsComponent
|
|||
{
|
||||
invariantCulture = CultureInfo.InvariantCulture;
|
||||
IFormatProvider provider2 = invariantCulture;
|
||||
handler = new DefaultInterpolatedStringHandler(10, 1, invariantCulture);
|
||||
handler.AppendLiteral("Distance: ");
|
||||
handler.AppendFormatted((target.Position - _objectTable.LocalPlayer.Position).Length(), "F2");
|
||||
ImGui.Text(string.Create(provider2, ref handler));
|
||||
DefaultInterpolatedStringHandler handler2 = new DefaultInterpolatedStringHandler(10, 1, invariantCulture);
|
||||
handler2.AppendLiteral("Distance: ");
|
||||
handler2.AppendFormatted((target.Position - _objectTable.LocalPlayer.Position).Length(), "F2");
|
||||
ImGui.Text(string.Create(provider2, ref handler2));
|
||||
ImGui.SameLine();
|
||||
float value2 = target.Position.Y - _objectTable.LocalPlayer.Position.Y;
|
||||
invariantCulture = CultureInfo.InvariantCulture;
|
||||
IFormatProvider provider3 = invariantCulture;
|
||||
handler = new DefaultInterpolatedStringHandler(3, 1, invariantCulture);
|
||||
handler.AppendLiteral("Y: ");
|
||||
handler.AppendFormatted(value2, "F2");
|
||||
string text = string.Create(provider3, ref handler);
|
||||
DefaultInterpolatedStringHandler handler3 = new DefaultInterpolatedStringHandler(3, 1, invariantCulture);
|
||||
handler3.AppendLiteral("Y: ");
|
||||
handler3.AppendFormatted(value2, "F2");
|
||||
string text = string.Create(provider3, ref handler3);
|
||||
if (Math.Abs(value2) >= 1.95f)
|
||||
{
|
||||
ImGui.TextColored(ImGuiColors.DalamudOrange, text);
|
||||
|
|
@ -217,10 +213,9 @@ internal sealed class CreationUtilsComponent
|
|||
}
|
||||
if (num)
|
||||
{
|
||||
ImU8String clipboardText;
|
||||
if (target.ObjectKind == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.GatheringPoint)
|
||||
{
|
||||
clipboardText = new ImU8String(59, 4);
|
||||
ImU8String clipboardText = new ImU8String(59, 4);
|
||||
clipboardText.AppendLiteral("\"DataId\": ");
|
||||
clipboardText.AppendFormatted(target.BaseId);
|
||||
clipboardText.AppendLiteral(",\n\"Position\": {\n \"X\": ");
|
||||
|
|
@ -265,31 +260,30 @@ internal sealed class CreationUtilsComponent
|
|||
break;
|
||||
}
|
||||
string value = text;
|
||||
clipboardText = new ImU8String(99, 6);
|
||||
clipboardText.AppendLiteral("\"DataId\": ");
|
||||
clipboardText.AppendFormatted(target.BaseId);
|
||||
clipboardText.AppendLiteral(",\n\"Position\": {\n \"X\": ");
|
||||
clipboardText.AppendFormatted(target.Position.X.ToString(CultureInfo.InvariantCulture));
|
||||
clipboardText.AppendLiteral(",\n \"Y\": ");
|
||||
clipboardText.AppendFormatted(target.Position.Y.ToString(CultureInfo.InvariantCulture));
|
||||
clipboardText.AppendLiteral(",\n \"Z\": ");
|
||||
clipboardText.AppendFormatted(target.Position.Z.ToString(CultureInfo.InvariantCulture));
|
||||
clipboardText.AppendLiteral("\n},\n\"TerritoryId\": ");
|
||||
clipboardText.AppendFormatted(_clientState.TerritoryType);
|
||||
clipboardText.AppendLiteral(",\n\"InteractionType\": \"");
|
||||
clipboardText.AppendFormatted(value);
|
||||
clipboardText.AppendLiteral("\"");
|
||||
ImGui.SetClipboardText(clipboardText);
|
||||
ImU8String clipboardText2 = new ImU8String(99, 6);
|
||||
clipboardText2.AppendLiteral("\"DataId\": ");
|
||||
clipboardText2.AppendFormatted(target.BaseId);
|
||||
clipboardText2.AppendLiteral(",\n\"Position\": {\n \"X\": ");
|
||||
clipboardText2.AppendFormatted(target.Position.X.ToString(CultureInfo.InvariantCulture));
|
||||
clipboardText2.AppendLiteral(",\n \"Y\": ");
|
||||
clipboardText2.AppendFormatted(target.Position.Y.ToString(CultureInfo.InvariantCulture));
|
||||
clipboardText2.AppendLiteral(",\n \"Z\": ");
|
||||
clipboardText2.AppendFormatted(target.Position.Z.ToString(CultureInfo.InvariantCulture));
|
||||
clipboardText2.AppendLiteral("\n},\n\"TerritoryId\": ");
|
||||
clipboardText2.AppendFormatted(_clientState.TerritoryType);
|
||||
clipboardText2.AppendLiteral(",\n\"InteractionType\": \"");
|
||||
clipboardText2.AppendFormatted(value);
|
||||
clipboardText2.AppendLiteral("\"");
|
||||
ImGui.SetClipboardText(clipboardText2);
|
||||
}
|
||||
else if (ImGui.IsItemClicked(ImGuiMouseButton.Right))
|
||||
{
|
||||
DefaultInterpolatedStringHandler handler;
|
||||
if (target.ObjectKind == Dalamud.Game.ClientState.Objects.Enums.ObjectKind.Aetheryte)
|
||||
{
|
||||
EAetheryteLocation baseId = (EAetheryteLocation)target.BaseId;
|
||||
IFormatProvider invariantCulture = CultureInfo.InvariantCulture;
|
||||
IFormatProvider provider = invariantCulture;
|
||||
handler = new DefaultInterpolatedStringHandler(36, 4, invariantCulture);
|
||||
DefaultInterpolatedStringHandler handler = new DefaultInterpolatedStringHandler(36, 4, invariantCulture);
|
||||
handler.AppendLiteral("{EAetheryteLocation.");
|
||||
handler.AppendFormatted(baseId);
|
||||
handler.AppendLiteral(", new(");
|
||||
|
|
@ -305,15 +299,15 @@ internal sealed class CreationUtilsComponent
|
|||
{
|
||||
IFormatProvider invariantCulture = CultureInfo.InvariantCulture;
|
||||
IFormatProvider provider2 = invariantCulture;
|
||||
handler = new DefaultInterpolatedStringHandler(12, 3, invariantCulture);
|
||||
handler.AppendLiteral("new(");
|
||||
handler.AppendFormatted(target.Position.X);
|
||||
handler.AppendLiteral("f, ");
|
||||
handler.AppendFormatted(target.Position.Y);
|
||||
handler.AppendLiteral("f, ");
|
||||
handler.AppendFormatted(target.Position.Z);
|
||||
handler.AppendLiteral("f)");
|
||||
ImGui.SetClipboardText(string.Create(provider2, ref handler));
|
||||
DefaultInterpolatedStringHandler handler2 = new DefaultInterpolatedStringHandler(12, 3, invariantCulture);
|
||||
handler2.AppendLiteral("new(");
|
||||
handler2.AppendFormatted(target.Position.X);
|
||||
handler2.AppendLiteral("f, ");
|
||||
handler2.AppendFormatted(target.Position.Y);
|
||||
handler2.AppendLiteral("f, ");
|
||||
handler2.AppendFormatted(target.Position.Z);
|
||||
handler2.AppendLiteral("f)");
|
||||
ImGui.SetClipboardText(string.Create(provider2, ref handler2));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -168,10 +168,10 @@ internal sealed class EventInfoComponent
|
|||
{
|
||||
continue;
|
||||
}
|
||||
ImU8String text3 = new ImU8String(21, 1);
|
||||
text3.AppendLiteral("##EventQuestSelection");
|
||||
text3.AppendFormatted(questId);
|
||||
using (ImRaii.PushId(text3))
|
||||
ImU8String id = new ImU8String(21, 1);
|
||||
id.AppendLiteral("##EventQuestSelection");
|
||||
id.AppendFormatted(questId);
|
||||
using (ImRaii.PushId(id))
|
||||
{
|
||||
string name = _questData.GetQuestInfo(questId).Name;
|
||||
if (list.Contains(questId) && _questRegistry.TryGetQuest(questId, out Questionable.Model.Quest quest))
|
||||
|
|
|
|||
|
|
@ -136,10 +136,10 @@ internal sealed class ManualPriorityComponent
|
|||
using (ImRaii.PushId(id))
|
||||
{
|
||||
ImGui.AlignTextToFramePadding();
|
||||
id = new ImU8String(1, 1);
|
||||
id.AppendFormatted(i + 1);
|
||||
id.AppendLiteral(".");
|
||||
ImGui.Text(id);
|
||||
ImU8String text = new ImU8String(1, 1);
|
||||
text.AppendFormatted(i + 1);
|
||||
text.AppendLiteral(".");
|
||||
ImGui.Text(text);
|
||||
ImGui.SameLine();
|
||||
(Vector4, FontAwesomeIcon, string) questStyle = _uiUtils.GetQuestStyle(quest3.Id);
|
||||
bool flag;
|
||||
|
|
|
|||
|
|
@ -331,11 +331,11 @@ internal sealed class PresetBuilderComponent
|
|||
}
|
||||
if (ImGui.IsItemHovered())
|
||||
{
|
||||
label = new ImU8String(23, 1);
|
||||
label.AppendLiteral("Add '");
|
||||
label.AppendFormatted(questInfo.Name);
|
||||
label.AppendLiteral("' to priority list");
|
||||
ImGui.SetTooltip(label);
|
||||
ImU8String tooltip = new ImU8String(23, 1);
|
||||
tooltip.AppendLiteral("Add '");
|
||||
tooltip.AppendFormatted(questInfo.Name);
|
||||
tooltip.AppendLiteral("' to priority list");
|
||||
ImGui.SetTooltip(tooltip);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -600,7 +600,7 @@ internal sealed class PresetBuilderComponent
|
|||
EExpansionVersion.Dawntrail => new uint[6] { 1187u, 1188u, 1189u, 1190u, 1191u, 1192u },
|
||||
_ => Array.Empty<uint>(),
|
||||
};
|
||||
return QuestData.AetherCurrentQuestsByTerritory.Where<KeyValuePair<uint, ImmutableList<QuestId>>>((KeyValuePair<uint, ImmutableList<QuestId>> kvp) => territoryRanges.Contains(kvp.Key)).SelectMany((KeyValuePair<uint, ImmutableList<QuestId>> kvp) => kvp.Value).Cast<ElementId>()
|
||||
return QuestData.AetherCurrentQuestsByTerritory.Where<KeyValuePair<uint, ImmutableList<QuestId>>>((KeyValuePair<uint, ImmutableList<QuestId>> kvp) => ((ReadOnlySpan<uint>)territoryRanges).Contains(kvp.Key)).SelectMany((KeyValuePair<uint, ImmutableList<QuestId>> kvp) => kvp.Value).Cast<ElementId>()
|
||||
.ToList();
|
||||
}
|
||||
|
||||
|
|
@ -613,9 +613,9 @@ internal sealed class PresetBuilderComponent
|
|||
int num = 1;
|
||||
List<ElementId> list15 = new List<ElementId>(num);
|
||||
CollectionsMarshal.SetCount(list15, num);
|
||||
Span<ElementId> span = CollectionsMarshal.AsSpan(list15);
|
||||
Span<ElementId> span15 = CollectionsMarshal.AsSpan(list15);
|
||||
int index = 0;
|
||||
span[index] = new AethernetId(1);
|
||||
span15[index] = new AethernetId(1);
|
||||
return list15;
|
||||
}
|
||||
case "Gridania":
|
||||
|
|
@ -623,9 +623,9 @@ internal sealed class PresetBuilderComponent
|
|||
int index = 1;
|
||||
List<ElementId> list14 = new List<ElementId>(index);
|
||||
CollectionsMarshal.SetCount(list14, index);
|
||||
Span<ElementId> span = CollectionsMarshal.AsSpan(list14);
|
||||
Span<ElementId> span14 = CollectionsMarshal.AsSpan(list14);
|
||||
int num = 0;
|
||||
span[num] = new AethernetId(2);
|
||||
span14[num] = new AethernetId(2);
|
||||
return list14;
|
||||
}
|
||||
case "Uldah":
|
||||
|
|
@ -633,9 +633,9 @@ internal sealed class PresetBuilderComponent
|
|||
int num = 1;
|
||||
List<ElementId> list13 = new List<ElementId>(num);
|
||||
CollectionsMarshal.SetCount(list13, num);
|
||||
Span<ElementId> span = CollectionsMarshal.AsSpan(list13);
|
||||
Span<ElementId> span13 = CollectionsMarshal.AsSpan(list13);
|
||||
int index = 0;
|
||||
span[index] = new AethernetId(3);
|
||||
span13[index] = new AethernetId(3);
|
||||
return list13;
|
||||
}
|
||||
case "GoldSaucer":
|
||||
|
|
@ -643,9 +643,9 @@ internal sealed class PresetBuilderComponent
|
|||
int index = 1;
|
||||
List<ElementId> list12 = new List<ElementId>(index);
|
||||
CollectionsMarshal.SetCount(list12, index);
|
||||
Span<ElementId> span = CollectionsMarshal.AsSpan(list12);
|
||||
Span<ElementId> span12 = CollectionsMarshal.AsSpan(list12);
|
||||
int num = 0;
|
||||
span[num] = new AethernetId(4);
|
||||
span12[num] = new AethernetId(4);
|
||||
return list12;
|
||||
}
|
||||
case "Ishgard":
|
||||
|
|
@ -653,9 +653,9 @@ internal sealed class PresetBuilderComponent
|
|||
int num = 1;
|
||||
List<ElementId> list11 = new List<ElementId>(num);
|
||||
CollectionsMarshal.SetCount(list11, num);
|
||||
Span<ElementId> span = CollectionsMarshal.AsSpan(list11);
|
||||
Span<ElementId> span11 = CollectionsMarshal.AsSpan(list11);
|
||||
int index = 0;
|
||||
span[index] = new AethernetId(5);
|
||||
span11[index] = new AethernetId(5);
|
||||
return list11;
|
||||
}
|
||||
case "Idyllshire":
|
||||
|
|
@ -663,9 +663,9 @@ internal sealed class PresetBuilderComponent
|
|||
int index = 1;
|
||||
List<ElementId> list10 = new List<ElementId>(index);
|
||||
CollectionsMarshal.SetCount(list10, index);
|
||||
Span<ElementId> span = CollectionsMarshal.AsSpan(list10);
|
||||
Span<ElementId> span10 = CollectionsMarshal.AsSpan(list10);
|
||||
int num = 0;
|
||||
span[num] = new AethernetId(6);
|
||||
span10[num] = new AethernetId(6);
|
||||
return list10;
|
||||
}
|
||||
case "Rhalgr's Reach":
|
||||
|
|
@ -673,9 +673,9 @@ internal sealed class PresetBuilderComponent
|
|||
int num = 1;
|
||||
List<ElementId> list9 = new List<ElementId>(num);
|
||||
CollectionsMarshal.SetCount(list9, num);
|
||||
Span<ElementId> span = CollectionsMarshal.AsSpan(list9);
|
||||
Span<ElementId> span9 = CollectionsMarshal.AsSpan(list9);
|
||||
int index = 0;
|
||||
span[index] = new AethernetId(7);
|
||||
span9[index] = new AethernetId(7);
|
||||
return list9;
|
||||
}
|
||||
case "Kugane":
|
||||
|
|
@ -683,9 +683,9 @@ internal sealed class PresetBuilderComponent
|
|||
int index = 1;
|
||||
List<ElementId> list8 = new List<ElementId>(index);
|
||||
CollectionsMarshal.SetCount(list8, index);
|
||||
Span<ElementId> span = CollectionsMarshal.AsSpan(list8);
|
||||
Span<ElementId> span8 = CollectionsMarshal.AsSpan(list8);
|
||||
int num = 0;
|
||||
span[num] = new AethernetId(8);
|
||||
span8[num] = new AethernetId(8);
|
||||
return list8;
|
||||
}
|
||||
case "Doman Enclave":
|
||||
|
|
@ -693,9 +693,9 @@ internal sealed class PresetBuilderComponent
|
|||
int num = 1;
|
||||
List<ElementId> list7 = new List<ElementId>(num);
|
||||
CollectionsMarshal.SetCount(list7, num);
|
||||
Span<ElementId> span = CollectionsMarshal.AsSpan(list7);
|
||||
Span<ElementId> span7 = CollectionsMarshal.AsSpan(list7);
|
||||
int index = 0;
|
||||
span[index] = new AethernetId(9);
|
||||
span7[index] = new AethernetId(9);
|
||||
return list7;
|
||||
}
|
||||
case "The Crystarium":
|
||||
|
|
@ -703,9 +703,9 @@ internal sealed class PresetBuilderComponent
|
|||
int index = 1;
|
||||
List<ElementId> list6 = new List<ElementId>(index);
|
||||
CollectionsMarshal.SetCount(list6, index);
|
||||
Span<ElementId> span = CollectionsMarshal.AsSpan(list6);
|
||||
Span<ElementId> span6 = CollectionsMarshal.AsSpan(list6);
|
||||
int num = 0;
|
||||
span[num] = new AethernetId(10);
|
||||
span6[num] = new AethernetId(10);
|
||||
return list6;
|
||||
}
|
||||
case "Eulmore":
|
||||
|
|
@ -713,9 +713,9 @@ internal sealed class PresetBuilderComponent
|
|||
int num = 1;
|
||||
List<ElementId> list5 = new List<ElementId>(num);
|
||||
CollectionsMarshal.SetCount(list5, num);
|
||||
Span<ElementId> span = CollectionsMarshal.AsSpan(list5);
|
||||
Span<ElementId> span5 = CollectionsMarshal.AsSpan(list5);
|
||||
int index = 0;
|
||||
span[index] = new AethernetId(11);
|
||||
span5[index] = new AethernetId(11);
|
||||
return list5;
|
||||
}
|
||||
case "Old Sharlayan":
|
||||
|
|
@ -723,9 +723,9 @@ internal sealed class PresetBuilderComponent
|
|||
int index = 1;
|
||||
List<ElementId> list4 = new List<ElementId>(index);
|
||||
CollectionsMarshal.SetCount(list4, index);
|
||||
Span<ElementId> span = CollectionsMarshal.AsSpan(list4);
|
||||
Span<ElementId> span4 = CollectionsMarshal.AsSpan(list4);
|
||||
int num = 0;
|
||||
span[num] = new AethernetId(12);
|
||||
span4[num] = new AethernetId(12);
|
||||
return list4;
|
||||
}
|
||||
case "Radz-at-Han":
|
||||
|
|
@ -733,9 +733,9 @@ internal sealed class PresetBuilderComponent
|
|||
int num = 1;
|
||||
List<ElementId> list3 = new List<ElementId>(num);
|
||||
CollectionsMarshal.SetCount(list3, num);
|
||||
Span<ElementId> span = CollectionsMarshal.AsSpan(list3);
|
||||
Span<ElementId> span3 = CollectionsMarshal.AsSpan(list3);
|
||||
int index = 0;
|
||||
span[index] = new AethernetId(13);
|
||||
span3[index] = new AethernetId(13);
|
||||
return list3;
|
||||
}
|
||||
case "Tuliyollal":
|
||||
|
|
@ -743,9 +743,9 @@ internal sealed class PresetBuilderComponent
|
|||
int index = 1;
|
||||
List<ElementId> list2 = new List<ElementId>(index);
|
||||
CollectionsMarshal.SetCount(list2, index);
|
||||
Span<ElementId> span = CollectionsMarshal.AsSpan(list2);
|
||||
Span<ElementId> span2 = CollectionsMarshal.AsSpan(list2);
|
||||
int num = 0;
|
||||
span[num] = new AethernetId(14);
|
||||
span2[num] = new AethernetId(14);
|
||||
return list2;
|
||||
}
|
||||
case "Solution Nine":
|
||||
|
|
|
|||
|
|
@ -238,10 +238,10 @@ internal sealed class QuestSequenceComponent
|
|||
float num3 = (float)ImGui.GetTime();
|
||||
float num4 = 0.85f + MathF.Sin(num3 * 3f) * 0.15f;
|
||||
col = new Vector4(0.5f * num4, 1f * num4, 0.6f * num4, 1f);
|
||||
text = new ImU8String(17, 1);
|
||||
text.AppendLiteral("Active: Sequence ");
|
||||
text.AppendFormatted(currentSequence.Value);
|
||||
ImGui.TextColored(in col, text);
|
||||
ImU8String text2 = new ImU8String(17, 1);
|
||||
text2.AppendLiteral("Active: Sequence ");
|
||||
text2.AppendFormatted(currentSequence.Value);
|
||||
ImGui.TextColored(in col, text2);
|
||||
}
|
||||
ImGui.SetCursorPosY(cursorScreenPos.Y + num - ImGui.GetCursorScreenPos().Y + ImGui.GetCursorPosY());
|
||||
ImGui.Spacing();
|
||||
|
|
@ -343,21 +343,21 @@ internal sealed class QuestSequenceComponent
|
|||
ImGui.TextColored(in col, text);
|
||||
ImGui.SameLine();
|
||||
col = new Vector4(0.7f, 0.9f, 1f, 1f);
|
||||
text = new ImU8String(0, 1);
|
||||
text.AppendFormatted(totalSequences);
|
||||
ImGui.TextColored(in col, text);
|
||||
ImU8String text2 = new ImU8String(0, 1);
|
||||
text2.AppendFormatted(totalSequences);
|
||||
ImGui.TextColored(in col, text2);
|
||||
ImGui.Spacing();
|
||||
col = new Vector4(0.9f, 0.9f, 0.98f, 1f);
|
||||
text = new ImU8String(6, 0);
|
||||
text.AppendLiteral("Range:");
|
||||
ImGui.TextColored(in col, text);
|
||||
ImU8String text3 = new ImU8String(6, 0);
|
||||
text3.AppendLiteral("Range:");
|
||||
ImGui.TextColored(in col, text3);
|
||||
ImGui.SameLine();
|
||||
col = new Vector4(0.7f, 0.9f, 1f, 1f);
|
||||
text = new ImU8String(9, 1);
|
||||
text.AppendLiteral("0 → ");
|
||||
text.AppendFormatted(maxSeq);
|
||||
text.AppendLiteral(", 255");
|
||||
ImGui.TextColored(in col, text);
|
||||
ImU8String text4 = new ImU8String(9, 1);
|
||||
text4.AppendLiteral("0 → ");
|
||||
text4.AppendFormatted(maxSeq);
|
||||
text4.AppendLiteral(", 255");
|
||||
ImGui.TextColored(in col, text4);
|
||||
ImGui.Unindent(10f);
|
||||
});
|
||||
ImGui.TableNextColumn();
|
||||
|
|
@ -376,16 +376,16 @@ internal sealed class QuestSequenceComponent
|
|||
ImGui.TextColored(new Vector4(0.7f, 0.7f, 0.8f, 1f), "/");
|
||||
ImGui.SameLine();
|
||||
Vector4 col2 = new Vector4(0.9f, 0.9f, 0.98f, 1f);
|
||||
text = new ImU8String(0, 1);
|
||||
text.AppendFormatted(expectedCount);
|
||||
ImGui.TextColored(in col2, text);
|
||||
ImU8String text2 = new ImU8String(0, 1);
|
||||
text2.AppendFormatted(expectedCount);
|
||||
ImGui.TextColored(in col2, text2);
|
||||
ImGui.SameLine();
|
||||
ref Vector4 col3 = ref coverageColor;
|
||||
text = new ImU8String(3, 1);
|
||||
text.AppendLiteral("(");
|
||||
text.AppendFormatted(coverage, "F0");
|
||||
text.AppendLiteral("%)");
|
||||
ImGui.TextColored(in col3, text);
|
||||
ImU8String text3 = new ImU8String(3, 1);
|
||||
text3.AppendLiteral("(");
|
||||
text3.AppendFormatted(coverage, "F0");
|
||||
text3.AppendLiteral("%)");
|
||||
ImGui.TextColored(in col3, text3);
|
||||
ImGui.Spacing();
|
||||
Vector2 cursorScreenPos = ImGui.GetCursorScreenPos();
|
||||
float x = ImGui.GetContentRegionAvail().X - 10f;
|
||||
|
|
@ -536,10 +536,10 @@ internal sealed class QuestSequenceComponent
|
|||
{
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, new Vector4(0.98f, 0.98f, 1f, 1f)))
|
||||
{
|
||||
strId = new ImU8String(9, 1);
|
||||
strId.AppendLiteral("Sequence ");
|
||||
strId.AppendFormatted(sequenceId);
|
||||
ImGui.Text(strId);
|
||||
ImU8String text2 = new ImU8String(9, 1);
|
||||
text2.AppendLiteral("Sequence ");
|
||||
text2.AppendFormatted(sequenceId);
|
||||
ImGui.Text(text2);
|
||||
}
|
||||
ImGui.Separator();
|
||||
if (flag2 && sequenceDetails.TryGetValue(sequenceId, out (int, string) value))
|
||||
|
|
@ -551,14 +551,14 @@ internal sealed class QuestSequenceComponent
|
|||
ImGui.TextColored(new Vector4(0.5f, 1f, 0.6f, 1f), "Implemented");
|
||||
ImGui.Spacing();
|
||||
Vector4 col = new Vector4(0.9f, 0.9f, 0.98f, 1f);
|
||||
strId = new ImU8String(6, 0);
|
||||
strId.AppendLiteral("Steps:");
|
||||
ImGui.TextColored(in col, strId);
|
||||
ImU8String text3 = new ImU8String(6, 0);
|
||||
text3.AppendLiteral("Steps:");
|
||||
ImGui.TextColored(in col, text3);
|
||||
ImGui.SameLine();
|
||||
col = new Vector4(0.7f, 0.9f, 1f, 1f);
|
||||
strId = new ImU8String(0, 1);
|
||||
strId.AppendFormatted(value.Item1);
|
||||
ImGui.TextColored(in col, strId);
|
||||
ImU8String text4 = new ImU8String(0, 1);
|
||||
text4.AppendFormatted(value.Item1);
|
||||
ImGui.TextColored(in col, text4);
|
||||
if (!string.IsNullOrEmpty(value.Item2))
|
||||
{
|
||||
ImGui.Separator();
|
||||
|
|
|
|||
|
|
@ -78,17 +78,17 @@ internal sealed class QuestTooltipComponent
|
|||
}
|
||||
if (quest.Root.Author.Count == 1)
|
||||
{
|
||||
text = new ImU8String(8, 1);
|
||||
text.AppendLiteral("Author: ");
|
||||
text.AppendFormatted(quest.Root.Author[0]);
|
||||
ImGui.Text(text);
|
||||
ImU8String text3 = new ImU8String(8, 1);
|
||||
text3.AppendLiteral("Author: ");
|
||||
text3.AppendFormatted(quest.Root.Author[0]);
|
||||
ImGui.Text(text3);
|
||||
}
|
||||
else
|
||||
{
|
||||
text = new ImU8String(9, 1);
|
||||
text.AppendLiteral("Authors: ");
|
||||
text.AppendFormatted(string.Join(", ", quest.Root.Author));
|
||||
ImGui.Text(text);
|
||||
ImU8String text4 = new ImU8String(9, 1);
|
||||
text4.AppendLiteral("Authors: ");
|
||||
text4.AppendFormatted(string.Join(", ", quest.Root.Author));
|
||||
ImGui.Text(text4);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -57,10 +57,10 @@ internal sealed class QuestValidationComponent
|
|||
ImGui.SameLine();
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed))
|
||||
{
|
||||
text = new ImU8String(7, 1);
|
||||
text.AppendFormatted(errorCount);
|
||||
text.AppendLiteral(" errors");
|
||||
ImGui.Text(text);
|
||||
ImU8String text2 = new ImU8String(7, 1);
|
||||
text2.AppendFormatted(errorCount);
|
||||
text2.AppendLiteral(" errors");
|
||||
ImGui.Text(text2);
|
||||
}
|
||||
}
|
||||
if (num > 0)
|
||||
|
|
@ -70,11 +70,11 @@ internal sealed class QuestValidationComponent
|
|||
ImGui.SameLine();
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudOrange))
|
||||
{
|
||||
text = new ImU8String(12, 1);
|
||||
text.AppendLiteral(", ");
|
||||
text.AppendFormatted(num);
|
||||
text.AppendLiteral(" warnings)");
|
||||
ImGui.Text(text);
|
||||
ImU8String text3 = new ImU8String(12, 1);
|
||||
text3.AppendLiteral(", ");
|
||||
text3.AppendFormatted(num);
|
||||
text3.AppendLiteral(" warnings)");
|
||||
ImGui.Text(text3);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -83,10 +83,10 @@ internal sealed class QuestValidationComponent
|
|||
ImGui.SameLine();
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudOrange))
|
||||
{
|
||||
text = new ImU8String(10, 1);
|
||||
text.AppendFormatted(num);
|
||||
text.AppendLiteral(" warnings)");
|
||||
ImGui.Text(text);
|
||||
ImU8String text4 = new ImU8String(10, 1);
|
||||
text4.AppendFormatted(num);
|
||||
text4.AppendLiteral(" warnings)");
|
||||
ImGui.Text(text4);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -133,33 +133,33 @@ internal sealed class ValidationDetailsRenderer
|
|||
if (issue.ElementId != null)
|
||||
{
|
||||
IQuestInfo questInfo = _questData.GetQuestInfo(issue.ElementId);
|
||||
ImU8String text = new ImU8String(10, 2);
|
||||
text.AppendLiteral("Quest: ");
|
||||
text.AppendFormatted(issue.ElementId);
|
||||
text.AppendLiteral(" - ");
|
||||
text.AppendFormatted(questInfo.Name);
|
||||
ImGui.Text(text);
|
||||
ImU8String text2 = new ImU8String(10, 2);
|
||||
text2.AppendLiteral("Quest: ");
|
||||
text2.AppendFormatted(issue.ElementId);
|
||||
text2.AppendLiteral(" - ");
|
||||
text2.AppendFormatted(questInfo.Name);
|
||||
ImGui.Text(text2);
|
||||
}
|
||||
else if (issue.AlliedSociety != EAlliedSociety.None)
|
||||
{
|
||||
ImU8String text = new ImU8String(16, 1);
|
||||
text.AppendLiteral("Allied Society: ");
|
||||
text.AppendFormatted(issue.AlliedSociety);
|
||||
ImGui.Text(text);
|
||||
ImU8String text3 = new ImU8String(16, 1);
|
||||
text3.AppendLiteral("Allied Society: ");
|
||||
text3.AppendFormatted(issue.AlliedSociety);
|
||||
ImGui.Text(text3);
|
||||
}
|
||||
if (issue.Sequence.HasValue)
|
||||
{
|
||||
ImU8String text = new ImU8String(10, 1);
|
||||
text.AppendLiteral("Sequence: ");
|
||||
text.AppendFormatted(issue.Sequence);
|
||||
ImGui.Text(text);
|
||||
ImU8String text4 = new ImU8String(10, 1);
|
||||
text4.AppendLiteral("Sequence: ");
|
||||
text4.AppendFormatted(issue.Sequence);
|
||||
ImGui.Text(text4);
|
||||
}
|
||||
if (issue.Step.HasValue)
|
||||
{
|
||||
ImU8String text = new ImU8String(6, 1);
|
||||
text.AppendLiteral("Step: ");
|
||||
text.AppendFormatted(issue.Step);
|
||||
ImGui.Text(text);
|
||||
ImU8String text5 = new ImU8String(6, 1);
|
||||
text5.AppendLiteral("Step: ");
|
||||
text5.AppendFormatted(issue.Step);
|
||||
ImGui.Text(text5);
|
||||
}
|
||||
ImGui.Separator();
|
||||
ImGui.Text("Description:");
|
||||
|
|
@ -270,19 +270,19 @@ internal sealed class ValidationDetailsRenderer
|
|||
}
|
||||
catch
|
||||
{
|
||||
ImU8String text = new ImU8String(18, 1);
|
||||
text.AppendLiteral("\ufffd ");
|
||||
text.AppendFormatted(value);
|
||||
text.AppendLiteral(" (unknown quest)");
|
||||
ImGui.TextWrapped(text);
|
||||
ImU8String text2 = new ImU8String(18, 1);
|
||||
text2.AppendLiteral("\ufffd ");
|
||||
text2.AppendFormatted(value);
|
||||
text2.AppendLiteral(" (unknown quest)");
|
||||
ImGui.TextWrapped(text2);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ImU8String text = new ImU8String(2, 1);
|
||||
text.AppendLiteral("\ufffd ");
|
||||
text.AppendFormatted(value);
|
||||
ImGui.TextWrapped(text);
|
||||
ImU8String text3 = new ImU8String(2, 1);
|
||||
text3.AppendLiteral("\ufffd ");
|
||||
text3.AppendFormatted(value);
|
||||
ImGui.TextWrapped(text3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -351,10 +351,10 @@ internal sealed class ValidationDetailsRenderer
|
|||
{
|
||||
text2 = "JSON schema validation failed - check that all properties match the expected format and values";
|
||||
}
|
||||
ImU8String text = new ImU8String(2, 1);
|
||||
text.AppendLiteral("\ufffd ");
|
||||
text.AppendFormatted(text2);
|
||||
ImGui.TextWrapped(text);
|
||||
ImU8String text3 = new ImU8String(2, 1);
|
||||
text3.AppendLiteral("\ufffd ");
|
||||
text3.AppendFormatted(text2);
|
||||
ImGui.TextWrapped(text3);
|
||||
ImGui.Unindent(12f);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue