muffin v7.5.11
This commit is contained in:
parent
addf2d530f
commit
3102923ce2
522 changed files with 41082 additions and 211592 deletions
|
|
@ -1,11 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Dalamud.Bindings.ImGui;
|
||||
using Dalamud.Interface;
|
||||
using Dalamud.Interface.Colors;
|
||||
using Dalamud.Interface.ManagedFontAtlas;
|
||||
using Dalamud.Interface.Utility.Raii;
|
||||
using Dalamud.Plugin;
|
||||
using Questionable.Data;
|
||||
|
|
@ -42,831 +40,211 @@ internal sealed class QuestValidationComponent
|
|||
_detailsRenderer.DrawDetailWindows();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private void DrawSummaryHeader()
|
||||
{
|
||||
int issueCount = _questValidator.IssueCount;
|
||||
int errorCount = _questValidator.ErrorCount;
|
||||
int num = errorCount;
|
||||
int num2 = issueCount;
|
||||
int num3 = ~(~num2 + num);
|
||||
ImU8String imU8String = new ImU8String(33, 1);
|
||||
imU8String.AppendLiteral(global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(1785884238));
|
||||
imU8String.AppendFormatted(issueCount);
|
||||
imU8String.AppendLiteral(global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-1740500055));
|
||||
_206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E(imU8String);
|
||||
int num4;
|
||||
int num = issueCount - errorCount;
|
||||
ImU8String text = new ImU8String(33, 1);
|
||||
text.AppendLiteral("Validation Results: ");
|
||||
text.AppendFormatted(issueCount);
|
||||
text.AppendLiteral(" total issues");
|
||||
ImGui.Text(text);
|
||||
if (errorCount > 0)
|
||||
{
|
||||
_200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E();
|
||||
_206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E((ImU8String)global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-1824588032));
|
||||
_200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E();
|
||||
ImRaii.ColorDisposable colorDisposable = _206C_200D_202C_206C_206A_202D_200C_202E_200E_206C_202D_200B_200D_200D_206C_200D_200B_202A_200F_206C_202D_206D_206B_206E_200D_202E_202D_200F_200D_202A_206E_206E_200F_202D_202D_206B_202D_206D_202D_202C_202E(ImGuiCol.Text, _200D_206D_200E_202A_202E_200E_200E_206E_202C_206B_200B_206A_206A_200C_200F_206B_206F_206D_200C_200C_200F_202A_200E_206F_200C_200C_202E_200F_206A_200E_200F_206B_206D_206B_206A_200F_206A_206D_202B_202E_202E(), true);
|
||||
try
|
||||
ImGui.SameLine();
|
||||
ImGui.Text("(");
|
||||
ImGui.SameLine();
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed))
|
||||
{
|
||||
ImU8String imU8String2 = new ImU8String(7, 1);
|
||||
imU8String2.AppendFormatted(errorCount);
|
||||
imU8String2.AppendLiteral(global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-2107933616));
|
||||
_206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E(imU8String2);
|
||||
}
|
||||
finally
|
||||
{
|
||||
num4 = ((colorDisposable == null) ? (-2130718725) : (-2130718728));
|
||||
while (true)
|
||||
{
|
||||
int num5 = num4;
|
||||
num = -2130718726;
|
||||
num2 = num5;
|
||||
int num6 = num2 + num;
|
||||
int num7 = num2 & num;
|
||||
switch (num6 - (num7 + num7))
|
||||
{
|
||||
case 1:
|
||||
goto end_IL_00e0;
|
||||
case 2:
|
||||
_200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E((IDisposable)colorDisposable);
|
||||
num4 = -2130718725;
|
||||
break;
|
||||
case 0:
|
||||
num4 = -2130718728;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_00e0:
|
||||
break;
|
||||
}
|
||||
ImU8String text2 = new ImU8String(7, 1);
|
||||
text2.AppendFormatted(errorCount);
|
||||
text2.AppendLiteral(" errors");
|
||||
ImGui.Text(text2);
|
||||
}
|
||||
}
|
||||
if (num3 > 0)
|
||||
if (num > 0)
|
||||
{
|
||||
num4 = -873679878;
|
||||
while (true)
|
||||
if (errorCount > 0)
|
||||
{
|
||||
int num8 = num4;
|
||||
num = -873679877;
|
||||
num2 = num8;
|
||||
switch ((num2 | num) - (num2 & num))
|
||||
ImGui.SameLine();
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudOrange))
|
||||
{
|
||||
case 2:
|
||||
num4 = -873679878;
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
if (errorCount > 0)
|
||||
{
|
||||
num4 = -873679877;
|
||||
break;
|
||||
}
|
||||
_200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E();
|
||||
_206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E((ImU8String)global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(1721352497));
|
||||
_200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E();
|
||||
ImRaii.ColorDisposable colorDisposable3 = _206C_200D_202C_206C_206A_202D_200C_202E_200E_206C_202D_200B_200D_200D_206C_200D_200B_202A_200F_206C_202D_206D_206B_206E_200D_202E_202D_200F_200D_202A_206E_206E_200F_202D_202D_206B_202D_206D_202D_202C_202E(ImGuiCol.Text, _206F_200F_200F_206F_206E_206E_206D_206A_200C_206A_206B_206D_202D_200D_200B_200E_206F_200F_206A_206D_206F_206C_202C_206C_200F_202B_202A_206E_206B_206B_200B_206D_206F_206C_202C_200C_202C_202C_202A_206F_202E(), true);
|
||||
try
|
||||
{
|
||||
ImU8String imU8String4 = new ImU8String(10, 1);
|
||||
imU8String4.AppendFormatted(num3);
|
||||
imU8String4.AppendLiteral(global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-1325629129));
|
||||
_206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E(imU8String4);
|
||||
return;
|
||||
}
|
||||
finally
|
||||
{
|
||||
num4 = ((colorDisposable3 == null) ? 1602354495 : 1602354492);
|
||||
while (true)
|
||||
{
|
||||
int num12 = num4;
|
||||
num = 1602354494;
|
||||
num2 = num12;
|
||||
switch ((num2 | num) - (num2 & num))
|
||||
{
|
||||
case 0:
|
||||
num4 = 1602354492;
|
||||
break;
|
||||
case 2:
|
||||
_200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E((IDisposable)colorDisposable3);
|
||||
num4 = 1602354495;
|
||||
break;
|
||||
case 1:
|
||||
goto end_IL_02c6;
|
||||
}
|
||||
continue;
|
||||
end_IL_02c6:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
case 0:
|
||||
{
|
||||
_200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E();
|
||||
ImRaii.ColorDisposable colorDisposable2 = _206C_200D_202C_206C_206A_202D_200C_202E_200E_206C_202D_200B_200D_200D_206C_200D_200B_202A_200F_206C_202D_206D_206B_206E_200D_202E_202D_200F_200D_202A_206E_206E_200F_202D_202D_206B_202D_206D_202D_202C_202E(ImGuiCol.Text, _206F_200F_200F_206F_206E_206E_206D_206A_200C_206A_206B_206D_202D_200D_200B_200E_206F_200F_206A_206D_206F_206C_202C_206C_200F_202B_202A_206E_206B_206B_200B_206D_206F_206C_202C_200C_202C_202C_202A_206F_202E(), true);
|
||||
try
|
||||
{
|
||||
ImU8String imU8String3 = new ImU8String(12, 1);
|
||||
imU8String3.AppendLiteral(global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(1467939024));
|
||||
imU8String3.AppendFormatted(num3);
|
||||
imU8String3.AppendLiteral(global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-1407765195));
|
||||
_206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E(imU8String3);
|
||||
return;
|
||||
}
|
||||
finally
|
||||
{
|
||||
num4 = ((colorDisposable2 == null) ? 1360165335 : 1360165332);
|
||||
while (true)
|
||||
{
|
||||
int num9 = num4;
|
||||
num = 1360165334;
|
||||
num2 = num9;
|
||||
int num10 = num2 + num;
|
||||
int num11 = num2 & num;
|
||||
switch (num10 - (num11 + num11))
|
||||
{
|
||||
case 1:
|
||||
goto end_IL_01fe;
|
||||
case 2:
|
||||
_200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E((IDisposable)colorDisposable2);
|
||||
num4 = 1360165335;
|
||||
break;
|
||||
case 0:
|
||||
num4 = 1360165332;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_01fe:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
ImU8String text3 = new ImU8String(12, 1);
|
||||
text3.AppendLiteral(", ");
|
||||
text3.AppendFormatted(num);
|
||||
text3.AppendLiteral(" warnings)");
|
||||
ImGui.Text(text3);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
num4 = ((errorCount <= 0) ? (-1281785323) : (-1281785324));
|
||||
while (true)
|
||||
{
|
||||
int num13 = num4;
|
||||
num = -1281785323;
|
||||
num2 = num13;
|
||||
int num14 = num2 + num;
|
||||
int num15 = num2 & num;
|
||||
switch (num14 - (num15 + num15))
|
||||
ImGui.SameLine();
|
||||
ImGui.Text("(");
|
||||
ImGui.SameLine();
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudOrange))
|
||||
{
|
||||
case 2:
|
||||
num4 = -1281785324;
|
||||
break;
|
||||
case 1:
|
||||
_200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E();
|
||||
_206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E((ImU8String)global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(1735737295));
|
||||
num4 = -1281785323;
|
||||
break;
|
||||
case 0:
|
||||
ImU8String text4 = new ImU8String(10, 1);
|
||||
text4.AppendFormatted(num);
|
||||
text4.AppendLiteral(" warnings)");
|
||||
ImGui.Text(text4);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (errorCount > 0)
|
||||
{
|
||||
ImGui.SameLine();
|
||||
ImGui.Text(")");
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private void DrawValidationTable()
|
||||
{
|
||||
using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable(global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(1097395556), 5, ImGuiTableFlags.ScrollX | ImGuiTableFlags.ScrollY);
|
||||
int num = ((!(!tableDisposable)) ? 567364098 : 567364102);
|
||||
int num7 = default(int);
|
||||
IReadOnlyList<ValidationIssue> issues = default(IReadOnlyList<ValidationIssue>);
|
||||
while (true)
|
||||
using ImRaii.TableDisposable tableDisposable = UiThemeUtils.BeginThemedTable("ValidationIssues", 5, ImGuiTableFlags.ScrollX | ImGuiTableFlags.ScrollY);
|
||||
if (!(!tableDisposable))
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 567364103;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
ImGui.TableSetupColumn("Type", ImGuiTableColumnFlags.WidthFixed, 50f);
|
||||
ImGui.TableSetupColumn("ID", ImGuiTableColumnFlags.WidthFixed, 60f);
|
||||
ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.WidthFixed, 250f);
|
||||
ImGui.TableSetupColumn("Location", ImGuiTableColumnFlags.WidthFixed, 100f);
|
||||
ImGui.TableSetupColumn("Issue", ImGuiTableColumnFlags.WidthStretch);
|
||||
ImGui.TableHeadersRow();
|
||||
IReadOnlyList<ValidationIssue> issues = _questValidator.Issues;
|
||||
for (int i = 0; i < issues.Count; i++)
|
||||
{
|
||||
case 4:
|
||||
num = 567364102;
|
||||
break;
|
||||
case 0:
|
||||
num = ((num7 < issues.Count) ? 567364100 : 567364101);
|
||||
break;
|
||||
case 5:
|
||||
_206B_202B_206B_206D_206F_206F_206A_200F_206F_206E_206C_206E_206A_200E_206A_200C_206B_206F_206D_200F_206A_206D_200D_202C_206C_202B_202E_202E_206B_200F_200F_200C_206A_202B_202C_206D_206A_200D_206C_202E_202E((ImU8String)global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(692740068), ImGuiTableColumnFlags.WidthFixed, 50f, 0u);
|
||||
_206B_202B_206B_206D_206F_206F_206A_200F_206F_206E_206C_206E_206A_200E_206A_200C_206B_206F_206D_200F_206A_206D_200D_202C_206C_202B_202E_202E_206B_200F_200F_200C_206A_202B_202C_206D_206A_200D_206C_202E_202E((ImU8String)global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(-1492687959), ImGuiTableColumnFlags.WidthFixed, 60f, 0u);
|
||||
_206B_202B_206B_206D_206F_206F_206A_200F_206F_206E_206C_206E_206A_200E_206A_200C_206B_206F_206D_200F_206A_206D_200D_202C_206C_202B_202E_202E_206B_200F_200F_200C_206A_202B_202C_206D_206A_200D_206C_202E_202E((ImU8String)global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(295817554), ImGuiTableColumnFlags.WidthFixed, 250f, 0u);
|
||||
_206B_202B_206B_206D_206F_206F_206A_200F_206F_206E_206C_206E_206A_200E_206A_200C_206B_206F_206D_200F_206A_206D_200D_202C_206C_202B_202E_202E_206B_200F_200F_200C_206A_202B_202C_206D_206A_200D_206C_202E_202E((ImU8String)global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(-1394332433), ImGuiTableColumnFlags.WidthFixed, 100f, 0u);
|
||||
_206B_202B_206B_206D_206F_206F_206A_200F_206F_206E_206C_206E_206A_200E_206A_200C_206B_206F_206D_200F_206A_206D_200D_202C_206C_202B_202E_202E_206B_200F_200F_200C_206A_202B_202C_206D_206A_200D_206C_202E_202E((ImU8String)global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(-124440889), ImGuiTableColumnFlags.WidthStretch, 0f, 0u);
|
||||
_202D_206B_202E_202A_206F_202A_206E_200E_200C_200B_206B_206C_202C_202C_206F_206F_202D_206D_202A_202B_202A_202E_202A_206E_202A_206D_200F_206F_206D_206F_202A_200B_206A_206E_206A_200E_206B_200E_206F_202B_202E();
|
||||
issues = _questValidator.Issues;
|
||||
num7 = 0;
|
||||
num = 567364103;
|
||||
break;
|
||||
case 1:
|
||||
return;
|
||||
case 3:
|
||||
{
|
||||
DrawValidationRow(issues[num7], num7);
|
||||
int num8 = num7;
|
||||
num3 = 1;
|
||||
num4 = num8;
|
||||
int num9 = num4 ^ num3;
|
||||
int num10 = num4 & num3;
|
||||
num7 = num9 + (num10 + num10);
|
||||
num = 567364103;
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
return;
|
||||
DrawValidationRow(issues[i], i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private void DrawValidationRow(ValidationIssue issue, int index)
|
||||
{
|
||||
//Discarded unreachable code: IL_021d
|
||||
_202E_200C_200C_206D_202E_200E_200B_200D_206C_202D_200C_200E_200D_206D_200B_206B_206C_200C_200C_202A_200B_200D_206D_206C_206E_200B_200C_202E_206A_202D_202D_206C_202B_206A_202D_206C_200E_200E_202B_206D_202E();
|
||||
int num = ((!_206F_200E_200B_200E_206F_206C_200D_202D_206C_202E_200D_202A_200C_202E_200B_206B_202B_202C_200B_206F_206B_200C_206F_202B_206D_200D_206A_200F_200C_206A_202B_206E_206B_200E_206A_202A_206D_206E_206A_202E_202E()) ? (-578343204) : (-578343209));
|
||||
string text = default(string);
|
||||
ElementId elementId = default(ElementId);
|
||||
string text2 = default(string);
|
||||
while (true)
|
||||
ImGui.TableNextRow();
|
||||
if (ImGui.TableNextColumn())
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -578343207;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
ImRaii.ColorDisposable colorDisposable;
|
||||
switch (num5 - (num6 + num6))
|
||||
ImGui.TextUnformatted(issue.PathType switch
|
||||
{
|
||||
default:
|
||||
continue;
|
||||
case 11:
|
||||
_200B_202C_200E_206A_206C_206A_206B_206B_200C_200C_202C_202C_200C_202C_200D_202C_206C_202E_202D_206F_206E_200E_200C_200F_206A_206B_202E_206D_200F_200C_200E_200C_206D_206E_200B_206B_200B_206F_200D_206B_202E((ImU8String)(issue.Id ?? string.Empty));
|
||||
num = -578343215;
|
||||
continue;
|
||||
case 1:
|
||||
num = -578343201;
|
||||
continue;
|
||||
case 4:
|
||||
text = global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-649277638);
|
||||
num = -578343206;
|
||||
continue;
|
||||
case 0:
|
||||
num = -578343209;
|
||||
continue;
|
||||
case 13:
|
||||
if (_202A_206C_206F_200C_200B_206A_206E_200D_200C_202C_202D_200D_200C_200D_200E_206E_206B_202C_206A_206B_202A_206C_202C_202D_202A_202D_206E_200E_206E_202B_200D_206F_206D_200D_202B_206C_206A_206E_202E(elementId, (ElementId)null))
|
||||
{
|
||||
goto IL_00ed;
|
||||
}
|
||||
goto IL_0242;
|
||||
case 12:
|
||||
goto IL_00ed;
|
||||
case 2:
|
||||
if (issue.Id != null)
|
||||
{
|
||||
num = -578343213;
|
||||
continue;
|
||||
}
|
||||
goto IL_024e;
|
||||
case 15:
|
||||
goto IL_011b;
|
||||
case 10:
|
||||
if (_200E_200D_202C_202D_200B_200F_206F_202E_200F_202D_206C_206A_202B_206C_202D_202D_202B_200B_202B_200B_200D_202B_200D_206F_202B_206E_202B_200F_200B_202C_200E_202C_200D_202D_206D_200D_202B_206C_206B_202E(issue.Id, ref elementId))
|
||||
{
|
||||
num = -578343212;
|
||||
continue;
|
||||
}
|
||||
goto IL_0242;
|
||||
case 6:
|
||||
text = issue.PathType.ToString();
|
||||
num = -578343206;
|
||||
continue;
|
||||
case 3:
|
||||
_200B_202C_200E_206A_206C_206A_206B_206B_200C_200C_202C_202C_200C_202C_200D_202C_206C_202E_202D_206F_206E_200E_200C_200F_206A_206B_202E_206D_200F_200C_200E_200C_206D_206E_200B_206B_200B_206F_200D_206B_202E((ImU8String)text);
|
||||
num = -578343204;
|
||||
continue;
|
||||
case 5:
|
||||
num = ((!_206F_200E_200B_200E_206F_206C_200D_202D_206C_202E_200D_202A_200C_202E_200B_206B_202B_202C_200B_206F_206B_200C_206F_202B_206D_200D_206A_200F_200C_206A_202B_206E_206B_200E_206A_202A_206D_206E_206A_202E_202E()) ? (-578343215) : (-578343214));
|
||||
continue;
|
||||
case 9:
|
||||
text2 = string.Empty;
|
||||
if (issue.PathType == EPathType.Quest)
|
||||
{
|
||||
num = -578343205;
|
||||
continue;
|
||||
}
|
||||
goto IL_024e;
|
||||
case 8:
|
||||
if (_206F_200E_200B_200E_206F_206C_200D_202D_206C_202E_200D_202A_200C_202E_200B_206B_202B_202C_200B_206F_206B_200C_206F_202B_206D_200D_206A_200F_200C_206A_202B_206E_206B_200E_206A_202A_206D_206E_206A_202E_202E())
|
||||
{
|
||||
num = -578343216;
|
||||
continue;
|
||||
}
|
||||
goto IL_02e1;
|
||||
case 7:
|
||||
goto IL_01dd;
|
||||
case 14:
|
||||
{
|
||||
switch (issue.PathType)
|
||||
{
|
||||
case EPathType.Fate:
|
||||
break;
|
||||
case EPathType.SeasonalDuty:
|
||||
goto IL_00ed;
|
||||
case EPathType.Gathering:
|
||||
goto IL_011b;
|
||||
case EPathType.Quest:
|
||||
goto IL_01dd;
|
||||
default:
|
||||
goto IL_0211;
|
||||
}
|
||||
goto case 4;
|
||||
}
|
||||
IL_0211:
|
||||
num = -578343208;
|
||||
continue;
|
||||
IL_01dd:
|
||||
text = global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(-410528250);
|
||||
num = -578343206;
|
||||
continue;
|
||||
IL_026c:
|
||||
while (true)
|
||||
{
|
||||
int num7 = num;
|
||||
num3 = -830017682;
|
||||
num4 = num7;
|
||||
int num8 = num4 + num3;
|
||||
int num9 = num4 & num3;
|
||||
switch (num8 - (num9 + num9))
|
||||
{
|
||||
case 0:
|
||||
num = -830017681;
|
||||
break;
|
||||
case 3:
|
||||
goto IL_02ae;
|
||||
case 1:
|
||||
goto end_IL_026c;
|
||||
case 4:
|
||||
goto IL_02f7;
|
||||
case 2:
|
||||
goto IL_0318;
|
||||
}
|
||||
continue;
|
||||
IL_02ae:
|
||||
num = (_200E_202C_206A_206C_206F_202B_206A_200D_200F_206C_206A_200C_200D_202D_202D_206E_206A_206C_202C_206B_206E_206C_206E_200C_202E_200E_200C_200F_206E_206A_206A_202E_206B_202B_206C_206F_202C_200F_200F_200C_202E(issue.Location) ? (-830017684) : (-830017686));
|
||||
continue;
|
||||
end_IL_026c:
|
||||
break;
|
||||
}
|
||||
goto IL_02d6;
|
||||
IL_0318:
|
||||
colorDisposable = _206C_200D_202C_206C_206A_202D_200C_202E_200E_206C_202D_200B_200D_200D_206C_200D_200B_202A_200F_206C_202D_206D_206B_206E_200D_202E_202D_200F_200D_202A_206E_206E_200F_202D_202D_206B_202D_206D_202D_202C_202E(ImGuiCol.Text, _202D_206E_200B_200F_200B_200D_202D_206D_202E_206C_202B_206B_202D_202B_202B_202C_200C_206F_206E_202C_206D_200F_202E_206F_206D_206A_206B_200C_200F_206F_200E_206E_202E_202C_202B_206B_206F_200D_206D_200C_202E(), true);
|
||||
try
|
||||
{
|
||||
_200B_202C_200E_206A_206C_206A_206B_206B_200C_200C_202C_202C_200C_202C_200D_202C_206C_202E_202D_206F_206E_200E_200C_200F_206A_206B_202E_206D_200F_200C_200E_200C_206D_206E_200B_206B_200B_206F_200D_206B_202E((ImU8String)global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(792471175));
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((colorDisposable == null) ? (-706347734) : (-706347735));
|
||||
while (true)
|
||||
{
|
||||
int num10 = num;
|
||||
num3 = -706347736;
|
||||
num4 = num10;
|
||||
int num11 = num4 + num3;
|
||||
int num12 = num4 & num3;
|
||||
switch (num11 - (num12 + num12))
|
||||
{
|
||||
case 0:
|
||||
num = -706347735;
|
||||
break;
|
||||
case 2:
|
||||
goto end_IL_035e;
|
||||
case 1:
|
||||
_200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E((IDisposable)colorDisposable);
|
||||
num = -706347734;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_035e:
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
IL_02f7:
|
||||
_200B_202C_200E_206A_206C_206A_206B_206B_200C_200C_202C_202C_200C_202C_200D_202C_206C_202E_202D_206F_206E_200E_200C_200F_206A_206B_202E_206D_200F_200C_200E_200C_206D_206E_200B_206B_200B_206F_200D_206B_202E((ImU8String)issue.Location);
|
||||
break;
|
||||
IL_011b:
|
||||
text = global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(2056899084);
|
||||
num = -578343206;
|
||||
continue;
|
||||
IL_024e:
|
||||
if (issue.Id != null)
|
||||
{
|
||||
text2 = issue.Id;
|
||||
num = -830017681;
|
||||
goto IL_026c;
|
||||
}
|
||||
goto IL_02d6;
|
||||
IL_00ed:
|
||||
text = global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-101385123);
|
||||
num = -578343206;
|
||||
continue;
|
||||
IL_0242:
|
||||
text2 = issue.Id;
|
||||
goto IL_02d6;
|
||||
IL_02d6:
|
||||
UiThemeUtils.RowLabel(text2, 0f);
|
||||
goto IL_02e1;
|
||||
IL_02e1:
|
||||
if (!_206F_200E_200B_200E_206F_206C_200D_202D_206C_202E_200D_202A_200C_202E_200B_206B_202B_202C_200B_206F_206B_200C_206F_202B_206D_200D_206A_200F_200C_206A_202B_206E_206B_200E_206A_202A_206D_206E_206A_202E_202E())
|
||||
{
|
||||
break;
|
||||
}
|
||||
num = -830017683;
|
||||
goto IL_026c;
|
||||
}
|
||||
break;
|
||||
EPathType.Quest => "Quest",
|
||||
EPathType.Fate => "Fate",
|
||||
EPathType.Gathering => "Gather",
|
||||
EPathType.SeasonalDuty => "Duty",
|
||||
_ => issue.PathType.ToString(),
|
||||
});
|
||||
}
|
||||
num = ((!_206F_200E_200B_200E_206F_206C_200D_202D_206C_202E_200D_202A_200C_202E_200B_206B_202B_202C_200B_206F_206B_200C_206F_202B_206D_200D_206A_200F_200C_206A_202B_206E_206B_200E_206A_202A_206D_206E_206A_202E_202E()) ? (-931644371) : (-931644370));
|
||||
while (true)
|
||||
if (ImGui.TableNextColumn())
|
||||
{
|
||||
int num13 = num;
|
||||
int num3 = -931644369;
|
||||
int num4 = num13;
|
||||
int num14 = num4 + num3;
|
||||
int num15 = num4 & num3;
|
||||
switch (num14 - (num15 + num15))
|
||||
ImGui.TextUnformatted(issue.Id ?? string.Empty);
|
||||
}
|
||||
if (ImGui.TableNextColumn())
|
||||
{
|
||||
string text = string.Empty;
|
||||
if (issue.PathType == EPathType.Quest && issue.Id != null)
|
||||
{
|
||||
case 2:
|
||||
return;
|
||||
case 1:
|
||||
DrawIssueCell(issue, index);
|
||||
num = -931644371;
|
||||
break;
|
||||
case 0:
|
||||
num = -931644370;
|
||||
break;
|
||||
if (ElementId.TryFromString(issue.Id, out ElementId elementId) && elementId != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
text = _questData.GetQuestInfo(elementId).Name;
|
||||
}
|
||||
catch
|
||||
{
|
||||
text = issue.Id;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
text = issue.Id;
|
||||
}
|
||||
}
|
||||
else if (issue.Id != null)
|
||||
{
|
||||
text = issue.Id;
|
||||
}
|
||||
UiThemeUtils.RowLabel(text, 0f);
|
||||
}
|
||||
if (ImGui.TableNextColumn())
|
||||
{
|
||||
if (!string.IsNullOrEmpty(issue.Location))
|
||||
{
|
||||
ImGui.TextUnformatted(issue.Location);
|
||||
}
|
||||
else
|
||||
{
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudGrey2))
|
||||
{
|
||||
ImGui.TextUnformatted("-");
|
||||
}
|
||||
}
|
||||
}
|
||||
if (ImGui.TableNextColumn())
|
||||
{
|
||||
DrawIssueCell(issue, index);
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawIssueCell(ValidationIssue issue, int index)
|
||||
{
|
||||
EIssueSeverity severity = issue.Severity;
|
||||
int num = ((severity == EIssueSeverity.Warning) ? 617101105 : 617101108);
|
||||
Vector4 vector = default(Vector4);
|
||||
Vector4 vector2 = default(Vector4);
|
||||
FontAwesomeIcon fontAwesomeIcon2 = default(FontAwesomeIcon);
|
||||
while (true)
|
||||
Vector4 color = issue.Severity switch
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 617101105;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
EIssueSeverity.Error => ImGuiColors.DalamudRed,
|
||||
EIssueSeverity.Warning => ImGuiColors.DalamudYellow,
|
||||
_ => ImGuiColors.DalamudOrange,
|
||||
};
|
||||
FontAwesomeIcon icon = issue.Severity switch
|
||||
{
|
||||
EIssueSeverity.Error => FontAwesomeIcon.ExclamationTriangle,
|
||||
EIssueSeverity.Warning => FontAwesomeIcon.ExclamationCircle,
|
||||
_ => FontAwesomeIcon.InfoCircle,
|
||||
};
|
||||
using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push())
|
||||
{
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, color))
|
||||
{
|
||||
case 1:
|
||||
vector = vector2;
|
||||
severity = issue.Severity;
|
||||
num = ((severity == EIssueSeverity.Warning) ? 617101111 : 617101107);
|
||||
break;
|
||||
case 8:
|
||||
vector2 = _200D_206D_200E_202A_202E_200E_200E_206E_202C_206B_200B_206A_206A_200C_200F_206B_206F_206D_200C_200C_200F_202A_200E_206F_200C_200C_202E_200F_206A_200E_200F_206B_206D_206B_206A_200F_206A_206D_202B_202E_202E();
|
||||
num = 617101104;
|
||||
break;
|
||||
case 5:
|
||||
num = ((severity != EIssueSeverity.Error) ? 617101109 : 617101113);
|
||||
break;
|
||||
case 3:
|
||||
fontAwesomeIcon2 = FontAwesomeIcon.InfoCircle;
|
||||
num = 617101115;
|
||||
break;
|
||||
case 0:
|
||||
vector2 = _202E_200D_200D_200E_202B_202D_200F_206D_206A_206E_202A_206F_202A_206C_200F_200E_200C_200F_200F_206C_202A_200F_206C_206D_200C_200C_202C_206E_200E_206B_200B_200D_206C_200E_206C_206F_206D_200D_206E_202C_202E();
|
||||
num = 617101104;
|
||||
break;
|
||||
case 4:
|
||||
vector2 = _206F_200F_200F_206F_206E_206E_206D_206A_200C_206A_206B_206D_202D_200D_200B_200E_206F_200F_206A_206D_206F_206C_202C_206C_200F_202B_202A_206E_206B_206B_200B_206D_206F_206C_202C_200C_202C_202C_202A_206F_202E();
|
||||
num = 617101104;
|
||||
break;
|
||||
case 7:
|
||||
fontAwesomeIcon2 = FontAwesomeIcon.ExclamationTriangle;
|
||||
num = 617101115;
|
||||
break;
|
||||
case 6:
|
||||
fontAwesomeIcon2 = FontAwesomeIcon.ExclamationCircle;
|
||||
num = 617101115;
|
||||
break;
|
||||
case 2:
|
||||
num = ((severity != EIssueSeverity.Error) ? 617101106 : 617101110);
|
||||
break;
|
||||
case 9:
|
||||
num = 617101108;
|
||||
break;
|
||||
case 10:
|
||||
{
|
||||
FontAwesomeIcon fontAwesomeIcon = fontAwesomeIcon2;
|
||||
IDisposable disposable = _206C_202D_206B_200F_202C_202C_200D_206E_202A_202E_202C_200C_202B_200C_202E_206C_200F_200D_206B_200B_206D_206E_200B_200C_206D_206A_202A_200D_200E_206F_206E_202B_206F_206C_206A_206A_202A_202D_202B_202E_202E(_200B_202E_206E_206B_200D_200B_200D_200F_206C_206B_202C_206A_202B_206F_206C_202D_206B_206A_200D_200E_200D_202B_200B_202A_200C_200D_200C_206C_200B_200B_200D_206D_200F_200D_206E_206F_202C_206E_206D_202D_202E(_200B_200E_206A_202C_200D_200F_202E_202D_202C_202D_200E_200B_200F_206F_206E_200F_202D_200C_202D_202A_206E_206C_206A_206A_206C_206B_206D_202C_202D_202A_202D_200B_202C_200D_206D_200C_206B_206E_202C_206C_202E(_pluginInterface)));
|
||||
try
|
||||
{
|
||||
ImRaii.ColorDisposable colorDisposable = _206C_200D_202C_206C_206A_202D_200C_202E_200E_206C_202D_200B_200D_200D_206C_200D_200B_202A_200F_206C_202D_206D_206B_206E_200D_202E_202D_200F_200D_202A_206E_206E_200F_202D_202D_206B_202D_206D_202D_202C_202E(ImGuiCol.Text, vector, true);
|
||||
try
|
||||
{
|
||||
_200B_202C_200E_206A_206C_206A_206B_206B_200C_200C_202C_202C_200C_202C_200D_202C_206C_202E_202D_206F_206E_200E_200C_200F_206A_206B_202E_206D_200F_200C_200E_200C_206D_206E_200B_206B_200B_206F_200D_206B_202E((ImU8String)_202C_202A_202A_206A_202B_206B_202E_206F_202C_202D_206A_200D_206E_206E_202B_202A_200B_206D_206A_206A_206B_202C_206F_206D_202A_206B_200E_206F_200F_206C_200B_200B_202D_200B_202A_202B_200C_202E_206B_202B_202E(fontAwesomeIcon));
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((colorDisposable == null) ? 1791003591 : 1791003588);
|
||||
while (true)
|
||||
{
|
||||
int num7 = num;
|
||||
num3 = 1791003590;
|
||||
num4 = num7;
|
||||
int num8 = num4 + num3;
|
||||
int num9 = num4 & num3;
|
||||
switch (num8 - (num9 + num9))
|
||||
{
|
||||
case 0:
|
||||
num = 1791003588;
|
||||
break;
|
||||
case 1:
|
||||
goto end_IL_01b3;
|
||||
case 2:
|
||||
_200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E((IDisposable)colorDisposable);
|
||||
num = 1791003591;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_01b3:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((disposable == null) ? 109458007 : 109458006);
|
||||
while (true)
|
||||
{
|
||||
int num10 = num;
|
||||
num3 = 109458007;
|
||||
num4 = num10;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 2:
|
||||
num = 109458006;
|
||||
break;
|
||||
case 0:
|
||||
goto end_IL_0220;
|
||||
case 1:
|
||||
_200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E(disposable);
|
||||
num = 109458007;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_0220:
|
||||
break;
|
||||
}
|
||||
}
|
||||
_200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E();
|
||||
string issueSummary = GetIssueSummary(issue);
|
||||
ImRaii.ColorDisposable colorDisposable2 = _206C_200D_202C_206C_206A_202D_200C_202E_200E_206C_202D_200B_200D_200D_206C_200D_200B_202A_200F_206C_202D_206D_206B_206E_200D_202E_202D_200F_200D_202A_206E_206E_200F_202D_202D_206B_202D_206D_202D_202C_202E(ImGuiCol.Text, vector, true);
|
||||
try
|
||||
{
|
||||
_206B_202B_200C_202A_206D_202C_202E_202D_206D_200C_206D_206B_202E_200D_200E_200B_202E_202C_200C_202B_202C_206A_206E_202C_200D_200E_200B_206F_200D_206A_200F_206C_206E_200F_206F_200E_206D_200D_200F_206C_202E((ImU8String)issueSummary);
|
||||
return;
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((colorDisposable2 == null) ? 1692882972 : 1692882975);
|
||||
while (true)
|
||||
{
|
||||
int num11 = num;
|
||||
num3 = 1692882973;
|
||||
num4 = num11;
|
||||
int num12 = num4 + num3;
|
||||
int num13 = num4 & num3;
|
||||
switch (num12 - (num13 + num13))
|
||||
{
|
||||
case 0:
|
||||
num = 1692882975;
|
||||
break;
|
||||
case 2:
|
||||
_200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E((IDisposable)colorDisposable2);
|
||||
num = 1692882972;
|
||||
break;
|
||||
case 1:
|
||||
goto end_IL_02b1;
|
||||
}
|
||||
continue;
|
||||
end_IL_02b1:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
ImGui.TextUnformatted(icon.ToIconString());
|
||||
}
|
||||
}
|
||||
ImGui.SameLine();
|
||||
string issueSummary = GetIssueSummary(issue);
|
||||
using (ImRaii.PushColor(ImGuiCol.Text, color))
|
||||
{
|
||||
ImGui.TextWrapped(issueSummary);
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private static string GetIssueSummary(ValidationIssue issue)
|
||||
{
|
||||
string text = issue.Description ?? string.Empty;
|
||||
int num = ((issue.Type != EIssueType.QuestDisabled) ? (-1073159502) : (-1073159503));
|
||||
string[] array2 = default(string[]);
|
||||
string[] array = default(string[]);
|
||||
while (true)
|
||||
if (issue.Type == EIssueType.QuestDisabled && issue.Id == null)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1073159499;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
string[] array = text.Split(':', 2);
|
||||
if (array.Length == 0)
|
||||
{
|
||||
case 3:
|
||||
array2 = _206B_200D_200F_206D_202A_202A_202D_202C_202C_200E_206E_200E_202E_202B_206F_200C_200D_200F_202A_206C_202B_200F_202D_206E_200B_206C_206A_200D_206E_202B_206D_200C_206A_202B_202C_206B_202B_202A_206A_202E_202E(text, ':', 2, StringSplitOptions.None);
|
||||
num = ((array2.Length != 0) ? (-1073159497) : (-1073159500));
|
||||
break;
|
||||
case 0:
|
||||
num = ((array.Length > 1) ? (-1073159504) : (-1073159491));
|
||||
break;
|
||||
case 2:
|
||||
return array2[0];
|
||||
case 8:
|
||||
return array[0];
|
||||
case 1:
|
||||
return text;
|
||||
case 5:
|
||||
return _202B_202B_200F_200B_206F_200B_200E_202D_202A_206A_202B_200B_202B_206B_206F_202C_200F_200D_206D_200D_200D_202E_200F_206C_202D_206F_200C_200C_200F_202A_200F_200F_202D_200E_206F_200E_206E_206D_200D_200D_202E(array[0], global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(799152405));
|
||||
case 7:
|
||||
array = _206B_200D_200F_206D_202A_202A_202D_202C_202C_200E_206E_200E_202E_202B_206F_200C_200D_200F_202A_206C_202B_200F_202D_206E_200B_206C_206A_200D_206E_202B_206D_200C_206A_202B_202C_206B_202B_202A_206A_202E_202E(text, '\n', 2, StringSplitOptions.RemoveEmptyEntries);
|
||||
num = ((array.Length != 0) ? (-1073159499) : (-1073159501));
|
||||
break;
|
||||
case 4:
|
||||
num = ((issue.Id != null) ? (-1073159502) : (-1073159498));
|
||||
break;
|
||||
case 9:
|
||||
num = -1073159503;
|
||||
break;
|
||||
case 6:
|
||||
return text;
|
||||
}
|
||||
return array[0];
|
||||
}
|
||||
string[] array2 = text.Split('\n', 2, StringSplitOptions.RemoveEmptyEntries);
|
||||
if (array2.Length == 0)
|
||||
{
|
||||
return text;
|
||||
}
|
||||
if (array2.Length <= 1)
|
||||
{
|
||||
return array2[0];
|
||||
}
|
||||
return array2[0] + "...";
|
||||
}
|
||||
|
||||
private static bool HasDetailedDescription(ValidationIssue issue)
|
||||
{
|
||||
int num = ((issue.Type != EIssueType.QuestDisabled) ? (-1196136618) : (-1196136624));
|
||||
string text = default(string);
|
||||
while (true)
|
||||
if (issue.Type == EIssueType.QuestDisabled && issue.Id == null)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1196136621;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 1:
|
||||
return true;
|
||||
case 4:
|
||||
return _200D_206C_200C_206C_206A_206F_202C_206D_206F_206D_206D_200B_200D_202C_206B_206F_202B_206A_206E_206D_206F_206B_202A_202A_202B_200C_202E_202D_202C_206C_206E_206A_202E_206B_206C_200B_202A_206B_206D_206A_202E(text) > 100;
|
||||
case 2:
|
||||
return true;
|
||||
case 0:
|
||||
num = -1196136624;
|
||||
break;
|
||||
case 3:
|
||||
num = ((issue.Id != null) ? (-1196136618) : (-1196136622));
|
||||
break;
|
||||
case 5:
|
||||
text = issue.Description ?? string.Empty;
|
||||
num = (_202B_202E_202B_206D_202E_206F_206C_202E_202E_202E_202C_202E_200D_202B_206D_206E_202E_202E_200B_200C_200F_200E_202D_206E_206F_202D_200C_206F_200E_202D_202E_200E_200B_202C_202C_206F_202E_202A_202E(text, '\n', StringComparison.Ordinal) ? (-1196136623) : (-1196136617));
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
static void _206A_206B_206F_206C_202A_206B_200C_200B_206D_200D_206D_202D_206D_200C_202B_202D_206A_202B_202E_206E_206B_200B_200E_202A_202E_206B_206D_202E_202D_202C_200D_202E_206F_206D_202B_200E_206D_200B_202B_200C_202E(ImU8String P_0)
|
||||
{
|
||||
ImGui.Text(P_0);
|
||||
}
|
||||
|
||||
static void _200C_206C_202D_206D_202C_202A_206D_200E_200B_200B_206F_206F_206F_202B_200D_200D_200B_206F_206D_200B_202B_206D_206A_206E_200B_206B_206F_206D_200B_206A_206E_206E_200E_202B_200E_202C_202A_200D_202B_206D_202E()
|
||||
{
|
||||
ImGui.SameLine();
|
||||
}
|
||||
|
||||
static Vector4 _200D_206D_200E_202A_202E_200E_200E_206E_202C_206B_200B_206A_206A_200C_200F_206B_206F_206D_200C_200C_200F_202A_200E_206F_200C_200C_202E_200F_206A_200E_200F_206B_206D_206B_206A_200F_206A_206D_202B_202E_202E()
|
||||
{
|
||||
return ImGuiColors.DalamudRed;
|
||||
}
|
||||
|
||||
static ImRaii.ColorDisposable _206C_200D_202C_206C_206A_202D_200C_202E_200E_206C_202D_200B_200D_200D_206C_200D_200B_202A_200F_206C_202D_206D_206B_206E_200D_202E_202D_200F_200D_202A_206E_206E_200F_202D_202D_206B_202D_206D_202D_202C_202E(ImGuiCol P_0, Vector4 P_1, bool P_2)
|
||||
{
|
||||
return ImRaii.PushColor(P_0, P_1, P_2);
|
||||
}
|
||||
|
||||
static void _200E_200F_206B_202D_200D_200C_200E_206D_200E_200B_206B_206D_206D_200F_206D_202A_206E_206F_200C_206F_200F_200F_202E_200D_206B_202D_206C_206A_206B_206B_202E_206F_202C_206C_202B_206A_202D_200B_200D_202D_202E(IDisposable P_0)
|
||||
{
|
||||
P_0.Dispose();
|
||||
}
|
||||
|
||||
static Vector4 _206F_200F_200F_206F_206E_206E_206D_206A_200C_206A_206B_206D_202D_200D_200B_200E_206F_200F_206A_206D_206F_206C_202C_206C_200F_202B_202A_206E_206B_206B_200B_206D_206F_206C_202C_200C_202C_202C_202A_206F_202E()
|
||||
{
|
||||
return ImGuiColors.DalamudOrange;
|
||||
}
|
||||
|
||||
static void _206B_202B_206B_206D_206F_206F_206A_200F_206F_206E_206C_206E_206A_200E_206A_200C_206B_206F_206D_200F_206A_206D_200D_202C_206C_202B_202E_202E_206B_200F_200F_200C_206A_202B_202C_206D_206A_200D_206C_202E_202E(ImU8String P_0, ImGuiTableColumnFlags P_1, float P_2, uint P_3)
|
||||
{
|
||||
ImGui.TableSetupColumn(P_0, P_1, P_2, P_3);
|
||||
}
|
||||
|
||||
static void _202D_206B_202E_202A_206F_202A_206E_200E_200C_200B_206B_206C_202C_202C_206F_206F_202D_206D_202A_202B_202A_202E_202A_206E_202A_206D_200F_206F_206D_206F_202A_200B_206A_206E_206A_200E_206B_200E_206F_202B_202E()
|
||||
{
|
||||
ImGui.TableHeadersRow();
|
||||
}
|
||||
|
||||
static void _202E_200C_200C_206D_202E_200E_200B_200D_206C_202D_200C_200E_200D_206D_200B_206B_206C_200C_200C_202A_200B_200D_206D_206C_206E_200B_200C_202E_206A_202D_202D_206C_202B_206A_202D_206C_200E_200E_202B_206D_202E()
|
||||
{
|
||||
ImGui.TableNextRow();
|
||||
}
|
||||
|
||||
static bool _206F_200E_200B_200E_206F_206C_200D_202D_206C_202E_200D_202A_200C_202E_200B_206B_202B_202C_200B_206F_206B_200C_206F_202B_206D_200D_206A_200F_200C_206A_202B_206E_206B_200E_206A_202A_206D_206E_206A_202E_202E()
|
||||
{
|
||||
return ImGui.TableNextColumn();
|
||||
}
|
||||
|
||||
static void _200B_202C_200E_206A_206C_206A_206B_206B_200C_200C_202C_202C_200C_202C_200D_202C_206C_202E_202D_206F_206E_200E_200C_200F_206A_206B_202E_206D_200F_200C_200E_200C_206D_206E_200B_206B_200B_206F_200D_206B_202E(ImU8String P_0)
|
||||
{
|
||||
ImGui.TextUnformatted(P_0);
|
||||
}
|
||||
|
||||
static bool _200E_200D_202C_202D_200B_200F_206F_202E_200F_202D_206C_206A_202B_206C_202D_202D_202B_200B_202B_200B_200D_202B_200D_206F_202B_206E_202B_200F_200B_202C_200E_202C_200D_202D_206D_200D_202B_206C_206B_202E(string P_0, ref ElementId P_1)
|
||||
{
|
||||
return ElementId.TryFromString(P_0, out P_1);
|
||||
}
|
||||
|
||||
static bool _202A_206C_206F_200C_200B_206A_206E_200D_200C_202C_202D_200D_200C_200D_200E_206E_206B_202C_206A_206B_202A_206C_202C_202D_202A_202D_206E_200E_206E_202B_200D_206F_206D_200D_202B_206C_206A_206E_202E(ElementId P_0, ElementId P_1)
|
||||
{
|
||||
return P_0 != P_1;
|
||||
}
|
||||
|
||||
static bool _200E_202C_206A_206C_206F_202B_206A_200D_200F_206C_206A_200C_200D_202D_202D_206E_206A_206C_202C_206B_206E_206C_206E_200C_202E_200E_200C_200F_206E_206A_206A_202E_206B_202B_206C_206F_202C_200F_200F_200C_202E(string P_0)
|
||||
{
|
||||
return string.IsNullOrEmpty(P_0);
|
||||
}
|
||||
|
||||
static Vector4 _202D_206E_200B_200F_200B_200D_202D_206D_202E_206C_202B_206B_202D_202B_202B_202C_200C_206F_206E_202C_206D_200F_202E_206F_206D_206A_206B_200C_200F_206F_200E_206E_202E_202C_202B_206B_206F_200D_206D_200C_202E()
|
||||
{
|
||||
return ImGuiColors.DalamudGrey2;
|
||||
}
|
||||
|
||||
static Vector4 _202E_200D_200D_200E_202B_202D_200F_206D_206A_206E_202A_206F_202A_206C_200F_200E_200C_200F_200F_206C_202A_200F_206C_206D_200C_200C_202C_206E_200E_206B_200B_200D_206C_200E_206C_206F_206D_200D_206E_202C_202E()
|
||||
{
|
||||
return ImGuiColors.DalamudYellow;
|
||||
}
|
||||
|
||||
static IUiBuilder _200B_200E_206A_202C_200D_200F_202E_202D_202C_202D_200E_200B_200F_206F_206E_200F_202D_200C_202D_202A_206E_206C_206A_206A_206C_206B_206D_202C_202D_202A_202D_200B_202C_200D_206D_200C_206B_206E_202C_206C_202E(IDalamudPluginInterface P_0)
|
||||
{
|
||||
return P_0.UiBuilder;
|
||||
}
|
||||
|
||||
static IFontHandle _200B_202E_206E_206B_200D_200B_200D_200F_206C_206B_202C_206A_202B_206F_206C_202D_206B_206A_200D_200E_200D_202B_200B_202A_200C_200D_200C_206C_200B_200B_200D_206D_200F_200D_206E_206F_202C_206E_206D_202D_202E(IUiBuilder P_0)
|
||||
{
|
||||
return P_0.IconFontFixedWidthHandle;
|
||||
}
|
||||
|
||||
static IDisposable _206C_202D_206B_200F_202C_202C_200D_206E_202A_202E_202C_200C_202B_200C_202E_206C_200F_200D_206B_200B_206D_206E_200B_200C_206D_206A_202A_200D_200E_206F_206E_202B_206F_206C_206A_206A_202A_202D_202B_202E_202E(IFontHandle P_0)
|
||||
{
|
||||
return P_0.Push();
|
||||
}
|
||||
|
||||
static string _202C_202A_202A_206A_202B_206B_202E_206F_202C_202D_206A_200D_206E_206E_202B_202A_200B_206D_206A_206A_206B_202C_206F_206D_202A_206B_200E_206F_200F_206C_200B_200B_202D_200B_202A_202B_200C_202E_206B_202B_202E(FontAwesomeIcon P_0)
|
||||
{
|
||||
return P_0.ToIconString();
|
||||
}
|
||||
|
||||
static void _206B_202B_200C_202A_206D_202C_202E_202D_206D_200C_206D_206B_202E_200D_200E_200B_202E_202C_200C_202B_202C_206A_206E_202C_200D_200E_200B_206F_200D_206A_200F_206C_206E_200F_206F_200E_206D_200D_200F_206C_202E(ImU8String P_0)
|
||||
{
|
||||
ImGui.TextWrapped(P_0);
|
||||
}
|
||||
|
||||
static string[] _206B_200D_200F_206D_202A_202A_202D_202C_202C_200E_206E_200E_202E_202B_206F_200C_200D_200F_202A_206C_202B_200F_202D_206E_200B_206C_206A_200D_206E_202B_206D_200C_206A_202B_202C_206B_202B_202A_206A_202E_202E(string P_0, char P_1, int P_2, StringSplitOptions P_3)
|
||||
{
|
||||
return P_0.Split(P_1, P_2, P_3);
|
||||
}
|
||||
|
||||
static string _202B_202B_200F_200B_206F_200B_200E_202D_202A_206A_202B_200B_202B_206B_206F_202C_200F_200D_206D_200D_200D_202E_200F_206C_202D_206F_200C_200C_200F_202A_200F_200F_202D_200E_206F_200E_206E_206D_200D_200D_202E(string P_0, string P_1)
|
||||
{
|
||||
return P_0 + P_1;
|
||||
}
|
||||
|
||||
static bool _202B_202E_202B_206D_202E_206F_206C_202E_202E_202E_202C_202E_200D_202B_206D_206E_202E_202E_200B_200C_200F_200E_202D_206E_206F_202D_200C_206F_200E_202D_202E_200E_200B_202C_202C_206F_202E_202A_202E(string P_0, char P_1, StringComparison P_2)
|
||||
{
|
||||
return P_0.Contains(P_1, P_2);
|
||||
}
|
||||
|
||||
static int _200D_206C_200C_206C_206A_206F_202C_206D_206F_206D_206D_200B_200D_202C_206B_206F_202B_206A_206E_206D_206F_206B_202A_202A_202B_200C_202E_202D_202C_206C_206E_206A_202E_206B_206C_200B_202A_206B_206D_206A_202E(string P_0)
|
||||
{
|
||||
return P_0.Length;
|
||||
string text = issue.Description ?? string.Empty;
|
||||
if (!text.Contains('\n', StringComparison.Ordinal))
|
||||
{
|
||||
return text.Length > 100;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue