forked from aly/qstbak
muffin v7.5.11
This commit is contained in:
parent
addf2d530f
commit
3102923ce2
522 changed files with 41082 additions and 211592 deletions
|
|
@ -1,19 +1,13 @@
|
|||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Globalization;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Threading;
|
||||
using Dalamud.Bindings.ImGui;
|
||||
using Dalamud.Game.Command;
|
||||
using Dalamud.Interface;
|
||||
using Dalamud.Interface.Colors;
|
||||
using Dalamud.Interface.ManagedFontAtlas;
|
||||
using Dalamud.Interface.Utility;
|
||||
using Dalamud.Interface.Utility.Raii;
|
||||
using Dalamud.Plugin;
|
||||
using Dalamud.Plugin.Services;
|
||||
using LLib.ImGui;
|
||||
using Questionable.Controller;
|
||||
using Questionable.External;
|
||||
using Questionable.Validation;
|
||||
|
|
@ -38,70 +32,9 @@ internal sealed class QuickAccessButtonsComponent
|
|||
|
||||
private readonly NavmeshIpc _navmeshIpc;
|
||||
|
||||
[CompilerGenerated]
|
||||
private EventHandler? m_Reload;
|
||||
|
||||
public bool IsReloading { get; set; }
|
||||
|
||||
public event EventHandler? Reload
|
||||
{
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
EventHandler eventHandler = this.m_Reload;
|
||||
int num = -179073596;
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -179073595;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 0:
|
||||
num = -179073596;
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
EventHandler eventHandler2 = eventHandler;
|
||||
EventHandler value2 = (EventHandler)_206D_206D_200F_200B_202C_202C_202C_206B_206E_202D_206A_202A_200E_206B_206B_206F_206A_206E_206E_206B_202D_206A_206D_206D_202C_202E_202C_200F_206A_206D_206D_206F_202B_200F_206B_202C_206C_202E_206C_200F_202E((Delegate)eventHandler2, (Delegate)value);
|
||||
eventHandler = Interlocked.CompareExchange(ref this.m_Reload, value2, eventHandler2);
|
||||
num = (((object)eventHandler != eventHandler2) ? (-179073596) : (-179073593));
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
EventHandler eventHandler = this.m_Reload;
|
||||
int num = 1171519483;
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1171519482;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 0:
|
||||
num = 1171519483;
|
||||
break;
|
||||
case 2:
|
||||
return;
|
||||
case 1:
|
||||
{
|
||||
EventHandler eventHandler2 = eventHandler;
|
||||
EventHandler value2 = (EventHandler)_206E_206E_202E_206F_206F_202A_202D_206C_200B_202A_200F_200E_200F_206C_202A_202E_202C_200B_206A_202E_202A_206F_206D_200F_202B_206E_206C_206F_202E_206D_202E_200B_206F_202D_200F_202C_206D_206D_206B_206C_202E((Delegate)eventHandler2, (Delegate)value);
|
||||
eventHandler = Interlocked.CompareExchange(ref this.m_Reload, value2, eventHandler2);
|
||||
num = (((object)eventHandler != eventHandler2) ? 1171519483 : 1171519480);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
public event EventHandler? Reload;
|
||||
|
||||
public QuickAccessButtonsComponent(QuestRegistry questRegistry, QuestValidator questValidator, QuestValidationWindow questValidationWindow, ICommandManager commandManager, IDalamudPluginInterface pluginInterface, Configuration configuration, WigglyNavAvailability wigglyNavAvailability, NavmeshIpc navmeshIpc)
|
||||
{
|
||||
|
|
@ -115,295 +48,84 @@ internal sealed class QuickAccessButtonsComponent
|
|||
_navmeshIpc = navmeshIpc;
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public void Draw()
|
||||
{
|
||||
float x = _200B_202B_200C_200E_202D_202C_200E_200F_206D_206D_200F_202E_206C_200F_200B_200D_200F_200B_200B_200D_202A_206B_200D_202E_202A_202C_200E_206A_200F_200D_202B_206E_200E_206F_202C_206B_200C_202E_202E_206C_202E().X;
|
||||
float x2 = _202B_200E_206D_202E_206D_206B_206E_202D_200D_200B_200E_200E_206E_200D_206C_202D_206E_200C_202D_202E_206E_206A_206C_200C_200C_200E_200C_202C_202B_202B_200E_206F_206C_200D_202D_200E_202E_200B_202E_202B_202E().ItemSpacing.X;
|
||||
float x = ImGui.GetContentRegionAvail().X;
|
||||
float x2 = ImGui.GetStyle().ItemSpacing.X;
|
||||
float width = (x - x2) / 2f;
|
||||
ImRaii.DisabledDisposable disabledDisposable = _206E_200F_202B_206B_202C_206A_202C_206A_206E_200D_206B_202C_206F_202E_206A_206C_206D_200E_202D_200C_202A_206C_206C_206E_202E_202D_200C_202B_206B_200B_200B_202E_200F_200C_206F_206F_206C_206B_206C_202E(IsReloading);
|
||||
int num;
|
||||
try
|
||||
using (ImRaii.Disabled(IsReloading))
|
||||
{
|
||||
num = (IsReloading ? 263407056 : 263407060);
|
||||
while (true)
|
||||
string text = (IsReloading ? "Reloading..." : "Reload Data");
|
||||
if (UiThemeUtils.IconTextButton(FontAwesomeIcon.RedoAlt, text, width))
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 263407056;
|
||||
int num4 = num2;
|
||||
string text;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
default:
|
||||
continue;
|
||||
case 2:
|
||||
num = 263407060;
|
||||
continue;
|
||||
case 4:
|
||||
text = 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>(900520513);
|
||||
break;
|
||||
case 3:
|
||||
{
|
||||
EventHandler? eventHandler = this.Reload;
|
||||
if (eventHandler == null)
|
||||
{
|
||||
goto end_IL_0057;
|
||||
}
|
||||
eventHandler(this, EventArgs.Empty);
|
||||
num = 263407057;
|
||||
continue;
|
||||
}
|
||||
case 0:
|
||||
text = 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>(1097231565);
|
||||
break;
|
||||
case 1:
|
||||
goto end_IL_0057;
|
||||
}
|
||||
string text2 = text;
|
||||
num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.RedoAlt, text2, width)) ? 263407057 : 263407059);
|
||||
continue;
|
||||
end_IL_0057:
|
||||
break;
|
||||
this.Reload?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((disabledDisposable == null) ? 336483817 : 336483816);
|
||||
while (true)
|
||||
{
|
||||
int num5 = num;
|
||||
int num3 = 336483817;
|
||||
int num4 = num5;
|
||||
int num6 = num4 + num3;
|
||||
int num7 = num4 & num3;
|
||||
switch (num6 - (num7 + num7))
|
||||
{
|
||||
case 2:
|
||||
num = 336483816;
|
||||
break;
|
||||
case 0:
|
||||
goto end_IL_0135;
|
||||
case 1:
|
||||
_206C_206F_206C_206E_202C_200E_202A_206B_206A_202E_206D_200E_200C_202A_200B_206B_200E_206A_206F_200E_202B_206E_200E_206A_206B_200B_206A_206D_202A_200F_206D_200F_206C_206D_206D_200E_206B_206F_200D_202A_202E((IDisposable)disabledDisposable);
|
||||
num = 336483817;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_0135:
|
||||
break;
|
||||
}
|
||||
}
|
||||
_206F_200C_202C_200F_200E_202D_202C_206C_200E_206A_200C_202D_206A_206F_206E_206E_202B_200F_200C_200D_202C_206E_202B_202B_200C_202D_200F_202C_200C_202B_202C_202E_202B_206B_202B_206F_200F_206F_206A_202A_202E();
|
||||
ImGui.SameLine();
|
||||
Configuration.ENavigationProvider navigationProvider = _configuration.General.NavigationProvider;
|
||||
num = ((navigationProvider != Configuration.ENavigationProvider.WigglyNav) ? 1435941283 : 1435941295);
|
||||
bool flag = default(bool);
|
||||
bool flag2 = default(bool);
|
||||
int buildProgress = default(int);
|
||||
string text3 = default(string);
|
||||
int num9;
|
||||
bool flag3 = default(bool);
|
||||
bool flag4 = default(bool);
|
||||
while (true)
|
||||
bool flag = navigationProvider == Configuration.ENavigationProvider.WigglyNav && _wigglyNavAvailability.IsCompatible;
|
||||
bool flag2 = navigationProvider == Configuration.ENavigationProvider.WigglyNavShim;
|
||||
bool flag3 = flag || flag2;
|
||||
bool flag4 = flag || (flag2 ? _navmeshIpc.IsNavmeshAvailable : _commandManager.Commands.ContainsKey("/vnav"));
|
||||
string text2 = "Rebuild Navmesh";
|
||||
if (flag4 && !_navmeshIpc.IsReady)
|
||||
{
|
||||
int num8 = num;
|
||||
int num3 = 1435941285;
|
||||
int num4 = num8;
|
||||
int num11;
|
||||
int num10;
|
||||
bool num12;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
int buildProgress = _navmeshIpc.GetBuildProgress();
|
||||
if (buildProgress < 100)
|
||||
{
|
||||
default:
|
||||
continue;
|
||||
case 7:
|
||||
num = 1435941295;
|
||||
continue;
|
||||
case 6:
|
||||
num11 = 0;
|
||||
goto IL_0219;
|
||||
case 10:
|
||||
num11 = (_wigglyNavAvailability.IsCompatible ? 1 : 0);
|
||||
goto IL_0219;
|
||||
case 8:
|
||||
num = (_navmeshIpc.IsReady ? 1435941284 : 1435941280);
|
||||
continue;
|
||||
case 1:
|
||||
num = ((!flag) ? 1435941285 : 1435941294);
|
||||
continue;
|
||||
case 4:
|
||||
num10 = 1;
|
||||
goto IL_02b6;
|
||||
case 9:
|
||||
num = (flag2 ? 1435941287 : 1435941289);
|
||||
continue;
|
||||
case 3:
|
||||
{
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(15, 1);
|
||||
defaultInterpolatedStringHandler.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>(-757541673));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(buildProgress);
|
||||
defaultInterpolatedStringHandler.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>(767159727));
|
||||
text3 = defaultInterpolatedStringHandler.ToStringAndClear();
|
||||
num = 1435941284;
|
||||
continue;
|
||||
text2 = $"Rebuilding... {buildProgress}%";
|
||||
}
|
||||
case 11:
|
||||
num9 = ((!_206B_206A_202D_200F_200E_200C_200D_202E_202E_206A_206F_202D_206C_200D_206E_206F_206A_200B_200E_206B_202D_202C_202A_206E_200D_200D_206B_206D_202A_206C_206B_202C_202D_202A_200F_200D_202E_206C_200C_200F_202E(ImGuiKey.ModCtrl)) ? 1 : 0);
|
||||
break;
|
||||
case 12:
|
||||
num10 = (_202A_200F_202C_206D_206F_206A_200C_200D_206B_206C_202E_206F_200D_200B_206B_200C_200C_200F_200B_206E_200D_202A_206E_200E_200E_202A_206B_206E_206B_206E_202C_200C_206C_202D_202C_206E_206E_202A_202E_202E_202E(_commandManager).ContainsKey(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>(507098409)) ? 1 : 0);
|
||||
goto IL_02b6;
|
||||
case 5:
|
||||
buildProgress = _navmeshIpc.GetBuildProgress();
|
||||
num = ((buildProgress >= 100) ? 1435941284 : 1435941286);
|
||||
continue;
|
||||
case 2:
|
||||
num10 = (_navmeshIpc.IsNavmeshAvailable ? 1 : 0);
|
||||
goto IL_02b6;
|
||||
case 0:
|
||||
{
|
||||
num9 = 1;
|
||||
break;
|
||||
}
|
||||
IL_02b6:
|
||||
flag = (byte)num10 != 0;
|
||||
text3 = 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>(-1492851950);
|
||||
num = ((!flag) ? 1435941284 : 1435941293);
|
||||
continue;
|
||||
IL_0219:
|
||||
flag3 = (byte)num11 != 0;
|
||||
flag2 = navigationProvider == Configuration.ENavigationProvider.WigglyNavShim;
|
||||
num12 = flag3;
|
||||
num3 = (flag2 ? 1 : 0);
|
||||
num4 = (num12 ? 1 : 0);
|
||||
flag4 = (byte)(num4 + num3 - (num4 & num3)) != 0;
|
||||
num = (flag3 ? 1435941281 : 1435941292);
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
disabledDisposable = _206E_200F_202B_206B_202C_206A_202C_206A_206E_200D_206B_202C_206F_202E_206A_206C_206D_200E_202D_200C_202A_206C_206C_206E_202E_202D_200C_202B_206B_200B_200B_202E_200F_200C_206F_206F_206C_206B_206C_202E((byte)num9 != 0);
|
||||
try
|
||||
using (ImRaii.Disabled(!flag4 || !ImGui.IsKeyDown(ImGuiKey.ModCtrl)))
|
||||
{
|
||||
num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Gem, text3, width)) ? 1684640401 : 1684640403);
|
||||
while (true)
|
||||
if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Gem, text2, width))
|
||||
{
|
||||
int num13 = num;
|
||||
int num3 = 1684640402;
|
||||
int num4 = num13;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
if (flag3)
|
||||
{
|
||||
case 0:
|
||||
num = 1684640403;
|
||||
break;
|
||||
case 2:
|
||||
_202E_202A_206A_206C_206B_206D_200F_206E_206F_200E_206E_206E_202A_202D_202A_200F_202E_206A_202C_202B_206C_206C_200B_200F_202B_206D_200D_200C_200B_206E_200B_206E_200D_200D_200E_206B_200E_206D_200C_202C_202E(_commandManager, 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>(-759082513));
|
||||
num = 1684640401;
|
||||
break;
|
||||
case 1:
|
||||
num = ((!flag4) ? 1684640400 : 1684640406);
|
||||
break;
|
||||
case 4:
|
||||
_navmeshIpc.Rebuild();
|
||||
goto end_IL_0411;
|
||||
case 3:
|
||||
goto end_IL_0411;
|
||||
}
|
||||
continue;
|
||||
end_IL_0411:
|
||||
break;
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((disabledDisposable == null) ? (-78943588) : (-78943585));
|
||||
while (true)
|
||||
{
|
||||
int num14 = num;
|
||||
int num3 = -78943586;
|
||||
int num4 = num14;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
else
|
||||
{
|
||||
case 0:
|
||||
num = -78943585;
|
||||
break;
|
||||
case 1:
|
||||
_206C_206F_206C_206E_202C_200E_202A_206B_206A_202E_206D_200E_200C_202A_200B_206B_200E_206A_206F_200E_202B_206E_200E_206A_206B_200B_206A_206D_202A_200F_206D_200F_206C_206D_206D_200E_206B_206F_200D_202A_202E((IDisposable)disabledDisposable);
|
||||
num = -78943588;
|
||||
break;
|
||||
case 2:
|
||||
goto end_IL_04d2;
|
||||
_commandManager.ProcessCommand("/vnav rebuild");
|
||||
}
|
||||
continue;
|
||||
end_IL_04d2:
|
||||
break;
|
||||
}
|
||||
}
|
||||
num = ((!_202E_206E_200C_202C_206E_202D_200F_206D_206B_206A_202D_202B_202C_202D_206D_202A_200B_202B_206A_206C_206F_206D_200F_206D_206B_206E_200E_206B_206F_200E_206A_202C_202B_200C_202B_206E_206C_200D_200C_202B_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? 1890619570 : 1890619581);
|
||||
while (true)
|
||||
if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled))
|
||||
{
|
||||
int num15 = num;
|
||||
int num3 = 1890619582;
|
||||
int num4 = num15;
|
||||
int num16 = num4 + num3;
|
||||
int num17 = num4 & num3;
|
||||
switch (num16 - (num17 + num17))
|
||||
if (!flag4)
|
||||
{
|
||||
case 5:
|
||||
DrawValidationIssuesButton();
|
||||
num = 1890619572;
|
||||
break;
|
||||
case 12:
|
||||
num = ((_questValidator.IssueCount <= 0) ? 1890619572 : 1890619579);
|
||||
break;
|
||||
case 3:
|
||||
num = (flag ? 1890619573 : 1890619583);
|
||||
break;
|
||||
case 13:
|
||||
_200C_200E_202E_206C_206E_202B_202A_206F_206E_206C_200D_206A_200D_206C_200B_200B_206B_202D_202C_200C_200B_206B_200C_206A_202C_202E_200F_202B_206F_206C_200F_206A_200D_202A_206F_200F_202E_206D_206A_206C_202E((ImU8String)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>(272437998));
|
||||
num = 1890619570;
|
||||
break;
|
||||
case 4:
|
||||
_200C_200E_202E_206C_206E_202B_202A_206F_206E_206C_200D_206A_200D_206C_200B_200B_206B_202D_202C_200C_200B_206B_200C_206A_202C_202E_200F_202B_206F_206C_200F_206A_200D_202A_206F_200F_202E_206D_206A_206C_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>(-1054666576));
|
||||
num = 1890619570;
|
||||
break;
|
||||
case 0:
|
||||
num = ((!flag3) ? 1890619571 : 1890619578);
|
||||
break;
|
||||
case 2:
|
||||
_200C_200E_202E_206C_206E_202B_202A_206F_206E_206C_200D_206A_200D_206C_200B_200B_206B_202D_202C_200C_200B_206B_200C_206A_202C_202E_200F_202B_206F_206C_200F_206A_200D_202A_206F_200F_202E_206D_206A_206C_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>(-640328064));
|
||||
num = 1890619570;
|
||||
break;
|
||||
case 8:
|
||||
_200C_200E_202E_206C_206E_202B_202A_206F_206E_206C_200D_206A_200D_206C_200B_200B_206B_202D_202C_200C_200B_206B_200C_206A_202C_202E_200F_202B_206F_206C_200F_206A_200D_202A_206F_200F_202E_206D_206A_206C_202E((ImU8String)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>(-678584146));
|
||||
num = 1890619570;
|
||||
break;
|
||||
case 1:
|
||||
num = ((!flag4) ? 1890619576 : 1890619568);
|
||||
break;
|
||||
case 7:
|
||||
num = 1890619581;
|
||||
break;
|
||||
case 9:
|
||||
_200C_200E_202E_206C_206E_202B_202A_206F_206E_206C_200D_206A_200D_206C_200B_200B_206B_202D_202C_200C_200B_206B_200C_206A_202C_202E_200F_202B_206F_206C_200F_206A_200D_202A_206F_200F_202E_206D_206A_206C_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>(-476456851));
|
||||
num = 1890619570;
|
||||
break;
|
||||
case 10:
|
||||
return;
|
||||
case 11:
|
||||
num = ((!flag2) ? 1890619582 : 1890619580);
|
||||
break;
|
||||
case 14:
|
||||
_200C_200E_202E_206C_206E_202B_202A_206F_206E_206C_200D_206A_200D_206C_200B_200B_206B_202D_202C_200C_200B_206B_200C_206A_202C_202E_200F_202B_206F_206C_200F_206A_200D_202A_206F_200F_202E_206D_206A_206C_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>(-1942219588));
|
||||
num = 1890619570;
|
||||
break;
|
||||
case 6:
|
||||
num = ((navigationProvider != Configuration.ENavigationProvider.WigglyNav) ? 1890619574 : 1890619575);
|
||||
break;
|
||||
if (flag3)
|
||||
{
|
||||
ImGui.SetTooltip("WigglyNav is not available.");
|
||||
}
|
||||
else if (navigationProvider == Configuration.ENavigationProvider.WigglyNav)
|
||||
{
|
||||
ImGui.SetTooltip("WigglyNav is unavailable and vnavmesh, its fallback, is not installed.");
|
||||
}
|
||||
else
|
||||
{
|
||||
ImGui.SetTooltip("vnavmesh is not available.\nPlease install it first.");
|
||||
}
|
||||
}
|
||||
else if (flag2)
|
||||
{
|
||||
ImGui.SetTooltip("Hold CTRL to enable this button.\nRebuilding the WigglyNav navmesh (shim surface) will take some time.");
|
||||
}
|
||||
else if (flag)
|
||||
{
|
||||
ImGui.SetTooltip("Hold CTRL to enable this button.\nRebuilding the WigglyNav navmesh will take some time.");
|
||||
}
|
||||
else
|
||||
{
|
||||
ImGui.SetTooltip("Hold CTRL to enable this button.\nRebuilding the navmesh will take some time.");
|
||||
}
|
||||
}
|
||||
if (_questValidator.IssueCount > 0)
|
||||
{
|
||||
DrawValidationIssuesButton();
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private void DrawValidationIssuesButton()
|
||||
{
|
||||
int errorCount = _questValidator.ErrorCount;
|
||||
|
|
@ -411,450 +133,79 @@ internal sealed class QuickAccessButtonsComponent
|
|||
int item = _questValidator.IssueCount - errorCount - warningCount;
|
||||
(int, Vector4, FontAwesomeIcon)[] array = new(int, Vector4, FontAwesomeIcon)[3]
|
||||
{
|
||||
(errorCount, _206E_206D_200F_200E_206D_206E_206A_206D_200B_202C_200B_206A_206E_202B_206A_200F_202D_200C_202A_206E_202E_206F_202D_202E_202D_202B_206D_202E_206B_200B_200F_206B_200F_206C_200F_206F_200F_206B_206F_206A_202E(), FontAwesomeIcon.ExclamationTriangle),
|
||||
(warningCount, _200C_200B_206D_200C_202A_206A_200B_206D_206A_202A_206C_200F_202E_200B_200B_202B_206D_202C_206E_202C_200B_206A_206C_200E_202E_206A_206A_202C_202B_200F_202E_202D_200D_202A_206C_202C_206B_202D_206F_200C_202E(), FontAwesomeIcon.ExclamationCircle),
|
||||
(item, _200D_200E_206B_200F_202E_202A_206B_202C_202C_200B_200C_206A_202A_206B_200F_206F_200E_200F_206A_206F_200B_202C_200C_200C_200B_202C_206E_200C_206E_202C_200D_200C_200B_200B_202D_200E_202E_200E_202E_202E(), FontAwesomeIcon.InfoCircle)
|
||||
(errorCount, ImGuiColors.DalamudRed, FontAwesomeIcon.ExclamationTriangle),
|
||||
(warningCount, ImGuiColors.DalamudYellow, FontAwesomeIcon.ExclamationCircle),
|
||||
(item, ImGuiColors.ParsedBlue, FontAwesomeIcon.InfoCircle)
|
||||
};
|
||||
int num = 0;
|
||||
(int, Vector4, FontAwesomeIcon)[] array2 = array;
|
||||
int num2 = 0;
|
||||
int num3 = -1437565178;
|
||||
float num20 = default(float);
|
||||
int num27 = default(int);
|
||||
while (true)
|
||||
for (int i = 0; i < array2.Length; i++)
|
||||
{
|
||||
int num4 = num3;
|
||||
int num5 = -1437565181;
|
||||
int num6 = num4;
|
||||
int num7 = num6 + num5;
|
||||
int num8 = num6 & num5;
|
||||
switch (num7 - (num8 + num8))
|
||||
if (array2[i].Item1 > 0)
|
||||
{
|
||||
case 0:
|
||||
return;
|
||||
case 3:
|
||||
{
|
||||
int num33 = num;
|
||||
num5 = 1;
|
||||
num6 = num33;
|
||||
int num34 = num6 ^ num5;
|
||||
int num35 = num6 & num5;
|
||||
num = num34 + (num35 + num35);
|
||||
num3 = -1437565177;
|
||||
break;
|
||||
num++;
|
||||
}
|
||||
case 4:
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
using (ImRaii.PushId("validationissues"))
|
||||
{
|
||||
float num2 = 3f * ImGuiHelpers.GlobalScale;
|
||||
Vector2[] array3 = new Vector2[array.Length];
|
||||
using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push())
|
||||
{
|
||||
int num36 = num2;
|
||||
num5 = 1;
|
||||
num6 = num36;
|
||||
num2 = (num6 | num5) + (num6 & num5);
|
||||
num3 = -1437565178;
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
num3 = ((num != 0) ? (-1437565180) : (-1437565181));
|
||||
break;
|
||||
case 5:
|
||||
num3 = ((num2 < array2.Length) ? (-1437565182) : (-1437565183));
|
||||
break;
|
||||
case 1:
|
||||
num3 = ((array2[num2].Item1 <= 0) ? (-1437565177) : (-1437565184));
|
||||
break;
|
||||
case 6:
|
||||
num3 = -1437565178;
|
||||
break;
|
||||
case 7:
|
||||
{
|
||||
ImRaii.IdDisposable idDisposable = _200D_202E_202D_206A_206F_206F_206B_206D_206B_206E_200E_202A_200E_206A_206F_200F_202A_202D_200D_202E_200F_206B_200B_206E_206B_200C_202C_206A_200B_202D_202E_202E_200D_200F_200C_206A_200D_202E_206A_202C_202E((ImU8String)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>(-796253766), true);
|
||||
try
|
||||
for (int j = 0; j < array.Length; j++)
|
||||
{
|
||||
float num9 = 3f * _202E_200E_206D_206C_206D_200F_206E_206F_202E_206D_206F_206F_200D_200E_200E_200D_202E_206A_206A_200B_206E_202E_206A_200E_202D_206D_202B_202A_206F_202D_202C_202D_200B_206F_200C_206B_200B_202D_200E_202D_202E();
|
||||
Vector2[] array3 = new Vector2[array.Length];
|
||||
IDisposable disposable = _200C_202C_200D_202D_200F_202A_206B_200C_202E_206E_202A_202D_200B_200F_206F_202A_206E_202E_200F_202A_200B_200C_202B_206C_202D_200B_200E_200C_206B_206F_200F_200C_202A_206C_200F_200E_206C_202D_202D_202B_202E(_206C_206B_202A_200F_206A_202C_200C_206F_206D_206C_200E_206A_206D_200E_206C_206B_202E_200D_200F_206E_206A_206A_206C_202A_200C_200E_206C_202E_202A_202C_200E_200D_200D_200D_202C_200E_206B_206A_202D_206C_202E(_202E_202C_202B_200F_202A_202B_206D_206A_206F_202B_206E_202C_202E_206A_200C_202E_202C_200F_200F_206C_200C_200B_206F_206D_200B_206B_200E_206A_206B_200D_202E_206D_202D_200E_200E_200E_206C_206C_200D_202A_202E(_pluginInterface)));
|
||||
try
|
||||
if (array[j].Item1 > 0)
|
||||
{
|
||||
int num10 = 0;
|
||||
num3 = -746592479;
|
||||
while (true)
|
||||
{
|
||||
int num11 = num3;
|
||||
num5 = -746592476;
|
||||
num6 = num11;
|
||||
int num12 = num6 + num5;
|
||||
int num13 = num6 & num5;
|
||||
switch (num12 - (num13 + num13))
|
||||
{
|
||||
case 4:
|
||||
num3 = -746592479;
|
||||
break;
|
||||
case 3:
|
||||
num3 = ((array[num10].Item1 <= 0) ? (-746592475) : (-746592476));
|
||||
break;
|
||||
case 0:
|
||||
array3[num10] = _200C_200F_200F_202D_202A_200E_202C_206C_202A_200C_206D_200E_200D_206B_206B_202A_206E_202C_200C_202D_200C_202C_206E_206A_200C_200C_200E_202E_206E_200D_202C_206F_200B_206F_200F_202A_206D_206B_206F_202E_202E((ImU8String)_200F_206D_200E_206F_200F_200D_206E_200B_202C_206A_200D_202E_200D_206E_202E_200B_202D_206A_202C_202B_206A_206B_202E_202C_202B_202A_200F_206D_206F_206B_206A_202B_206D_200D_206F_200F_202D_202A_206C_200C_202E(array[num10].Item3), false, -1f);
|
||||
num3 = -746592475;
|
||||
break;
|
||||
case 5:
|
||||
num3 = ((num10 < array.Length) ? (-746592473) : (-746592474));
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
int num14 = num10;
|
||||
num5 = 1;
|
||||
num6 = num14;
|
||||
num10 = (num6 | num5) + (num6 & num5);
|
||||
num3 = -746592479;
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
goto end_IL_01dc;
|
||||
}
|
||||
continue;
|
||||
end_IL_01dc:
|
||||
break;
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num3 = ((disposable == null) ? 334157648 : 334157649);
|
||||
while (true)
|
||||
{
|
||||
int num15 = num3;
|
||||
num5 = 334157648;
|
||||
num6 = num15;
|
||||
int num16 = num6 + num5;
|
||||
int num17 = num6 & num5;
|
||||
switch (num16 - (num17 + num17))
|
||||
{
|
||||
case 2:
|
||||
num3 = 334157649;
|
||||
break;
|
||||
case 0:
|
||||
goto end_IL_02ea;
|
||||
case 1:
|
||||
_206C_206F_206C_206E_202C_200E_202A_206B_206A_202E_206D_200E_200C_202A_200B_206B_200E_206A_206F_200E_202B_206E_200E_206A_206B_200B_206A_206D_202A_200F_206D_200F_206C_206D_206D_200E_206B_206F_200D_202A_202E(disposable);
|
||||
num3 = 334157648;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_02ea:
|
||||
break;
|
||||
}
|
||||
}
|
||||
string[] array4 = new string[array.Length];
|
||||
Vector2[] array5 = new Vector2[array.Length];
|
||||
int num18 = 0;
|
||||
num3 = -1717059511;
|
||||
while (true)
|
||||
{
|
||||
int num19 = num3;
|
||||
num5 = -1717059519;
|
||||
num6 = num19;
|
||||
switch ((num6 | num5) - (num6 & num5))
|
||||
{
|
||||
case 5:
|
||||
num3 = -1717059511;
|
||||
break;
|
||||
case 0:
|
||||
{
|
||||
num20 += array3[num27].X + array5[num27].X;
|
||||
int num29 = num27;
|
||||
num5 = 1;
|
||||
num6 = num29;
|
||||
num27 = (num6 | num5) + (num6 & num5);
|
||||
num3 = -1717059517;
|
||||
break;
|
||||
}
|
||||
case 7:
|
||||
array4[num18] = array[num18].Item1.ToString(_200D_202B_202B_202B_206F_202C_206B_202A_206A_206F_202D_200D_206C_206F_206D_202A_202E_206B_206A_202D_206F_200E_202B_202A_206F_200F_206C_206B_206E_200C_200C_202D_200D_206B_200D_206B_202B_206D_206E_200E_202E());
|
||||
array5[num18] = _200C_200F_200F_202D_202A_200E_202C_206C_202A_200C_206D_200E_200D_206B_206B_202A_206E_202C_200C_202D_200C_202C_206E_206A_200C_200C_200E_202E_206E_200D_202C_206F_200B_206F_200F_202A_206D_206B_206F_202E_202E((ImU8String)array4[num18], false, -1f);
|
||||
num3 = -1717059520;
|
||||
break;
|
||||
case 2:
|
||||
num3 = ((num27 < array.Length) ? (-1717059519) : (-1717059513));
|
||||
break;
|
||||
case 4:
|
||||
num20 = 0f;
|
||||
num27 = 0;
|
||||
num3 = -1717059517;
|
||||
break;
|
||||
case 3:
|
||||
num3 = ((array[num18].Item1 <= 0) ? (-1717059520) : (-1717059514));
|
||||
break;
|
||||
case 8:
|
||||
num3 = ((num18 < array.Length) ? (-1717059518) : (-1717059515));
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
int num28 = num18;
|
||||
num5 = 1;
|
||||
num6 = num28;
|
||||
num18 = (num6 | num5) + (num6 & num5);
|
||||
num3 = -1717059511;
|
||||
break;
|
||||
}
|
||||
case 6:
|
||||
{
|
||||
float x = num20 + _202B_200E_206D_202E_206D_206B_206E_202D_200D_200B_200E_200E_206E_200D_206C_202D_206E_200C_202D_202E_206E_206A_206C_200C_200C_200E_200C_202C_202B_202B_200E_206F_206C_200D_202D_200E_202E_200B_202E_202B_202E().FramePadding.X * 2f + num9 * 2f * (float)num;
|
||||
float y = _202E_206D_200B_200D_202D_206D_202E_202B_202B_200F_206B_200C_202C_202E_202D_206C_206C_202C_202B_200C_202E_206E_202E_202E_206B_206C_206C_202D_206E_206E_206F_202E_200D_200E_206A_202C_206C_202B_206B_200F_202E();
|
||||
Vector2 vector = _206C_202B_202B_206A_200F_200C_206F_202E_200B_206B_202A_206A_206D_202E_206A_206D_206E_202A_200F_202E_202E_200C_206E_206D_202E_202C_202B_206E_206E_202B_206A_206D_202E_202A_202A_202A_202D_200E_206F_200C_202E();
|
||||
bool flag = _200C_206D_200C_206F_206E_202D_202C_200E_202B_206F_202C_206B_202E_206C_206A_200B_200E_200F_206E_202D_202E_206F_200B_206B_200C_200D_200C_206E_206C_206A_202D_200D_206C_202A_200E_206B_206E_206E_200F_206B_202E((ImU8String)string.Empty, new Vector2(x, y));
|
||||
ImDrawListPtr imDrawListPtr = _200D_206D_206E_202D_200D_200F_202A_202D_200D_206C_206E_206D_206F_200B_202A_202B_206B_202B_206E_202B_200F_200D_202A_206C_206D_202E_200F_202C_202A_206B_200F_200D_202E_206F_202A_200D_200B_200C_202C_206F_202E();
|
||||
Vector2 vector2 = new Vector2(vector.X + _202B_200E_206D_202E_206D_206B_206E_202D_200D_200B_200E_200E_206E_200D_206C_202D_206E_200C_202D_202E_206E_206A_206C_200C_200C_200E_200C_202C_202B_202B_200E_206F_206C_200D_202D_200E_202E_200B_202E_202B_202E().FramePadding.X, vector.Y + _202B_200E_206D_202E_206D_206B_206E_202D_200D_200B_200E_200E_206E_200D_206C_202D_206E_200C_202D_202E_206E_206A_206C_200C_200C_200E_200C_202C_202B_202B_200E_206F_206C_200D_202D_200E_202E_200B_202E_202B_202E().FramePadding.Y);
|
||||
for (int num21 = 0; num21 < array.Length; num21 = (num6 | num5) + (num6 & num5))
|
||||
{
|
||||
if (array[num21].Item1 != 0)
|
||||
{
|
||||
IDisposable disposable2 = _200C_202C_200D_202D_200F_202A_206B_200C_202E_206E_202A_202D_200B_200F_206F_202A_206E_202E_200F_202A_200B_200C_202B_206C_202D_200B_200E_200C_206B_206F_200F_200C_202A_206C_200F_200E_206C_202D_202D_202B_202E(_206C_206B_202A_200F_206A_202C_200C_206F_206D_206C_200E_206A_206D_200E_206C_206B_202E_200D_200F_206E_206A_206A_206C_202A_200C_200E_206C_202E_202A_202C_200E_200D_200D_200D_202C_200E_206B_206A_202D_206C_202E(_202E_202C_202B_200F_202A_202B_206D_206A_206F_202B_206E_202C_202E_206A_200C_202E_202C_200F_200F_206C_200C_200B_206F_206D_200B_206B_200E_206A_206B_200D_202E_206D_202D_200E_200E_200E_206C_206C_200D_202A_202E(_pluginInterface)));
|
||||
try
|
||||
{
|
||||
imDrawListPtr.AddText(vector2, _206C_202C_202D_200D_200D_202E_200D_206D_202B_200E_200F_202E_202B_200E_200C_200B_202C_206A_202D_206F_200B_202B_206C_206D_202A_200D_202C_206B_206B_202B_202B_206A_206E_202A_200D_200E_200D_206B_206F_206F_202E(array[num21].Item2), _200F_206D_200E_206F_200F_200D_206E_200B_202C_206A_200D_202E_200D_206E_202E_200B_202D_206A_202C_202B_206A_206B_202E_202C_202B_202A_200F_206D_206F_206B_206A_202B_206D_200D_206F_200F_202D_202A_206C_200C_202E(array[num21].Item3));
|
||||
}
|
||||
finally
|
||||
{
|
||||
num3 = ((disposable2 == null) ? (-226333035) : (-226333036));
|
||||
while (true)
|
||||
{
|
||||
int num22 = num3;
|
||||
num5 = -226333035;
|
||||
num6 = num22;
|
||||
int num23 = num6 + num5;
|
||||
int num24 = num6 & num5;
|
||||
switch (num23 - (num24 + num24))
|
||||
{
|
||||
case 2:
|
||||
num3 = -226333036;
|
||||
break;
|
||||
case 1:
|
||||
_206C_206F_206C_206E_202C_200E_202A_206B_206A_202E_206D_200E_200C_202A_200B_206B_200E_206A_206F_200E_202B_206E_200E_206A_206B_200B_206A_206D_202A_200F_206D_200F_206C_206D_206D_200E_206B_206F_200D_202A_202E(disposable2);
|
||||
num3 = -226333035;
|
||||
break;
|
||||
case 0:
|
||||
goto end_IL_05f6;
|
||||
}
|
||||
continue;
|
||||
end_IL_05f6:
|
||||
break;
|
||||
}
|
||||
}
|
||||
Vector2 vector3 = vector2;
|
||||
vector3.X = vector2.X + array3[num21].X + num9;
|
||||
vector2 = vector3;
|
||||
imDrawListPtr.AddText(vector2, _200C_202B_202A_206B_202E_202D_200F_206D_200E_200E_200D_206B_200C_202E_200C_206D_202D_206F_202A_202A_202B_206B_202A_206C_206D_206F_200D_202C_206F_202D_202E_200C_202B_206A_206F_206B_206A_200F_200F_200C_202E(ImGuiCol.Text), array4[num21]);
|
||||
vector3 = vector2;
|
||||
vector3.X = vector2.X + array5[num21].X + 2f * num9;
|
||||
vector2 = vector3;
|
||||
}
|
||||
int num25 = num21;
|
||||
num5 = 1;
|
||||
num6 = num25;
|
||||
}
|
||||
num3 = 734288855;
|
||||
while (true)
|
||||
{
|
||||
int num26 = num3;
|
||||
num5 = 734288854;
|
||||
num6 = num26;
|
||||
switch ((num6 | num5) - (num6 & num5))
|
||||
{
|
||||
case 0:
|
||||
num3 = 734288855;
|
||||
break;
|
||||
case 2:
|
||||
_206C_206A_206F_206D_206E_206C_200C_200E_202D_200C_202A_202A_200F_206D_200C_200E_200E_200D_206E_206E_202C_206C_202D_200C_200B_200F_206A_206B_200B_206A_202B_202A_206B_200B_202A_206A_200D_200E_202D_200F_202E((LWindow)_questValidationWindow, true);
|
||||
num3 = 734288853;
|
||||
break;
|
||||
case 1:
|
||||
num3 = ((!flag) ? 734288853 : 734288852);
|
||||
break;
|
||||
case 3:
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num3 = ((idDisposable == null) ? 902881747 : 902881746);
|
||||
while (true)
|
||||
{
|
||||
int num30 = num3;
|
||||
num5 = 902881747;
|
||||
num6 = num30;
|
||||
int num31 = num6 + num5;
|
||||
int num32 = num6 & num5;
|
||||
switch (num31 - (num32 + num32))
|
||||
{
|
||||
case 2:
|
||||
num3 = 902881746;
|
||||
break;
|
||||
case 0:
|
||||
goto end_IL_0774;
|
||||
case 1:
|
||||
_206C_206F_206C_206E_202C_200E_202A_206B_206A_202E_206D_200E_200C_202A_200B_206B_200E_206A_206F_200E_202B_206E_200E_206A_206B_200B_206A_206D_202A_200F_206D_200F_206C_206D_206D_200E_206B_206F_200D_202A_202E((IDisposable)idDisposable);
|
||||
num3 = 902881747;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_0774:
|
||||
break;
|
||||
array3[j] = ImGui.CalcTextSize(array[j].Item3.ToIconString());
|
||||
}
|
||||
}
|
||||
}
|
||||
string[] array4 = new string[array.Length];
|
||||
Vector2[] array5 = new Vector2[array.Length];
|
||||
for (int k = 0; k < array.Length; k++)
|
||||
{
|
||||
if (array[k].Item1 > 0)
|
||||
{
|
||||
array4[k] = array[k].Item1.ToString(CultureInfo.InvariantCulture);
|
||||
array5[k] = ImGui.CalcTextSize(array4[k]);
|
||||
}
|
||||
}
|
||||
float num3 = 0f;
|
||||
for (int l = 0; l < array.Length; l++)
|
||||
{
|
||||
num3 += array3[l].X + array5[l].X;
|
||||
}
|
||||
float x = num3 + ImGui.GetStyle().FramePadding.X * 2f + num2 * 2f * (float)num;
|
||||
float frameHeight = ImGui.GetFrameHeight();
|
||||
Vector2 cursorScreenPos = ImGui.GetCursorScreenPos();
|
||||
bool flag = ImGui.Button(string.Empty, new Vector2(x, frameHeight));
|
||||
ImDrawListPtr windowDrawList = ImGui.GetWindowDrawList();
|
||||
Vector2 vector = new Vector2(cursorScreenPos.X + ImGui.GetStyle().FramePadding.X, cursorScreenPos.Y + ImGui.GetStyle().FramePadding.Y);
|
||||
for (int m = 0; m < array.Length; m++)
|
||||
{
|
||||
if (array[m].Item1 != 0)
|
||||
{
|
||||
using (_pluginInterface.UiBuilder.IconFontFixedWidthHandle.Push())
|
||||
{
|
||||
windowDrawList.AddText(vector, ImGui.GetColorU32(array[m].Item2), array[m].Item3.ToIconString());
|
||||
}
|
||||
Vector2 vector2 = vector;
|
||||
vector2.X = vector.X + array3[m].X + num2;
|
||||
vector = vector2;
|
||||
windowDrawList.AddText(vector, ImGui.GetColorU32(ImGuiCol.Text), array4[m]);
|
||||
vector2 = vector;
|
||||
vector2.X = vector.X + array5[m].X + 2f * num2;
|
||||
vector = vector2;
|
||||
}
|
||||
}
|
||||
if (flag)
|
||||
{
|
||||
_questValidationWindow.IsOpenAndUncollapsed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static Delegate _206D_206D_200F_200B_202C_202C_202C_206B_206E_202D_206A_202A_200E_206B_206B_206F_206A_206E_206E_206B_202D_206A_206D_206D_202C_202E_202C_200F_206A_206D_206D_206F_202B_200F_206B_202C_206C_202E_206C_200F_202E(Delegate P_0, Delegate P_1)
|
||||
{
|
||||
return Delegate.Combine(P_0, P_1);
|
||||
}
|
||||
|
||||
static Delegate _206E_206E_202E_206F_206F_202A_202D_206C_200B_202A_200F_200E_200F_206C_202A_202E_202C_200B_206A_202E_202A_206F_206D_200F_202B_206E_206C_206F_202E_206D_202E_200B_206F_202D_200F_202C_206D_206D_206B_206C_202E(Delegate P_0, Delegate P_1)
|
||||
{
|
||||
return Delegate.Remove(P_0, P_1);
|
||||
}
|
||||
|
||||
static Vector2 _200B_202B_200C_200E_202D_202C_200E_200F_206D_206D_200F_202E_206C_200F_200B_200D_200F_200B_200B_200D_202A_206B_200D_202E_202A_202C_200E_206A_200F_200D_202B_206E_200E_206F_202C_206B_200C_202E_202E_206C_202E()
|
||||
{
|
||||
return ImGui.GetContentRegionAvail();
|
||||
}
|
||||
|
||||
static ImGuiStylePtr _202B_200E_206D_202E_206D_206B_206E_202D_200D_200B_200E_200E_206E_200D_206C_202D_206E_200C_202D_202E_206E_206A_206C_200C_200C_200E_200C_202C_202B_202B_200E_206F_206C_200D_202D_200E_202E_200B_202E_202B_202E()
|
||||
{
|
||||
return ImGui.GetStyle();
|
||||
}
|
||||
|
||||
static ImRaii.DisabledDisposable _206E_200F_202B_206B_202C_206A_202C_206A_206E_200D_206B_202C_206F_202E_206A_206C_206D_200E_202D_200C_202A_206C_206C_206E_202E_202D_200C_202B_206B_200B_200B_202E_200F_200C_206F_206F_206C_206B_206C_202E(bool P_0)
|
||||
{
|
||||
return ImRaii.Disabled(P_0);
|
||||
}
|
||||
|
||||
static void _206C_206F_206C_206E_202C_200E_202A_206B_206A_202E_206D_200E_200C_202A_200B_206B_200E_206A_206F_200E_202B_206E_200E_206A_206B_200B_206A_206D_202A_200F_206D_200F_206C_206D_206D_200E_206B_206F_200D_202A_202E(IDisposable P_0)
|
||||
{
|
||||
P_0.Dispose();
|
||||
}
|
||||
|
||||
static void _206F_200C_202C_200F_200E_202D_202C_206C_200E_206A_200C_202D_206A_206F_206E_206E_202B_200F_200C_200D_202C_206E_202B_202B_200C_202D_200F_202C_200C_202B_202C_202E_202B_206B_202B_206F_200F_206F_206A_202A_202E()
|
||||
{
|
||||
ImGui.SameLine();
|
||||
}
|
||||
|
||||
static ReadOnlyDictionary<string, IReadOnlyCommandInfo> _202A_200F_202C_206D_206F_206A_200C_200D_206B_206C_202E_206F_200D_200B_206B_200C_200C_200F_200B_206E_200D_202A_206E_200E_200E_202A_206B_206E_206B_206E_202C_200C_206C_202D_202C_206E_206E_202A_202E_202E_202E(ICommandManager P_0)
|
||||
{
|
||||
return P_0.Commands;
|
||||
}
|
||||
|
||||
static bool _206B_206A_202D_200F_200E_200C_200D_202E_202E_206A_206F_202D_206C_200D_206E_206F_206A_200B_200E_206B_202D_202C_202A_206E_200D_200D_206B_206D_202A_206C_206B_202C_202D_202A_200F_200D_202E_206C_200C_200F_202E(ImGuiKey P_0)
|
||||
{
|
||||
return ImGui.IsKeyDown(P_0);
|
||||
}
|
||||
|
||||
static bool _202E_202A_206A_206C_206B_206D_200F_206E_206F_200E_206E_206E_202A_202D_202A_200F_202E_206A_202C_202B_206C_206C_200B_200F_202B_206D_200D_200C_200B_206E_200B_206E_200D_200D_200E_206B_200E_206D_200C_202C_202E(ICommandManager P_0, string P_1)
|
||||
{
|
||||
return P_0.ProcessCommand(P_1);
|
||||
}
|
||||
|
||||
static bool _202E_206E_200C_202C_206E_202D_200F_206D_206B_206A_202D_202B_202C_202D_206D_202A_200B_202B_206A_206C_206F_206D_200F_206D_206B_206E_200E_206B_206F_200E_206A_202C_202B_200C_202B_206E_206C_200D_200C_202B_202E(ImGuiHoveredFlags P_0)
|
||||
{
|
||||
return ImGui.IsItemHovered(P_0);
|
||||
}
|
||||
|
||||
static void _200C_200E_202E_206C_206E_202B_202A_206F_206E_206C_200D_206A_200D_206C_200B_200B_206B_202D_202C_200C_200B_206B_200C_206A_202C_202E_200F_202B_206F_206C_200F_206A_200D_202A_206F_200F_202E_206D_206A_206C_202E(ImU8String P_0)
|
||||
{
|
||||
ImGui.SetTooltip(P_0);
|
||||
}
|
||||
|
||||
static Vector4 _206E_206D_200F_200E_206D_206E_206A_206D_200B_202C_200B_206A_206E_202B_206A_200F_202D_200C_202A_206E_202E_206F_202D_202E_202D_202B_206D_202E_206B_200B_200F_206B_200F_206C_200F_206F_200F_206B_206F_206A_202E()
|
||||
{
|
||||
return ImGuiColors.DalamudRed;
|
||||
}
|
||||
|
||||
static Vector4 _200C_200B_206D_200C_202A_206A_200B_206D_206A_202A_206C_200F_202E_200B_200B_202B_206D_202C_206E_202C_200B_206A_206C_200E_202E_206A_206A_202C_202B_200F_202E_202D_200D_202A_206C_202C_206B_202D_206F_200C_202E()
|
||||
{
|
||||
return ImGuiColors.DalamudYellow;
|
||||
}
|
||||
|
||||
static Vector4 _200D_200E_206B_200F_202E_202A_206B_202C_202C_200B_200C_206A_202A_206B_200F_206F_200E_200F_206A_206F_200B_202C_200C_200C_200B_202C_206E_200C_206E_202C_200D_200C_200B_200B_202D_200E_202E_200E_202E_202E()
|
||||
{
|
||||
return ImGuiColors.ParsedBlue;
|
||||
}
|
||||
|
||||
static ImRaii.IdDisposable _200D_202E_202D_206A_206F_206F_206B_206D_206B_206E_200E_202A_200E_206A_206F_200F_202A_202D_200D_202E_200F_206B_200B_206E_206B_200C_202C_206A_200B_202D_202E_202E_200D_200F_200C_206A_200D_202E_206A_202C_202E(ImU8String P_0, bool P_1)
|
||||
{
|
||||
return ImRaii.PushId(P_0, P_1);
|
||||
}
|
||||
|
||||
static float _202E_200E_206D_206C_206D_200F_206E_206F_202E_206D_206F_206F_200D_200E_200E_200D_202E_206A_206A_200B_206E_202E_206A_200E_202D_206D_202B_202A_206F_202D_202C_202D_200B_206F_200C_206B_200B_202D_200E_202D_202E()
|
||||
{
|
||||
return ImGuiHelpers.GlobalScale;
|
||||
}
|
||||
|
||||
static IUiBuilder _202E_202C_202B_200F_202A_202B_206D_206A_206F_202B_206E_202C_202E_206A_200C_202E_202C_200F_200F_206C_200C_200B_206F_206D_200B_206B_200E_206A_206B_200D_202E_206D_202D_200E_200E_200E_206C_206C_200D_202A_202E(IDalamudPluginInterface P_0)
|
||||
{
|
||||
return P_0.UiBuilder;
|
||||
}
|
||||
|
||||
static IFontHandle _206C_206B_202A_200F_206A_202C_200C_206F_206D_206C_200E_206A_206D_200E_206C_206B_202E_200D_200F_206E_206A_206A_206C_202A_200C_200E_206C_202E_202A_202C_200E_200D_200D_200D_202C_200E_206B_206A_202D_206C_202E(IUiBuilder P_0)
|
||||
{
|
||||
return P_0.IconFontFixedWidthHandle;
|
||||
}
|
||||
|
||||
static IDisposable _200C_202C_200D_202D_200F_202A_206B_200C_202E_206E_202A_202D_200B_200F_206F_202A_206E_202E_200F_202A_200B_200C_202B_206C_202D_200B_200E_200C_206B_206F_200F_200C_202A_206C_200F_200E_206C_202D_202D_202B_202E(IFontHandle P_0)
|
||||
{
|
||||
return P_0.Push();
|
||||
}
|
||||
|
||||
static string _200F_206D_200E_206F_200F_200D_206E_200B_202C_206A_200D_202E_200D_206E_202E_200B_202D_206A_202C_202B_206A_206B_202E_202C_202B_202A_200F_206D_206F_206B_206A_202B_206D_200D_206F_200F_202D_202A_206C_200C_202E(FontAwesomeIcon P_0)
|
||||
{
|
||||
return P_0.ToIconString();
|
||||
}
|
||||
|
||||
static Vector2 _200C_200F_200F_202D_202A_200E_202C_206C_202A_200C_206D_200E_200D_206B_206B_202A_206E_202C_200C_202D_200C_202C_206E_206A_200C_200C_200E_202E_206E_200D_202C_206F_200B_206F_200F_202A_206D_206B_206F_202E_202E(ImU8String P_0, bool P_1, float P_2)
|
||||
{
|
||||
return ImGui.CalcTextSize(P_0, P_1, P_2);
|
||||
}
|
||||
|
||||
static CultureInfo _200D_202B_202B_202B_206F_202C_206B_202A_206A_206F_202D_200D_206C_206F_206D_202A_202E_206B_206A_202D_206F_200E_202B_202A_206F_200F_206C_206B_206E_200C_200C_202D_200D_206B_200D_206B_202B_206D_206E_200E_202E()
|
||||
{
|
||||
return CultureInfo.InvariantCulture;
|
||||
}
|
||||
|
||||
static float _202E_206D_200B_200D_202D_206D_202E_202B_202B_200F_206B_200C_202C_202E_202D_206C_206C_202C_202B_200C_202E_206E_202E_202E_206B_206C_206C_202D_206E_206E_206F_202E_200D_200E_206A_202C_206C_202B_206B_200F_202E()
|
||||
{
|
||||
return ImGui.GetFrameHeight();
|
||||
}
|
||||
|
||||
static Vector2 _206C_202B_202B_206A_200F_200C_206F_202E_200B_206B_202A_206A_206D_202E_206A_206D_206E_202A_200F_202E_202E_200C_206E_206D_202E_202C_202B_206E_206E_202B_206A_206D_202E_202A_202A_202A_202D_200E_206F_200C_202E()
|
||||
{
|
||||
return ImGui.GetCursorScreenPos();
|
||||
}
|
||||
|
||||
static bool _200C_206D_200C_206F_206E_202D_202C_200E_202B_206F_202C_206B_202E_206C_206A_200B_200E_200F_206E_202D_202E_206F_200B_206B_200C_200D_200C_206E_206C_206A_202D_200D_206C_202A_200E_206B_206E_206E_200F_206B_202E(ImU8String P_0, Vector2 P_1)
|
||||
{
|
||||
return ImGui.Button(P_0, P_1);
|
||||
}
|
||||
|
||||
static ImDrawListPtr _200D_206D_206E_202D_200D_200F_202A_202D_200D_206C_206E_206D_206F_200B_202A_202B_206B_202B_206E_202B_200F_200D_202A_206C_206D_202E_200F_202C_202A_206B_200F_200D_202E_206F_202A_200D_200B_200C_202C_206F_202E()
|
||||
{
|
||||
return ImGui.GetWindowDrawList();
|
||||
}
|
||||
|
||||
static uint _206C_202C_202D_200D_200D_202E_200D_206D_202B_200E_200F_202E_202B_200E_200C_200B_202C_206A_202D_206F_200B_202B_206C_206D_202A_200D_202C_206B_206B_202B_202B_206A_206E_202A_200D_200E_200D_206B_206F_206F_202E(Vector4 P_0)
|
||||
{
|
||||
return ImGui.GetColorU32(P_0);
|
||||
}
|
||||
|
||||
static uint _200C_202B_202A_206B_202E_202D_200F_206D_200E_200E_200D_206B_200C_202E_200C_206D_202D_206F_202A_202A_202B_206B_202A_206C_206D_206F_200D_202C_206F_202D_202E_200C_202B_206A_206F_206B_206A_200F_200F_200C_202E(ImGuiCol P_0)
|
||||
{
|
||||
return ImGui.GetColorU32(P_0);
|
||||
}
|
||||
|
||||
static void _206C_206A_206F_206D_206E_206C_200C_200E_202D_200C_202A_202A_200F_206D_200C_200E_200E_200D_206E_206E_202C_206C_202D_200C_200B_200F_206A_206B_200B_206A_202B_202A_206B_200B_202A_206A_200D_200E_202D_200F_202E(LWindow P_0, bool P_1)
|
||||
{
|
||||
P_0.IsOpenAndUncollapsed = P_1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue