1
0
Fork 0
forked from aly/qstbak

muffin v7.4

This commit is contained in:
alydev 2025-12-18 00:49:57 +10:00
parent 8a7847ff37
commit a4175abacd
54 changed files with 95984 additions and 123967 deletions

View file

@ -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);
}
}