muffin v7.5.6
This commit is contained in:
parent
6266f9e6b7
commit
addf2d530f
619 changed files with 264792 additions and 446022 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -1,10 +1,19 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using Dalamud.Bindings.ImGui;
|
||||
using Dalamud.Configuration;
|
||||
using Dalamud.Game.Text;
|
||||
using Dalamud.Interface;
|
||||
using Dalamud.Interface.Colors;
|
||||
using Dalamud.Interface.Utility.Raii;
|
||||
using Dalamud.Plugin;
|
||||
using Questionable.Model.Questing;
|
||||
using Questionable.Windows.Utils;
|
||||
|
||||
namespace Questionable.Windows.ConfigComponents;
|
||||
|
||||
|
|
@ -16,24 +25,27 @@ internal abstract class ConfigComponent
|
|||
|
||||
protected const string DutyBlacklistPrefix = "-";
|
||||
|
||||
private const string ModePrefix = "M:";
|
||||
|
||||
protected readonly string[] SupportedCfcOptions = new string[3]
|
||||
{
|
||||
$"{SeIconChar.Circle.ToIconChar()} Enabled (Default)",
|
||||
$"{SeIconChar.Circle.ToIconChar()} Enabled",
|
||||
$"{SeIconChar.Cross.ToIconChar()} Disabled"
|
||||
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>(-1807221551),
|
||||
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>(380812930),
|
||||
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>(2101114993)
|
||||
};
|
||||
|
||||
protected readonly string[] UnsupportedCfcOptions = new string[3]
|
||||
{
|
||||
$"{SeIconChar.Cross.ToIconChar()} Disabled (Default)",
|
||||
$"{SeIconChar.Circle.ToIconChar()} Enabled",
|
||||
$"{SeIconChar.Cross.ToIconChar()} Disabled"
|
||||
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>(131074132),
|
||||
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>(429773793),
|
||||
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>(1347834949)
|
||||
};
|
||||
|
||||
private readonly IDalamudPluginInterface _pluginInterface;
|
||||
|
||||
protected Configuration Configuration { get; }
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
protected ConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration)
|
||||
{
|
||||
_pluginInterface = pluginInterface;
|
||||
|
|
@ -44,45 +56,614 @@ internal abstract class ConfigComponent
|
|||
|
||||
protected void Save()
|
||||
{
|
||||
_pluginInterface.SavePluginConfig(Configuration);
|
||||
_202D_206A_206C_206D_202D_206D_202A_200C_202E_202B_206A_206D_206D_202C_200C_206E_206A_202E_202C_202E_206E_206F_200C_206E_200E_206E_206E_206E_200B_202B_206A_206F_206F_202B_206D_202E_202A_202D_202C_206B_202E(_pluginInterface, (IPluginConfiguration)Configuration);
|
||||
}
|
||||
|
||||
protected static string FormatLevel(int level, bool includePrefix = true)
|
||||
{
|
||||
if (level == 0)
|
||||
int num = ((level != 0) ? (-1915937495) : (-1915937494));
|
||||
while (true)
|
||||
{
|
||||
return string.Empty;
|
||||
int num2 = num;
|
||||
int num3 = -1915937496;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 1:
|
||||
return $"{(includePrefix ? _200E_206D_202B_200B_202C_206F_202E_200E_200D_206E_206D_206A_200E_206B_202C_202D_200F_206D_206A_206E_202C_202E_206D_202A_202B_206E_202C_202D_202A_206F_200C_206A_200B_202D_200C_202E_206E_202B_202C_202D_202E(SeIconChar.LevelEn) : string.Empty)}{FormatLevel(level / 10, includePrefix: false)}{_202B_202A_206D_206F_200B_200F_200E_200D_200D_202D_200E_206B_202E_200F_202C_206C_202E_202D_206F_206C_200D_200B_206C_200C_200F_206E_200C_206B_202B_202E_202C_206E_200E_206D_206D_202D_206A_202B_202C_200C_202E((SeIconChar)(57440 + level % 10))}";
|
||||
case 2:
|
||||
return string.Empty;
|
||||
case 0:
|
||||
goto IL_00a2;
|
||||
}
|
||||
continue;
|
||||
IL_00a2:
|
||||
num = -1915937494;
|
||||
}
|
||||
return $"{(includePrefix ? SeIconChar.LevelEn.ToIconString() : string.Empty)}{FormatLevel(level / 10, includePrefix: false)}{((SeIconChar)(57440 + level % 10)).ToIconChar()}";
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
protected static void DrawNotes(bool enabledByDefault, IEnumerable<string> notes)
|
||||
{
|
||||
using ImRaii.ColorDisposable colorDisposable = new ImRaii.ColorDisposable();
|
||||
colorDisposable.Push(ImGuiCol.TextDisabled, (!enabledByDefault) ? ImGuiColors.DalamudYellow : ImGuiColors.ParsedBlue);
|
||||
ImGui.SameLine();
|
||||
using (ImRaii.PushFont(UiBuilder.IconFont))
|
||||
ImRaii.ColorDisposable colorDisposable = _202D_200E_206F_200F_200B_206A_200C_206E_206B_206E_200B_202D_202C_202C_206C_200D_202C_200F_206C_202E_202B_200E_202D_202C_206F_206B_206A_200C_200C_202D_206B_206F_206F_200D_202D_206A_202E_200E_202B_206F_202E();
|
||||
try
|
||||
{
|
||||
if (!enabledByDefault)
|
||||
_206E_206E_202A_202B_202E_202C_202B_200F_200B_206E_200D_200D_206F_202C_200C_202D_206C_206A_202E_202A_206F_200E_202C_200E_200F_206C_200E_202E_202B_200C_202D_200E_206C_200F_200C_200D_200F_206F_206E_202A_202E(colorDisposable, ImGuiCol.TextDisabled, (!enabledByDefault) ? UiThemeUtils.StatusActive : UiThemeUtils.StatusAvailableComplete, true);
|
||||
_206F_206D_202C_206B_206D_200F_200D_206E_206C_200B_200E_202B_200B_206A_200C_200D_200E_206C_202D_200D_200B_202D_202E_202A_206A_202B_202E_200C_202C_206D_206D_200E_206A_206B_206C_206D_206C_206C_202C_206D_202E();
|
||||
ImRaii.FontDisposable fontDisposable = _202B_200D_200B_200F_206E_202D_206A_200E_206C_202E_202E_206C_202A_206E_202A_200E_202C_206B_206E_206F_200B_200D_200B_202C_200F_206C_206D_206B_200D_202D_206F_202B_202C_202B_206A_206E_200B_206B_206E_200D_202E(_202A_200C_202B_206A_202B_202E_200E_200C_202C_202D_200B_202C_206F_200B_206D_200D_206B_206A_200B_206F_206E_206C_206A_206C_202D_206B_200C_200B_200F_202C_206E_200E_206B_206B_202B_206D_206E_206E_202A_206D_202E(), true);
|
||||
int num;
|
||||
try
|
||||
{
|
||||
ImGui.TextDisabled(FontAwesomeIcon.ExclamationTriangle.ToIconString());
|
||||
num = (enabledByDefault ? (-1607405850) : (-1607405851));
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1607405852;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 0:
|
||||
goto IL_0081;
|
||||
case 1:
|
||||
_206E_206F_200D_202E_200E_206B_206B_206F_200C_206C_202E_206D_200E_200E_202A_206E_206F_206E_202C_200E_202E_202E_202B_206F_202D_206D_206D_202D_200D_202D_200F_206D_200C_202C_200F_206E_200F_202D_202C_200D_202E((ImU8String)_202C_202B_206C_202E_200B_206D_200B_206D_200E_200B_200D_206C_200B_202B_206E_202D_200D_202C_206C_206D_200D_202C_202D_200D_200B_206B_200F_206C_206B_206D_202A_200F_200B_206B_200F_200C_200D_202E_202B_200F_202E(FontAwesomeIcon.ExclamationTriangle));
|
||||
goto end_IL_0053;
|
||||
case 2:
|
||||
_206E_206F_200D_202E_200E_206B_206B_206F_200C_206C_202E_206D_200E_200E_202A_206E_206F_206E_202C_200E_202E_202E_202B_206F_202D_206D_206D_202D_200D_202D_200F_206D_200C_202C_200F_206E_200F_202D_202C_200D_202E((ImU8String)_202C_202B_206C_202E_200B_206D_200B_206D_200E_200B_200D_206C_200B_202B_206E_202D_200D_202C_206C_206D_200D_202C_202D_200D_200B_206B_200F_206C_206B_206D_202A_200F_200B_206B_200F_200C_200D_202E_202B_200F_202E(FontAwesomeIcon.InfoCircle));
|
||||
goto end_IL_0053;
|
||||
}
|
||||
continue;
|
||||
IL_0081:
|
||||
num = -1607405851;
|
||||
continue;
|
||||
end_IL_0053:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
finally
|
||||
{
|
||||
ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString());
|
||||
num = ((fontDisposable == null) ? (-1267252928) : (-1267252927));
|
||||
while (true)
|
||||
{
|
||||
int num7 = num;
|
||||
int num3 = -1267252928;
|
||||
int num4 = num7;
|
||||
int num8 = num4 + num3;
|
||||
int num9 = num4 & num3;
|
||||
switch (num8 - (num9 + num9))
|
||||
{
|
||||
case 2:
|
||||
num = -1267252927;
|
||||
break;
|
||||
case 1:
|
||||
_202D_202B_202E_202D_202E_200C_200D_202B_200B_202E_200F_206A_202D_202D_200E_202D_202B_200F_202C_202E_206C_206B_202D_200F_200C_200C_200C_202D_200E_200C_202B_200D_200D_200C_206D_200C_200B_200B_206D_206E_202E((IDisposable)fontDisposable);
|
||||
num = -1267252928;
|
||||
break;
|
||||
case 0:
|
||||
goto end_IL_00e9;
|
||||
}
|
||||
continue;
|
||||
end_IL_00e9:
|
||||
break;
|
||||
}
|
||||
}
|
||||
num = (_202D_200C_206A_200E_206E_206B_200B_206A_202D_202B_202C_202D_206E_206F_206F_200E_202E_206F_202D_206D_206E_202C_206D_200C_206F_206A_200C_206C_202B_206B_200E_202A_202C_200F_206F_202B_202B_202B_206F_200C_202E() ? 777277028 : 777277031);
|
||||
while (true)
|
||||
{
|
||||
int num10 = num;
|
||||
int num3 = 777277029;
|
||||
int num4 = num10;
|
||||
int num11 = num4 + num3;
|
||||
int num12 = num4 & num3;
|
||||
switch (num11 - (num12 + num12))
|
||||
{
|
||||
case 0:
|
||||
goto IL_0186;
|
||||
case 2:
|
||||
return;
|
||||
case 1:
|
||||
using (_202B_206C_202A_206E_202E_202B_206F_200F_202C_206F_200B_206E_206D_200D_206B_206F_206D_200C_200B_202B_206E_206B_206E_200F_206F_206B_200D_202B_200E_206F_206D_202D_206D_206E_202B_200D_202E_206D_202C_206C_202E())
|
||||
{
|
||||
_202E_202E_202C_206D_200F_206C_206F_202E_200D_202B_206A_200C_206A_206A_206C_202B_202B_206C_200F_200C_200D_202C_200F_206E_206D_206F_206A_200B_202B_206A_202D_200D_202A_206D_202B_206C_206D_202A_202D_206D_202E(ref UiThemeUtils.StatusActive, (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>(575964310));
|
||||
IEnumerator<string> enumerator = notes.GetEnumerator();
|
||||
try
|
||||
{
|
||||
num = 1611844680;
|
||||
while (true)
|
||||
{
|
||||
int num13 = num;
|
||||
num3 = 1611844682;
|
||||
num4 = num13;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 2:
|
||||
num = (_200E_202C_202E_200C_200C_202D_206C_206F_206B_206D_200C_206F_206B_206F_202E_206C_206E_202D_200F_206A_206E_206D_202D_202D_206E_200F_200B_202B_200D_202E_206D_202A_200C_200B_200C_200F_200F_202D_206C_200E_202E((IEnumerator)enumerator) ? 1611844683 : 1611844682);
|
||||
break;
|
||||
case 1:
|
||||
_202A_206C_206B_202E_200D_206E_202A_202B_206F_206C_206B_200E_206F_206F_200F_206A_200C_202A_202D_202D_206A_202C_206C_200F_206A_206F_200D_206D_206E_200F_202B_200B_206E_206B_206A_200B_200D_206E_206B_206D_202E((ImU8String)enumerator.Current);
|
||||
num = 1611844680;
|
||||
break;
|
||||
case 3:
|
||||
num = 1611844680;
|
||||
break;
|
||||
case 0:
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((enumerator == null) ? (-1247894138) : (-1247894139));
|
||||
while (true)
|
||||
{
|
||||
int num14 = num;
|
||||
num3 = -1247894140;
|
||||
num4 = num14;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 0:
|
||||
num = -1247894139;
|
||||
break;
|
||||
case 2:
|
||||
goto end_IL_0273;
|
||||
case 1:
|
||||
_202D_202B_202E_202D_202E_200C_200D_202B_200B_202E_200F_206A_202D_202D_200E_202D_202B_200F_202C_202E_206C_206B_202D_200F_200C_200C_200C_202D_200E_200C_202B_200D_200D_200C_206D_200C_200B_200B_206D_206E_202E((IDisposable)enumerator);
|
||||
num = -1247894138;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_0273:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
continue;
|
||||
IL_0186:
|
||||
num = 777277031;
|
||||
}
|
||||
}
|
||||
if (!ImGui.IsItemHovered())
|
||||
finally
|
||||
{
|
||||
return;
|
||||
}
|
||||
using (ImRaii.Tooltip())
|
||||
{
|
||||
ImGui.TextColored(ImGuiColors.DalamudYellow, "While testing, the following issues have been found:");
|
||||
foreach (string note in notes)
|
||||
int num = ((colorDisposable == null) ? (-697778220) : (-697778217));
|
||||
while (true)
|
||||
{
|
||||
ImGui.BulletText(note);
|
||||
int num15 = num;
|
||||
int num3 = -697778219;
|
||||
int num4 = num15;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 0:
|
||||
num = -697778217;
|
||||
break;
|
||||
case 1:
|
||||
goto end_IL_02e4;
|
||||
case 2:
|
||||
_202D_202B_202E_202D_202E_200C_200D_202B_200B_202E_200F_206A_202D_202D_200E_202D_202B_200F_202C_202E_206C_206B_202D_200F_200C_200C_200C_202D_200E_200C_202B_200D_200D_200C_206D_200C_200B_200B_206D_206E_202E((IDisposable)colorDisposable);
|
||||
num = -697778220;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_02e4:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
protected void DrawClipboardButtons(string clipboardPrefix, HashSet<uint> whitelistedIds, HashSet<uint> blacklistedIds, Dictionary<uint, EDutyMode>? modeOverrides = null)
|
||||
{
|
||||
ImRaii.DisabledDisposable disabledDisposable = _206C_206E_200C_206C_206E_206E_200F_202C_206F_202D_202E_202A_200B_200F_200E_206D_206A_200B_202D_202B_202B_200C_202E_202A_200C_202E_202D_202D_206E_206E_206B_202A_200B_202E_200C_202C_206D_200F_202D_202E_202E(whitelistedIds.Count + blacklistedIds.Count + (modeOverrides?.Count ?? 0) == 0);
|
||||
int num;
|
||||
try
|
||||
{
|
||||
num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Copy, 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>(1414767654))) ? 1188485484 : 1188485481);
|
||||
IEnumerable<string> enumerable = default(IEnumerable<string>);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1188485480;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 3:
|
||||
enumerable = enumerable.Concat(modeOverrides.Select([MethodImpl(MethodImplOptions.NoInlining)] (KeyValuePair<uint, EDutyMode> x) =>
|
||||
{
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(1, 3);
|
||||
defaultInterpolatedStringHandler.AppendFormatted(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>(1388362359));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(x.Key);
|
||||
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>(-1940061145));
|
||||
defaultInterpolatedStringHandler.AppendFormatted((int)x.Value);
|
||||
return defaultInterpolatedStringHandler.ToStringAndClear();
|
||||
}));
|
||||
num = 1188485480;
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
IEnumerable<string> first = whitelistedIds.Select([MethodImpl(MethodImplOptions.NoInlining)] (uint x) => $"{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>(-1206370274)}{x}");
|
||||
IEnumerable<string> second = blacklistedIds.Select([MethodImpl(MethodImplOptions.NoInlining)] (uint x) => $"{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>(-2079705286)}{x}");
|
||||
enumerable = first.Concat(second);
|
||||
num = ((modeOverrides == null) ? 1188485480 : 1188485483);
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
num = 1188485481;
|
||||
break;
|
||||
case 0:
|
||||
_202C_206E_200C_202B_202A_202B_206C_202E_206C_206B_206B_202D_206F_200D_200C_206C_200B_206D_206B_206E_206C_206B_200C_200D_206D_206E_202C_202B_202E_200B_202C_206D_206B_202E_200E_202E_200E_206E_206A_202A_202E((ImU8String)_206C_202B_206F_200D_206B_200C_200E_206B_200D_202D_206B_202A_200E_202E_202A_202E_206A_206A_200D_206D_200F_200B_202C_206D_200C_206E_206D_202E_202C_200C_200B_202A_206D_206A_202E_206C_200B_202E_200C_200F_202E(clipboardPrefix, _206C_202A_206E_202E_206D_202C_206F_202C_206C_200F_206F_200F_202D_206D_206D_200C_206B_206F_200B_200E_206E_206D_206C_202C_200C_206E_200E_200B_206B_206C_200F_200B_206B_206A_202E_206E_200F_206E_200C_202D_202E(_200C_202E_200E_202B_200C_202D_202A_206C_206B_202A_202A_202C_206B_206E_202A_202A_206B_200E_200B_200D_200C_200F_206E_200B_206D_202B_206B_200F_202D_202B_200D_202A_206B_200E_202E_206B_202D_206A_206F_200F_202E(_200C_200C_206B_200F_206D_200E_202D_202B_200D_202D_200B_200C_202E_200C_206A_202D_202D_200E_206B_206D_202A_200B_206B_206A_206B_200C_202A_200F_206A_206D_200E_206D_202A_206A_206E_206C_206F_200C_206F_202C_202E(), _200F_202A_202E_206A_200B_206C_206E_206F_206B_200D_200B_200F_206B_200D_202C_206C_200D_206B_200D_202E_206C_202D_200D_206D_200D_206B_202E_200D_206D_206F_200C_202B_202A_200E_200B_206F_200B_200B_200D_202B_202E(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>(1344195866), enumerable)))));
|
||||
num = 1188485484;
|
||||
break;
|
||||
case 4:
|
||||
goto end_IL_005c;
|
||||
}
|
||||
continue;
|
||||
end_IL_005c:
|
||||
break;
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((disabledDisposable == null) ? (-1379274858) : (-1379274859));
|
||||
while (true)
|
||||
{
|
||||
int num5 = num;
|
||||
int num3 = -1379274857;
|
||||
int num4 = num5;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 0:
|
||||
num = -1379274859;
|
||||
break;
|
||||
case 1:
|
||||
goto end_IL_01ad;
|
||||
case 2:
|
||||
_202D_202B_202E_202D_202E_200C_200D_202B_200B_202E_200F_206A_202D_202D_200E_202D_202B_200F_202C_202E_206C_206B_202D_200F_200C_200C_200C_202D_200E_200C_202B_200D_200D_200C_206D_200C_200B_200B_206D_206E_202E((IDisposable)disabledDisposable);
|
||||
num = -1379274858;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_01ad:
|
||||
break;
|
||||
}
|
||||
}
|
||||
_206F_206D_202C_206B_206D_200F_200D_206E_206C_200B_200E_202B_200B_206A_200C_200D_200E_206C_202D_200D_200B_202D_202E_202A_206A_202B_202E_200C_202C_206D_206D_200E_206A_206B_206C_206D_206C_206C_202C_206D_202E();
|
||||
string text = ThrottledClipboard.GetText();
|
||||
num = (_202B_206E_200E_206B_202A_206D_206F_206C_200E_202B_202E_206E_206B_206B_200E_206F_206F_202C_200C_202A_200B_206D_200E_200F_200C_202B_202C_202E_202B_200E_202E_206C_206A_202A_206B_202C_202B_202B_200D_200C_202E(text) ? 390106122 : 390106121);
|
||||
int num7;
|
||||
while (true)
|
||||
{
|
||||
int num6 = num;
|
||||
int num3 = 390106120;
|
||||
int num4 = num6;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
default:
|
||||
continue;
|
||||
case 0:
|
||||
goto IL_0252;
|
||||
case 1:
|
||||
num7 = ((!_202D_206F_200D_206A_200E_206D_200D_206E_200C_200D_200E_202E_200F_206A_206B_200D_206E_200E_200B_202C_202D_200E_206B_202C_200F_206F_202D_202A_200C_202D_200E_200C_200C_202E_200E_202D_200E_206C_206E_206E_202E(text, clipboardPrefix, StringComparison.InvariantCulture)) ? 1 : 0);
|
||||
break;
|
||||
case 2:
|
||||
num7 = 1;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
IL_0252:
|
||||
num = 390106121;
|
||||
}
|
||||
disabledDisposable = _206C_206E_200C_206C_206E_206E_200F_202C_206F_202D_202E_202A_200B_200F_200E_206D_206A_200B_202D_202B_202B_200C_202E_202A_200C_202E_202D_202D_206E_206E_206B_202A_200B_202E_200C_202C_206D_200F_202D_202E_202E((byte)num7 != 0);
|
||||
try
|
||||
{
|
||||
num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Paste, 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>(2037990506))) ? 291266974 : 291266962);
|
||||
string text2 = default(string);
|
||||
uint result2 = default(uint);
|
||||
int result3 = default(int);
|
||||
uint result4 = default(uint);
|
||||
int num10 = default(int);
|
||||
ReadOnlySpan<char> span = default(ReadOnlySpan<char>);
|
||||
int num14 = default(int);
|
||||
string[] array = default(string[]);
|
||||
uint result = default(uint);
|
||||
while (true)
|
||||
{
|
||||
int num8 = num;
|
||||
int num3 = 291266975;
|
||||
int num4 = num8;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 16:
|
||||
num = ((!uint.TryParse(_202D_206B_206C_206C_202A_206F_200C_206E_202A_206D_206E_200F_206D_200F_206F_202A_206F_202D_200C_206E_200C_200B_202B_202A_200E_200D_200B_202C_200D_202E_202B_200D_206F_202A_202C_206B_202E_206D_202E_200F_202E(text2, _206D_202A_202D_202D_206F_202B_206A_200E_206F_200F_202D_200C_200E_200C_202B_206B_200D_200B_206E_200B_200C_206D_206B_202E_206C_206F_206A_206E_206C_202B_206A_200D_202A_200C_200E_206C_200B_206A_200F_206D_202E(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>(195401427))), _206B_202D_200F_206C_202D_202D_206B_206B_200C_206E_202D_200B_202D_206B_206A_206C_206B_200F_206B_200F_206C_202B_200E_206E_202A_200C_200D_206A_200C_206F_206F_206F_200C_202D_206F_202B_202D_202D_202A_200D_202E(), out result2)) ? 291266967 : 291266972);
|
||||
break;
|
||||
case 0:
|
||||
num = ((!_202D_206F_200D_206A_200E_206D_200D_206E_200C_200D_200E_202E_200F_206A_206B_200D_206E_200E_200B_202C_202D_200E_206B_202C_200F_206F_202D_202A_200C_202D_200E_200C_200C_202E_200E_202D_200E_206C_206E_206E_202E(text2, 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>(1172231633), StringComparison.InvariantCulture)) ? 291266957 : 291266969);
|
||||
break;
|
||||
case 17:
|
||||
num = ((!_202D_206C_202D_202D_202B_200C_206E_202C_202A_206A_200B_206E_206A_202E_200E_206E_202E_206C_200F_206F_200C_206E_202C_206E_200F_200C_202A_206A_202C_200C_200E_200E_202E_206E_200C_206D_206C_202A_206C_206E_202E(_200C_206A_206D_200C_206F_200C_200C_202D_202B_202C_206E_202B_200F_202D_200D_200D_202B_200C_206D_206F_200C_206F_206A_206A_200E_200D_206F_202C_206F_206F_200F_202D_206F_206E_200E_206E_206E_206C_200F_206C_202E(typeof(EDutyMode).TypeHandle), (object)result3)) ? 291266957 : 291266960);
|
||||
break;
|
||||
case 15:
|
||||
modeOverrides[result4] = (EDutyMode)result3;
|
||||
num = 291266957;
|
||||
break;
|
||||
case 12:
|
||||
num = ((modeOverrides == null) ? 291266957 : 291266975);
|
||||
break;
|
||||
case 18:
|
||||
{
|
||||
int num9 = num10;
|
||||
num3 = 1;
|
||||
num4 = num9;
|
||||
int num11 = num4 ^ num3;
|
||||
int num12 = num4 & num3;
|
||||
num10 = num11 + (num12 + num12);
|
||||
num = 291266970;
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
num = ((!uint.TryParse(span.Slice(0, num14), _206B_202D_200F_206C_202D_202D_206B_206B_200C_206E_202D_200B_202D_206B_206A_206C_206B_200F_206B_200F_206C_202B_200E_206E_202A_200C_200D_206A_200C_206F_206F_206F_200C_202D_206F_202B_202D_202D_202A_200D_202E(), out result4)) ? 291266957 : 291266961);
|
||||
break;
|
||||
case 7:
|
||||
text2 = array[num10];
|
||||
num = ((!_202D_206F_200D_206A_200E_206D_200D_206E_200C_200D_200E_202E_200F_206A_206B_200D_206E_200E_200B_202C_202D_200E_206B_202C_200F_206F_202D_202A_200C_202D_200E_200C_200C_202E_200E_202D_200E_206C_206E_206E_202E(text2, 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>(195401427), StringComparison.InvariantCulture)) ? 291266967 : 291266959);
|
||||
break;
|
||||
case 3:
|
||||
whitelistedIds.Add(result2);
|
||||
num = 291266967;
|
||||
break;
|
||||
case 11:
|
||||
Save();
|
||||
num = 291266974;
|
||||
break;
|
||||
case 13:
|
||||
{
|
||||
text = _202B_200E_206D_206D_202B_206C_206F_202B_206A_200B_202D_202C_206B_200D_202B_202E_200F_206C_200F_206A_206F_200C_200C_202B_200B_200D_200F_206D_206E_200D_206C_200D_202A_200B_202B_206D_200F_200C_206A_202D_202E(text, _206D_202C_206E_200E_206E_206E_200E_206C_200E_202D_202B_200F_206A_206A_200E_200B_206B_206B_206E_206F_206C_200B_202E_202A_202E_202C_206D_202D_202D_200B_200F_200B_200B_206E_206C_200C_200B_200F_200B_202B_202E(clipboardPrefix));
|
||||
string text3 = _206A_206C_200C_200D_206D_200C_202A_200B_202D_206C_206B_200F_206F_206D_206C_206B_206D_206D_206C_206A_200C_202D_206C_200D_206C_206F_202B_202E_202B_200F_200D_206A_200C_206D_200D_202C_200E_200E_206B_206C_202E(_200C_200C_206B_200F_206D_200E_202D_202B_200D_202D_200B_200C_202E_200C_206A_202D_202D_200E_206B_206D_202A_200B_206B_206A_206B_200C_202A_200F_206A_206D_200E_206D_202A_206A_206E_206C_206F_200C_206F_202C_202E(), _202D_202B_202D_202D_206E_200E_200F_206C_200C_202D_200D_202D_202E_206F_202D_202D_200B_206C_206E_202C_202D_200C_206D_202B_202A_202A_200F_200E_200C_200D_206D_206F_200B_206C_206B_200B_202C_200F_202C_202B_202E(text));
|
||||
whitelistedIds.Clear();
|
||||
blacklistedIds.Clear();
|
||||
modeOverrides?.Clear();
|
||||
array = _206E_200D_206D_202B_206A_206F_200F_206F_206F_200F_206D_202A_202E_200E_200E_206A_206C_206A_202C_202D_206E_200F_200F_206F_206D_200F_206D_206B_200D_202A_206F_200D_206A_206C_202A_202E_206D_200F_206B_200E_202E(text3, 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>(-1892636274), StringSplitOptions.None);
|
||||
num10 = 0;
|
||||
num = 291266970;
|
||||
break;
|
||||
}
|
||||
case 6:
|
||||
span = _202D_206B_206C_206C_202A_206F_200C_206E_202A_206D_206E_200F_206D_200F_206F_202A_206F_202D_200C_206E_200C_200B_202B_202A_200E_200D_200B_202C_200D_202E_202B_200D_206F_202A_202C_206B_202E_206D_202E_200F_202E(text2, _206D_202A_202D_202D_206F_202B_206A_200E_206F_200F_202D_200C_200E_200C_202B_206B_200D_200B_206E_200B_200C_206D_206B_202E_206C_206F_206A_206E_206C_202B_206A_200D_202A_200C_200E_206C_200B_206A_200F_206D_202E(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>(-1478813362)));
|
||||
num14 = span.IndexOf(':');
|
||||
num = ((num14 <= 0) ? 291266957 : 291266971);
|
||||
break;
|
||||
case 14:
|
||||
{
|
||||
int num13 = num14;
|
||||
num3 = 1;
|
||||
num4 = num13;
|
||||
num = ((!int.TryParse(span.Slice((num4 | num3) + (num4 & num3)), _206B_202D_200F_206C_202D_202D_206B_206B_200C_206E_202D_200B_202D_206B_206A_206C_206B_200F_206B_200F_206C_202B_200E_206E_202A_200C_200D_206A_200C_206F_206F_206F_200C_202D_206F_202B_202D_202D_202A_200D_202E(), out result3)) ? 291266957 : 291266958);
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
num = ((!uint.TryParse(_202D_206B_206C_206C_202A_206F_200C_206E_202A_206D_206E_200F_206D_200F_206F_202A_206F_202D_200C_206E_200C_200B_202B_202A_200E_200D_200B_202C_200D_202E_202B_200D_206F_202A_202C_206B_202E_206D_202E_200F_202E(text2, _206D_202A_202D_202D_206F_202B_206A_200E_206F_200F_202D_200C_200E_200C_202B_206B_200D_200B_206E_200B_200C_206D_206B_202E_206C_206F_206A_206E_206C_202B_206A_200D_202A_200C_200E_206C_200B_206A_200F_206D_202E(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))), _206B_202D_200F_206C_202D_202D_206B_206B_200C_206E_202D_200B_202D_206B_206A_206C_206B_200F_206B_200F_206C_202B_200E_206E_202A_200C_200D_206A_200C_206F_206F_206F_200C_202D_206F_202B_202D_202D_202A_200D_202E(), out result)) ? 291266963 : 291266965);
|
||||
break;
|
||||
case 5:
|
||||
num = ((num10 < array.Length) ? 291266968 : 291266964);
|
||||
break;
|
||||
case 10:
|
||||
blacklistedIds.Add(result);
|
||||
num = 291266963;
|
||||
break;
|
||||
case 9:
|
||||
num = 291266962;
|
||||
break;
|
||||
case 8:
|
||||
num = ((!_202D_206F_200D_206A_200E_206D_200D_206E_200C_200D_200E_202E_200F_206A_206B_200D_206E_200E_200B_202C_202D_200E_206B_202C_200F_206F_202D_202A_200C_202D_200E_200C_200C_202E_200E_202D_200E_206C_206E_206E_202E(text2, 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), StringComparison.InvariantCulture)) ? 291266963 : 291266973);
|
||||
break;
|
||||
case 1:
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((disabledDisposable == null) ? (-1706207698) : (-1706207699));
|
||||
while (true)
|
||||
{
|
||||
int num15 = num;
|
||||
int num3 = -1706207700;
|
||||
int num4 = num15;
|
||||
int num16 = num4 + num3;
|
||||
int num17 = num4 & num3;
|
||||
switch (num16 - (num17 + num17))
|
||||
{
|
||||
case 0:
|
||||
num = -1706207699;
|
||||
break;
|
||||
case 2:
|
||||
goto end_IL_0659;
|
||||
case 1:
|
||||
_202D_202B_202E_202D_202E_200C_200D_202B_200B_202E_200F_206A_202D_202D_200E_202D_202B_200F_202C_202E_206C_206B_202D_200F_200C_200C_200C_202D_200E_200C_202B_200D_200D_200C_206D_200C_200B_200B_206D_206E_202E((IDisposable)disabledDisposable);
|
||||
num = -1706207698;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_0659:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void _202D_206A_206C_206D_202D_206D_202A_200C_202E_202B_206A_206D_206D_202C_200C_206E_206A_202E_202C_202E_206E_206F_200C_206E_200E_206E_206E_206E_200B_202B_206A_206F_206F_202B_206D_202E_202A_202D_202C_206B_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1)
|
||||
{
|
||||
P_0.SavePluginConfig(P_1);
|
||||
}
|
||||
|
||||
static string _200E_206D_202B_200B_202C_206F_202E_200E_200D_206E_206D_206A_200E_206B_202C_202D_200F_206D_206A_206E_202C_202E_206D_202A_202B_206E_202C_202D_202A_206F_200C_206A_200B_202D_200C_202E_206E_202B_202C_202D_202E(SeIconChar P_0)
|
||||
{
|
||||
return P_0.ToIconString();
|
||||
}
|
||||
|
||||
static char _202B_202A_206D_206F_200B_200F_200E_200D_200D_202D_200E_206B_202E_200F_202C_206C_202E_202D_206F_206C_200D_200B_206C_200C_200F_206E_200C_206B_202B_202E_202C_206E_200E_206D_206D_202D_206A_202B_202C_200C_202E(SeIconChar P_0)
|
||||
{
|
||||
return P_0.ToIconChar();
|
||||
}
|
||||
|
||||
static ImRaii.ColorDisposable _202D_200E_206F_200F_200B_206A_200C_206E_206B_206E_200B_202D_202C_202C_206C_200D_202C_200F_206C_202E_202B_200E_202D_202C_206F_206B_206A_200C_200C_202D_206B_206F_206F_200D_202D_206A_202E_200E_202B_206F_202E()
|
||||
{
|
||||
return new ImRaii.ColorDisposable();
|
||||
}
|
||||
|
||||
static ImRaii.ColorDisposable _206E_206E_202A_202B_202E_202C_202B_200F_200B_206E_200D_200D_206F_202C_200C_202D_206C_206A_202E_202A_206F_200E_202C_200E_200F_206C_200E_202E_202B_200C_202D_200E_206C_200F_200C_200D_200F_206F_206E_202A_202E(ImRaii.ColorDisposable P_0, ImGuiCol P_1, Vector4 P_2, bool P_3)
|
||||
{
|
||||
return P_0.Push(P_1, P_2, P_3);
|
||||
}
|
||||
|
||||
static void _206F_206D_202C_206B_206D_200F_200D_206E_206C_200B_200E_202B_200B_206A_200C_200D_200E_206C_202D_200D_200B_202D_202E_202A_206A_202B_202E_200C_202C_206D_206D_200E_206A_206B_206C_206D_206C_206C_202C_206D_202E()
|
||||
{
|
||||
ImGui.SameLine();
|
||||
}
|
||||
|
||||
static ImFontPtr _202A_200C_202B_206A_202B_202E_200E_200C_202C_202D_200B_202C_206F_200B_206D_200D_206B_206A_200B_206F_206E_206C_206A_206C_202D_206B_200C_200B_200F_202C_206E_200E_206B_206B_202B_206D_206E_206E_202A_206D_202E()
|
||||
{
|
||||
return UiBuilder.IconFont;
|
||||
}
|
||||
|
||||
static ImRaii.FontDisposable _202B_200D_200B_200F_206E_202D_206A_200E_206C_202E_202E_206C_202A_206E_202A_200E_202C_206B_206E_206F_200B_200D_200B_202C_200F_206C_206D_206B_200D_202D_206F_202B_202C_202B_206A_206E_200B_206B_206E_200D_202E(ImFontPtr P_0, bool P_1)
|
||||
{
|
||||
return ImRaii.PushFont(P_0, P_1);
|
||||
}
|
||||
|
||||
static string _202C_202B_206C_202E_200B_206D_200B_206D_200E_200B_200D_206C_200B_202B_206E_202D_200D_202C_206C_206D_200D_202C_202D_200D_200B_206B_200F_206C_206B_206D_202A_200F_200B_206B_200F_200C_200D_202E_202B_200F_202E(FontAwesomeIcon P_0)
|
||||
{
|
||||
return P_0.ToIconString();
|
||||
}
|
||||
|
||||
static void _206E_206F_200D_202E_200E_206B_206B_206F_200C_206C_202E_206D_200E_200E_202A_206E_206F_206E_202C_200E_202E_202E_202B_206F_202D_206D_206D_202D_200D_202D_200F_206D_200C_202C_200F_206E_200F_202D_202C_200D_202E(ImU8String P_0)
|
||||
{
|
||||
ImGui.TextDisabled(P_0);
|
||||
}
|
||||
|
||||
static void _202D_202B_202E_202D_202E_200C_200D_202B_200B_202E_200F_206A_202D_202D_200E_202D_202B_200F_202C_202E_206C_206B_202D_200F_200C_200C_200C_202D_200E_200C_202B_200D_200D_200C_206D_200C_200B_200B_206D_206E_202E(IDisposable P_0)
|
||||
{
|
||||
P_0.Dispose();
|
||||
}
|
||||
|
||||
static bool _202D_200C_206A_200E_206E_206B_200B_206A_202D_202B_202C_202D_206E_206F_206F_200E_202E_206F_202D_206D_206E_202C_206D_200C_206F_206A_200C_206C_202B_206B_200E_202A_202C_200F_206F_202B_202B_202B_206F_200C_202E()
|
||||
{
|
||||
return ImGui.IsItemHovered();
|
||||
}
|
||||
|
||||
static ImRaii.TooltipDisposable _202B_206C_202A_206E_202E_202B_206F_200F_202C_206F_200B_206E_206D_200D_206B_206F_206D_200C_200B_202B_206E_206B_206E_200F_206F_206B_200D_202B_200E_206F_206D_202D_206D_206E_202B_200D_202E_206D_202C_206C_202E()
|
||||
{
|
||||
return ImRaii.Tooltip();
|
||||
}
|
||||
|
||||
static void _202E_202E_202C_206D_200F_206C_206F_202E_200D_202B_206A_200C_206A_206A_206C_202B_202B_206C_200F_200C_200D_202C_200F_206E_206D_206F_206A_200B_202B_206A_202D_200D_202A_206D_202B_206C_206D_202A_202D_206D_202E(ref Vector4 P_0, ImU8String P_1)
|
||||
{
|
||||
ImGui.TextColored(in P_0, P_1);
|
||||
}
|
||||
|
||||
static void _202A_206C_206B_202E_200D_206E_202A_202B_206F_206C_206B_200E_206F_206F_200F_206A_200C_202A_202D_202D_206A_202C_206C_200F_206A_206F_200D_206D_206E_200F_202B_200B_206E_206B_206A_200B_200D_206E_206B_206D_202E(ImU8String P_0)
|
||||
{
|
||||
ImGui.BulletText(P_0);
|
||||
}
|
||||
|
||||
static bool _200E_202C_202E_200C_200C_202D_206C_206F_206B_206D_200C_206F_206B_206F_202E_206C_206E_202D_200F_206A_206E_206D_202D_202D_206E_200F_200B_202B_200D_202E_206D_202A_200C_200B_200C_200F_200F_202D_206C_200E_202E(IEnumerator P_0)
|
||||
{
|
||||
return P_0.MoveNext();
|
||||
}
|
||||
|
||||
static ImRaii.DisabledDisposable _206C_206E_200C_206C_206E_206E_200F_202C_206F_202D_202E_202A_200B_200F_200E_206D_206A_200B_202D_202B_202B_200C_202E_202A_200C_202E_202D_202D_206E_206E_206B_202A_200B_202E_200C_202C_206D_200F_202D_202E_202E(bool P_0)
|
||||
{
|
||||
return ImRaii.Disabled(P_0);
|
||||
}
|
||||
|
||||
static Encoding _200C_200C_206B_200F_206D_200E_202D_202B_200D_202D_200B_200C_202E_200C_206A_202D_202D_200E_206B_206D_202A_200B_206B_206A_206B_200C_202A_200F_206A_206D_200E_206D_202A_206A_206E_206C_206F_200C_206F_202C_202E()
|
||||
{
|
||||
return Encoding.UTF8;
|
||||
}
|
||||
|
||||
static string _200F_202A_202E_206A_200B_206C_206E_206F_206B_200D_200B_200F_206B_200D_202C_206C_200D_206B_200D_202E_206C_202D_200D_206D_200D_206B_202E_200D_206D_206F_200C_202B_202A_200E_200B_206F_200B_200B_200D_202B_202E(string P_0, IEnumerable<string> P_1)
|
||||
{
|
||||
return string.Join(P_0, P_1);
|
||||
}
|
||||
|
||||
static byte[] _200C_202E_200E_202B_200C_202D_202A_206C_206B_202A_202A_202C_206B_206E_202A_202A_206B_200E_200B_200D_200C_200F_206E_200B_206D_202B_206B_200F_202D_202B_200D_202A_206B_200E_202E_206B_202D_206A_206F_200F_202E(Encoding P_0, string P_1)
|
||||
{
|
||||
return P_0.GetBytes(P_1);
|
||||
}
|
||||
|
||||
static string _206C_202A_206E_202E_206D_202C_206F_202C_206C_200F_206F_200F_202D_206D_206D_200C_206B_206F_200B_200E_206E_206D_206C_202C_200C_206E_200E_200B_206B_206C_200F_200B_206B_206A_202E_206E_200F_206E_200C_202D_202E(byte[] P_0)
|
||||
{
|
||||
return Convert.ToBase64String(P_0);
|
||||
}
|
||||
|
||||
static string _206C_202B_206F_200D_206B_200C_200E_206B_200D_202D_206B_202A_200E_202E_202A_202E_206A_206A_200D_206D_200F_200B_202C_206D_200C_206E_206D_202E_202C_200C_200B_202A_206D_206A_202E_206C_200B_202E_200C_200F_202E(string P_0, string P_1)
|
||||
{
|
||||
return P_0 + P_1;
|
||||
}
|
||||
|
||||
static void _202C_206E_200C_202B_202A_202B_206C_202E_206C_206B_206B_202D_206F_200D_200C_206C_200B_206D_206B_206E_206C_206B_200C_200D_206D_206E_202C_202B_202E_200B_202C_206D_206B_202E_200E_202E_200E_206E_206A_202A_202E(ImU8String P_0)
|
||||
{
|
||||
ImGui.SetClipboardText(P_0);
|
||||
}
|
||||
|
||||
static bool _202B_206E_200E_206B_202A_206D_206F_206C_200E_202B_202E_206E_206B_206B_200E_206F_206F_202C_200C_202A_200B_206D_200E_200F_200C_202B_202C_202E_202B_200E_202E_206C_206A_202A_206B_202C_202B_202B_200D_200C_202E(string P_0)
|
||||
{
|
||||
return string.IsNullOrEmpty(P_0);
|
||||
}
|
||||
|
||||
static bool _202D_206F_200D_206A_200E_206D_200D_206E_200C_200D_200E_202E_200F_206A_206B_200D_206E_200E_200B_202C_202D_200E_206B_202C_200F_206F_202D_202A_200C_202D_200E_200C_200C_202E_200E_202D_200E_206C_206E_206E_202E(string P_0, string P_1, StringComparison P_2)
|
||||
{
|
||||
return P_0.StartsWith(P_1, P_2);
|
||||
}
|
||||
|
||||
static int _206D_202C_206E_200E_206E_206E_200E_206C_200E_202D_202B_200F_206A_206A_200E_200B_206B_206B_206E_206F_206C_200B_202E_202A_202E_202C_206D_202D_202D_200B_200F_200B_200B_206E_206C_200C_200B_200F_200B_202B_202E(string P_0)
|
||||
{
|
||||
return P_0.Length;
|
||||
}
|
||||
|
||||
static string _202B_200E_206D_206D_202B_206C_206F_202B_206A_200B_202D_202C_206B_200D_202B_202E_200F_206C_200F_206A_206F_200C_200C_202B_200B_200D_200F_206D_206E_200D_206C_200D_202A_200B_202B_206D_200F_200C_206A_202D_202E(string P_0, int P_1)
|
||||
{
|
||||
return P_0.Substring(P_1);
|
||||
}
|
||||
|
||||
static byte[] _202D_202B_202D_202D_206E_200E_200F_206C_200C_202D_200D_202D_202E_206F_202D_202D_200B_206C_206E_202C_202D_200C_206D_202B_202A_202A_200F_200E_200C_200D_206D_206F_200B_206C_206B_200B_202C_200F_202C_202B_202E(string P_0)
|
||||
{
|
||||
return Convert.FromBase64String(P_0);
|
||||
}
|
||||
|
||||
static string _206A_206C_200C_200D_206D_200C_202A_200B_202D_206C_206B_200F_206F_206D_206C_206B_206D_206D_206C_206A_200C_202D_206C_200D_206C_206F_202B_202E_202B_200F_200D_206A_200C_206D_200D_202C_200E_200E_206B_206C_202E(Encoding P_0, byte[] P_1)
|
||||
{
|
||||
return P_0.GetString(P_1);
|
||||
}
|
||||
|
||||
static string[] _206E_200D_206D_202B_206A_206F_200F_206F_206F_200F_206D_202A_202E_200E_200E_206A_206C_206A_202C_202D_206E_200F_200F_206F_206D_200F_206D_206B_200D_202A_206F_200D_206A_206C_202A_202E_206D_200F_206B_200E_202E(string P_0, string P_1, StringSplitOptions P_2)
|
||||
{
|
||||
return P_0.Split(P_1, P_2);
|
||||
}
|
||||
|
||||
static int _206D_202A_202D_202D_206F_202B_206A_200E_206F_200F_202D_200C_200E_200C_202B_206B_200D_200B_206E_200B_200C_206D_206B_202E_206C_206F_206A_206E_206C_202B_206A_200D_202A_200C_200E_206C_200B_206A_200F_206D_202E(string P_0)
|
||||
{
|
||||
return P_0.Length;
|
||||
}
|
||||
|
||||
static ReadOnlySpan<char> _202D_206B_206C_206C_202A_206F_200C_206E_202A_206D_206E_200F_206D_200F_206F_202A_206F_202D_200C_206E_200C_200B_202B_202A_200E_200D_200B_202C_200D_202E_202B_200D_206F_202A_202C_206B_202E_206D_202E_200F_202E(string P_0, int P_1)
|
||||
{
|
||||
return P_0.AsSpan(P_1);
|
||||
}
|
||||
|
||||
static CultureInfo _206B_202D_200F_206C_202D_202D_206B_206B_200C_206E_202D_200B_202D_206B_206A_206C_206B_200F_206B_200F_206C_202B_200E_206E_202A_200C_200D_206A_200C_206F_206F_206F_200C_202D_206F_202B_202D_202D_202A_200D_202E()
|
||||
{
|
||||
return CultureInfo.InvariantCulture;
|
||||
}
|
||||
|
||||
static Type _200C_206A_206D_200C_206F_200C_200C_202D_202B_202C_206E_202B_200F_202D_200D_200D_202B_200C_206D_206F_200C_206F_206A_206A_200E_200D_206F_202C_206F_206F_200F_202D_206F_206E_200E_206E_206E_206C_200F_206C_202E(RuntimeTypeHandle P_0)
|
||||
{
|
||||
return Type.GetTypeFromHandle(P_0);
|
||||
}
|
||||
|
||||
static bool _202D_206C_202D_202D_202B_200C_206E_202C_202A_206A_200B_206E_206A_202E_200E_206E_202E_206C_200F_206F_200C_206E_202C_206E_200F_200C_202A_206A_202C_200C_200E_200E_202E_206E_200C_206D_206C_202A_206C_206E_202E(Type P_0, object P_1)
|
||||
{
|
||||
return Enum.IsDefined(P_0, P_1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,173 +1,356 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Dalamud.Bindings.ImGui;
|
||||
using Dalamud.Interface.Colors;
|
||||
using Dalamud.Interface.Components;
|
||||
using Dalamud.Interface;
|
||||
using Dalamud.Interface.Utility.Raii;
|
||||
using Dalamud.Plugin;
|
||||
using Questionable.External;
|
||||
|
||||
namespace Questionable.Windows.ConfigComponents;
|
||||
|
||||
internal sealed class DebugConfigComponent : ConfigComponent
|
||||
{
|
||||
private readonly Dictionary<string, bool> _featurePausingOpenState = new Dictionary<string, bool>();
|
||||
|
||||
public DebugConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration)
|
||||
: base(pluginInterface, configuration)
|
||||
{
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override void DrawTab()
|
||||
{
|
||||
using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Advanced###Debug");
|
||||
if (!tabItemDisposable)
|
||||
UiThemeUtils.SectionHeader(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>(1486717885));
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard();
|
||||
Vector2 item = tuple.ContentStartPos;
|
||||
float item2 = tuple.AvailableWidth;
|
||||
ImDrawListPtr item3 = tuple.DrawList;
|
||||
int value = base.Configuration.Advanced.InteractionRetryLimit;
|
||||
int num = ((!UiThemeUtils.AccentSliderInt(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>(459770457), ref value, 1, 10, 260f)) ? (-1001972389) : (-1001972390));
|
||||
bool value4 = default(bool);
|
||||
Vector2 item4 = default(Vector2);
|
||||
float item5 = default(float);
|
||||
ImDrawListPtr item6 = default(ImDrawListPtr);
|
||||
Vector2 contentStartPos = default(Vector2);
|
||||
float availableWidth = default(float);
|
||||
ImDrawListPtr drawList = default(ImDrawListPtr);
|
||||
bool value3 = default(bool);
|
||||
float value2 = default(float);
|
||||
while (true)
|
||||
{
|
||||
return;
|
||||
}
|
||||
ImGui.TextColored(ImGuiColors.DalamudRed, "Enabling any option here may cause unexpected behavior. Use at your own risk.");
|
||||
ImGui.Separator();
|
||||
DrawChocoboSettings();
|
||||
ImGui.Separator();
|
||||
bool v = base.Configuration.Advanced.DebugOverlay;
|
||||
if (ImGui.Checkbox("Enable debug overlay", ref v))
|
||||
{
|
||||
base.Configuration.Advanced.DebugOverlay = v;
|
||||
Save();
|
||||
}
|
||||
using (ImRaii.Disabled(!v))
|
||||
{
|
||||
using (ImRaii.PushIndent())
|
||||
int num2 = num;
|
||||
int num3 = -1001972389;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
bool v2 = base.Configuration.Advanced.CombatDataOverlay;
|
||||
if (ImGui.Checkbox("Enable combat data overlay", ref v2))
|
||||
case 8:
|
||||
base.Configuration.Advanced.ShowWigglyNavShimProvider = value4;
|
||||
Save();
|
||||
num = -1001972391;
|
||||
break;
|
||||
case 2:
|
||||
UiThemeUtils.EndCard(item4, item5, item6);
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader(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>(1322354699));
|
||||
(contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard();
|
||||
UiThemeUtils.WrappedTextColored(UiThemeUtils.StatusLocked, 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>(-1990367668));
|
||||
value3 = base.Configuration.Advanced.DisablePartyWatchdog;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(-1956217498), ref value3, 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>(1278554970))) ? (-1001972386) : (-1001972388));
|
||||
break;
|
||||
case 1:
|
||||
base.Configuration.Advanced.InteractionRetryLimit = value;
|
||||
Save();
|
||||
num = -1001972389;
|
||||
break;
|
||||
case 7:
|
||||
base.Configuration.Advanced.DisablePartyWatchdog = value3;
|
||||
Save();
|
||||
num = -1001972386;
|
||||
break;
|
||||
case 4:
|
||||
num = -1001972390;
|
||||
break;
|
||||
case 3:
|
||||
{
|
||||
_200D_202C_200F_200F_206B_206B_200C_206F_206C_202A_206D_206C_202D_202A_200D_202A_202C_206D_206A_202A_200F_200B_202B_200F_202D_202E_206D_202D_206F_206D_200E_206C_200D_200F_206C_206D_206B_206B_202E_200E_202E();
|
||||
UiThemeUtils.InfoIcon(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>(626167100));
|
||||
UiThemeUtils.EndCard(item, item2, item3);
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader(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>(-1927198459));
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard();
|
||||
item4 = tuple2.ContentStartPos;
|
||||
item5 = tuple2.AvailableWidth;
|
||||
item6 = tuple2.DrawList;
|
||||
value4 = base.Configuration.Advanced.ShowWigglyNavShimProvider;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(967670354), ref value4, 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>(-1491500076))) ? (-1001972391) : (-1001972397));
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
DrawFeaturePausingSection(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>(-1202049138), PandorasBoxIpc.ConflictingFeatures, 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>(611154130), 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>(207768065), base.Configuration.Advanced.PandoraFeatureExclusions);
|
||||
DrawFeaturePausingSection(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>(11057013), AutomatonIpc.ConflictingTweaks, 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>(899890205), 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>(-1169537281), base.Configuration.Advanced.AutomatonTweakExclusions);
|
||||
UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList);
|
||||
return;
|
||||
case 6:
|
||||
base.Configuration.Advanced.InteractionTimeoutSeconds = value2;
|
||||
Save();
|
||||
num = -1001972392;
|
||||
break;
|
||||
case 0:
|
||||
_200D_202C_200F_200F_206B_206B_200C_206F_206C_202A_206D_206C_202D_202A_200D_202A_202C_206D_206A_202A_200F_200B_202B_200F_202D_202E_206D_202D_206F_206D_200E_206C_200D_200F_206C_206D_206B_206B_202E_200E_202E();
|
||||
UiThemeUtils.InfoIcon(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>(368373226));
|
||||
value2 = base.Configuration.Advanced.InteractionTimeoutSeconds;
|
||||
num = ((!UiThemeUtils.AccentSliderFloat(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>(-1280982003), ref value2, 5f, 30f, 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>(-1562631403), 260f)) ? (-1001972392) : (-1001972387));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private void DrawFeaturePausingSection(string header, ImmutableHashSet<string> features, string conditionalFeature, string conditionalHelpText, HashSet<string> exclusions)
|
||||
{
|
||||
bool open = _featurePausingOpenState.GetValueOrDefault(header);
|
||||
UiThemeUtils.ThemedAccordion(header, header, null, ref open);
|
||||
_featurePausingOpenState[header] = open;
|
||||
int num = (open ? (-1750707235) : (-1750707234));
|
||||
string current = default(string);
|
||||
bool value = default(bool);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1750707236;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 0:
|
||||
goto IL_0072;
|
||||
case 2:
|
||||
return;
|
||||
case 1:
|
||||
{
|
||||
ImRaii.IdDisposable idDisposable = _206B_206F_206E_202A_206A_202C_206A_206E_200F_200F_206E_200B_206F_202A_200F_206C_200F_200C_202D_202C_206F_202E_202C_206C_202E_206E_206D_200C_200F_206A_202D_202A_206B_200D_200F_202B_200E_202A_206B_202B_202E((ImU8String)header, true);
|
||||
try
|
||||
{
|
||||
base.Configuration.Advanced.CombatDataOverlay = v2;
|
||||
Save();
|
||||
ImRaii.IndentDisposable indentDisposable = _206B_200F_206D_200B_206B_202B_202B_206E_200C_206B_202D_200B_206A_206A_202D_202D_202E_206F_200E_206F_206B_206A_206E_206F_202C_200D_200D_200C_202A_202E_206A_206A_206E_200C_200B_206F_200E_200F_200C_206A_202E(1, true);
|
||||
try
|
||||
{
|
||||
IEnumerator<string> enumerator = features.Order().GetEnumerator();
|
||||
try
|
||||
{
|
||||
num = 405090622;
|
||||
while (true)
|
||||
{
|
||||
int num7 = num;
|
||||
num3 = 405090622;
|
||||
num4 = num7;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 7:
|
||||
num = 405090622;
|
||||
break;
|
||||
case 5:
|
||||
exclusions.Add(current);
|
||||
num = 405090623;
|
||||
break;
|
||||
case 3:
|
||||
num = ((!value) ? 405090619 : 405090616);
|
||||
break;
|
||||
case 1:
|
||||
Save();
|
||||
num = 405090622;
|
||||
break;
|
||||
case 6:
|
||||
exclusions.Remove(current);
|
||||
num = 405090623;
|
||||
break;
|
||||
case 0:
|
||||
num = (_200F_200E_200C_206D_202B_206D_200F_202E_202D_206E_202D_200D_206B_206C_206C_206E_206C_202E_202E_202D_206E_200B_202E_200D_202B_206F_200F_206F_202B_202D_202E_202C_200E_206A_200F_206B_206F_206B_206E_200C_202E((IEnumerator)enumerator) ? 405090618 : 405090620);
|
||||
break;
|
||||
case 4:
|
||||
current = enumerator.Current;
|
||||
value = !exclusions.Contains(current);
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(_200E_206B_202D_206C_200F_200E_206E_206D_200B_200E_200E_202B_206C_200B_202A_200C_202B_200D_202B_206F_206B_200D_202D_206D_202E_200D_200F_206F_202C_202A_206E_200F_200C_206E_200C_200C_200F_200B_200F_206D_202E(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>(1770810253), current), ref value)) ? 405090622 : 405090621);
|
||||
break;
|
||||
case 2:
|
||||
goto end_IL_00ad;
|
||||
}
|
||||
continue;
|
||||
end_IL_00ad:
|
||||
break;
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((enumerator == null) ? 1271604246 : 1271604247);
|
||||
while (true)
|
||||
{
|
||||
int num8 = num;
|
||||
num3 = 1271604246;
|
||||
num4 = num8;
|
||||
int num9 = num4 + num3;
|
||||
int num10 = num4 & num3;
|
||||
switch (num9 - (num10 + num10))
|
||||
{
|
||||
case 2:
|
||||
num = 1271604247;
|
||||
break;
|
||||
case 0:
|
||||
goto end_IL_01eb;
|
||||
case 1:
|
||||
_206A_206C_200B_200F_202E_200C_200B_200F_206A_206D_206E_202B_206F_202E_202C_206F_202A_200F_200D_200F_206B_202B_206F_200C_200E_200D_200D_202B_200F_206B_200F_202D_206E_206A_202E_200C_202A_202C_206E_206D_202E((IDisposable)enumerator);
|
||||
num = 1271604246;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_01eb:
|
||||
break;
|
||||
}
|
||||
}
|
||||
_202A_200D_200C_206D_202E_206B_202A_206A_202D_206F_202B_206A_206A_200B_206F_200B_200D_206E_206F_200B_200D_206D_202E_200E_206E_206F_202D_202C_206E_200F_202A_200E_202A_202E_202E_200E_200F_200F_200D_200E_202E();
|
||||
bool value2 = !exclusions.Contains(conditionalFeature);
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(_200E_206B_202D_206C_200F_200E_206E_206D_200B_200E_200E_202B_206C_200B_202A_200C_202B_200D_202B_206F_206B_200D_202D_206D_202E_200D_200F_206F_202C_202A_206E_200F_200C_206E_200C_200C_200F_200B_200F_206D_202E(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>(-1740411969), conditionalFeature), ref value2, conditionalHelpText)) ? (-1644162037) : (-1644162034));
|
||||
while (true)
|
||||
{
|
||||
int num11 = num;
|
||||
num3 = -1644162038;
|
||||
num4 = num11;
|
||||
int num12 = num4 + num3;
|
||||
int num13 = num4 & num3;
|
||||
switch (num12 - (num13 + num13))
|
||||
{
|
||||
case 6:
|
||||
Save();
|
||||
num = -1644162037;
|
||||
break;
|
||||
case 5:
|
||||
exclusions.Clear();
|
||||
Save();
|
||||
num = -1644162040;
|
||||
break;
|
||||
case 3:
|
||||
exclusions.Remove(conditionalFeature);
|
||||
num = -1644162036;
|
||||
break;
|
||||
case 7:
|
||||
num = -1644162034;
|
||||
break;
|
||||
case 1:
|
||||
_202A_200D_200C_206D_202E_206B_202A_206A_202D_206F_202B_206A_206A_200B_206F_200B_200D_206E_206F_200B_200D_206D_202E_200E_206E_206F_202D_202C_206E_200F_202A_200E_202A_202E_202E_200E_200F_200F_200D_200E_202E();
|
||||
num = ((!UiThemeUtils.DestructiveButton(FontAwesomeIcon.Undo, 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>(105765014))) ? (-1644162040) : (-1644162033));
|
||||
break;
|
||||
case 0:
|
||||
exclusions.Add(conditionalFeature);
|
||||
num = -1644162036;
|
||||
break;
|
||||
case 4:
|
||||
num = ((!value2) ? (-1644162038) : (-1644162039));
|
||||
break;
|
||||
case 2:
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((indentDisposable == null) ? 1350036527 : 1350036526);
|
||||
while (true)
|
||||
{
|
||||
int num14 = num;
|
||||
num3 = 1350036527;
|
||||
num4 = num14;
|
||||
int num15 = num4 + num3;
|
||||
int num16 = num4 & num3;
|
||||
switch (num15 - (num16 + num16))
|
||||
{
|
||||
case 0:
|
||||
goto end_IL_039a;
|
||||
case 1:
|
||||
_206A_206C_200B_200F_202E_200C_200B_200F_206A_206D_206E_202B_206F_202E_202C_206F_202A_200F_200D_200F_206B_202B_206F_200C_200E_200D_200D_202B_200F_206B_200F_202D_206E_206A_202E_200C_202A_202C_206E_206D_202E((IDisposable)indentDisposable);
|
||||
num = 1350036527;
|
||||
break;
|
||||
case 2:
|
||||
num = 1350036526;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_039a:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((idDisposable == null) ? (-687515506) : (-687515507));
|
||||
while (true)
|
||||
{
|
||||
int num17 = num;
|
||||
num3 = -687515508;
|
||||
num4 = num17;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 2:
|
||||
goto end_IL_0405;
|
||||
case 1:
|
||||
_206A_206C_200B_200F_202E_200C_200B_200F_206A_206D_206E_202B_206F_202E_202C_206F_202A_200F_200D_200F_206B_202B_206F_200C_200E_200D_200D_202B_200F_206B_200F_202D_206E_206A_202E_200C_202A_202C_206E_206D_202E((IDisposable)idDisposable);
|
||||
num = -687515506;
|
||||
break;
|
||||
case 0:
|
||||
num = -687515507;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_0405:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
bool v3 = base.Configuration.Advanced.NeverFly;
|
||||
if (ImGui.Checkbox("Disable flying (even if unlocked for the zone)", ref v3))
|
||||
{
|
||||
base.Configuration.Advanced.NeverFly = v3;
|
||||
Save();
|
||||
}
|
||||
bool v4 = base.Configuration.Advanced.AdditionalStatusInformation;
|
||||
if (ImGui.Checkbox("Draw additional status information", ref v4))
|
||||
{
|
||||
base.Configuration.Advanced.AdditionalStatusInformation = v4;
|
||||
Save();
|
||||
}
|
||||
bool v5 = base.Configuration.Advanced.DisablePartyWatchdog;
|
||||
if (ImGui.Checkbox("Disable Party Watchdog", ref v5))
|
||||
{
|
||||
base.Configuration.Advanced.DisablePartyWatchdog = v5;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
ImGuiComponents.HelpMarker("The Party Watchdog stops Questionable when entering certain zones with other party members, or when entering unsupported content. Disabling this allows Questionable to continue working while in a party, but may cause unexpected behavior in group content.");
|
||||
bool v6 = base.Configuration.Advanced.ShowWindowInInstances;
|
||||
if (ImGui.Checkbox("Show quest window in instances (ignore 'Hide in all instances' setting)", ref v6))
|
||||
{
|
||||
base.Configuration.Advanced.ShowWindowInInstances = v6;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
ImGuiComponents.HelpMarker("When enabled, the quest window will always be shown in instanced duties, ignoring the 'Hide quest window in all instanced duties' setting in General.");
|
||||
ImGui.Separator();
|
||||
ImGui.Text("AutoDuty Settings");
|
||||
using (ImRaii.PushIndent())
|
||||
{
|
||||
ImGui.AlignTextToFramePadding();
|
||||
bool v7 = base.Configuration.Advanced.DisableAutoDutyBareMode;
|
||||
if (ImGui.Checkbox("Use Pre-Loop/Loop/Post-Loop settings", ref v7))
|
||||
{
|
||||
base.Configuration.Advanced.DisableAutoDutyBareMode = v7;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
ImGuiComponents.HelpMarker("Typically, the loop settings for AutoDuty are disabled when running dungeons with Questionable, since they can cause issues (or even shut down your PC).");
|
||||
}
|
||||
ImGui.Separator();
|
||||
ImGui.Text("Quest/Interaction Skips");
|
||||
using (ImRaii.PushIndent())
|
||||
{
|
||||
bool v8 = base.Configuration.Advanced.SkipAetherCurrents;
|
||||
if (ImGui.Checkbox("Don't pick up aether currents/aether current quests", ref v8))
|
||||
{
|
||||
base.Configuration.Advanced.SkipAetherCurrents = v8;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
ImGuiComponents.HelpMarker("If not done during the MSQ by Questionable, you have to manually pick up any missed aether currents/quests. There is no way to automatically pick up all missing aether currents.");
|
||||
bool v9 = base.Configuration.Advanced.SkipClassJobQuests;
|
||||
if (ImGui.Checkbox("Don't pick up class/job/role quests", ref v9))
|
||||
{
|
||||
base.Configuration.Advanced.SkipClassJobQuests = v9;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
ImGuiComponents.HelpMarker("Class and job skills for A Realm Reborn, Heavensward and (for the Lv70 skills) Stormblood are locked behind quests. Not recommended if you plan on queueing for instances with duty finder/party finder.\n\nNote: This setting is ignored for the first class/job quest if your character is not high enough level to start the level 4 MSQ.");
|
||||
bool v10 = base.Configuration.Advanced.SkipARealmRebornHardModePrimals;
|
||||
if (ImGui.Checkbox("Don't pick up ARR hard mode primal quests", ref v10))
|
||||
{
|
||||
base.Configuration.Advanced.SkipARealmRebornHardModePrimals = v10;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
ImGuiComponents.HelpMarker("Hard mode Ifrit/Garuda/Titan are required for the Patch 2.5 quest 'Good Intentions' and to start Heavensward.");
|
||||
bool v11 = base.Configuration.Advanced.SkipCrystalTowerRaids;
|
||||
if (ImGui.Checkbox("Don't pick up Crystal Tower quests", ref v11))
|
||||
{
|
||||
base.Configuration.Advanced.SkipCrystalTowerRaids = v11;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
ImGuiComponents.HelpMarker("Crystal Tower raids are required for the Patch 2.55 quest 'A Time to Every Purpose' and to start Heavensward.");
|
||||
bool v12 = base.Configuration.Advanced.PreventQuestCompletion;
|
||||
if (ImGui.Checkbox("Prevent quest completion", ref v12))
|
||||
{
|
||||
base.Configuration.Advanced.PreventQuestCompletion = v12;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
ImGuiComponents.HelpMarker("When enabled, Questionable will not attempt to turn-in and complete quests. This will do everything automatically except the final turn-in step.");
|
||||
continue;
|
||||
IL_0072:
|
||||
num = -1750707234;
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawChocoboSettings()
|
||||
static void _200D_202C_200F_200F_206B_206B_200C_206F_206C_202A_206D_206C_202D_202A_200D_202A_202C_206D_206A_202A_200F_200B_202B_200F_202D_202E_206D_202D_206F_206D_200E_206C_200D_200F_206C_206D_206B_206B_202E_200E_202E()
|
||||
{
|
||||
ImGui.Text("Chocobo Settings");
|
||||
using (ImRaii.PushIndent())
|
||||
{
|
||||
ImGui.AlignTextToFramePadding();
|
||||
ImGui.Text("Chocobo Name:");
|
||||
ImGui.SameLine();
|
||||
string buf = base.Configuration.Advanced.ChocoboName;
|
||||
ImGui.SetNextItemWidth(200f);
|
||||
if (ImGui.InputText("##ChocoboName", ref buf, 20))
|
||||
{
|
||||
string chocoboName = FormatChocoboName(buf);
|
||||
base.Configuration.Advanced.ChocoboName = chocoboName;
|
||||
Save();
|
||||
}
|
||||
if (!string.IsNullOrEmpty(buf) && buf.Length < 2)
|
||||
{
|
||||
ImGui.SameLine();
|
||||
ImGui.TextColored(ImGuiColors.DalamudRed, "Name must be at least 2 characters");
|
||||
}
|
||||
ImGui.SameLine();
|
||||
ImGuiComponents.HelpMarker("The name to give your chocobo during the 'My Little Chocobo' quest.\nMust be 2-20 characters. First letter will be capitalized.\nIf left empty, defaults to 'Kweh'.");
|
||||
}
|
||||
ImGui.SameLine();
|
||||
}
|
||||
|
||||
private static string FormatChocoboName(string name)
|
||||
static ImRaii.IdDisposable _206B_206F_206E_202A_206A_202C_206A_206E_200F_200F_206E_200B_206F_202A_200F_206C_200F_200C_202D_202C_206F_202E_202C_206C_202E_206E_206D_200C_200F_206A_202D_202A_206B_200D_200F_202B_200E_202A_206B_202B_202E(ImU8String P_0, bool P_1)
|
||||
{
|
||||
if (string.IsNullOrEmpty(name))
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
name = name.Trim();
|
||||
if (name.Length == 0)
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
return name.Substring(0, 1).ToUpperInvariant() + ((name.Length > 1) ? name.Substring(1).ToLowerInvariant() : string.Empty);
|
||||
return ImRaii.PushId(P_0, P_1);
|
||||
}
|
||||
|
||||
static ImRaii.IndentDisposable _206B_200F_206D_200B_206B_202B_202B_206E_200C_206B_202D_200B_206A_206A_202D_202D_202E_206F_200E_206F_206B_206A_206E_206F_202C_200D_200D_200C_202A_202E_206A_206A_206E_200C_200B_206F_200E_200F_200C_206A_202E(int P_0, bool P_1)
|
||||
{
|
||||
return ImRaii.PushIndent(P_0, P_1);
|
||||
}
|
||||
|
||||
static string _200E_206B_202D_206C_200F_200E_206E_206D_200B_200E_200E_202B_206C_200B_202A_200C_202B_200D_202B_206F_206B_200D_202D_206D_202E_200D_200F_206F_202C_202A_206E_200F_200C_206E_200C_200C_200F_200B_200F_206D_202E(string P_0, string P_1)
|
||||
{
|
||||
return P_0 + P_1;
|
||||
}
|
||||
|
||||
static bool _200F_200E_200C_206D_202B_206D_200F_202E_202D_206E_202D_200D_206B_206C_206C_206E_206C_202E_202E_202D_206E_200B_202E_200D_202B_206F_200F_206F_202B_202D_202E_202C_200E_206A_200F_206B_206F_206B_206E_200C_202E(IEnumerator P_0)
|
||||
{
|
||||
return P_0.MoveNext();
|
||||
}
|
||||
|
||||
static void _206A_206C_200B_200F_202E_200C_200B_200F_206A_206D_206E_202B_206F_202E_202C_206F_202A_200F_200D_200F_206B_202B_206F_200C_200E_200D_200D_202B_200F_206B_200F_202D_206E_206A_202E_200C_202A_202C_206E_206D_202E(IDisposable P_0)
|
||||
{
|
||||
P_0.Dispose();
|
||||
}
|
||||
|
||||
static void _202A_200D_200C_206D_202E_206B_202A_206A_202D_206F_202B_206A_206A_200B_206F_200B_200D_206E_206F_200B_200D_206D_202E_200E_206E_206F_202D_202C_206E_200F_202A_200E_202A_202E_202E_200E_200F_200F_200D_200E_202E()
|
||||
{
|
||||
ImGui.Spacing();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,657 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Dalamud.Bindings.ImGui;
|
||||
using Dalamud.Interface.Utility.Raii;
|
||||
using Dalamud.Plugin;
|
||||
using Dalamud.Plugin.Services;
|
||||
using Lumina.Excel.Sheets;
|
||||
using Questionable.Model;
|
||||
|
||||
namespace Questionable.Windows.ConfigComponents;
|
||||
|
||||
internal sealed class NavigationConfigComponent : ConfigComponent
|
||||
{
|
||||
[Serializable]
|
||||
[CompilerGenerated]
|
||||
private sealed class _003C_003Ec
|
||||
{
|
||||
public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec();
|
||||
|
||||
public static Func<Mount, bool> _003C_003E9__4_0;
|
||||
|
||||
public static Func<Mount, (uint MountId, string Name)> _003C_003E9__4_1;
|
||||
|
||||
public static Func<(uint MountId, string Name), bool> _003C_003E9__4_2;
|
||||
|
||||
public static Func<(uint MountId, string Name), string> _003C_003E9__4_3;
|
||||
|
||||
public static Func<(uint Id, string Name), uint> _003C_003E9__4_4;
|
||||
|
||||
public static Func<(uint MountId, string Name), uint> _003C_003E9__4_5;
|
||||
|
||||
public static Func<(uint Id, string Name), string> _003C_003E9__4_6;
|
||||
|
||||
public static Func<(uint MountId, string Name), string> _003C_003E9__4_7;
|
||||
|
||||
internal bool _003C_002Ector_003Eb__4_0(Mount x)
|
||||
{
|
||||
int num = ((x.RowId == 0) ? 1914904014 : 1914904013);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1914904012;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 0:
|
||||
goto IL_004a;
|
||||
case 2:
|
||||
return false;
|
||||
case 1:
|
||||
return x.Icon > 0;
|
||||
}
|
||||
continue;
|
||||
IL_004a:
|
||||
num = 1914904013;
|
||||
}
|
||||
}
|
||||
|
||||
internal (uint MountId, string Name) _003C_002Ector_003Eb__4_1(Mount x)
|
||||
{
|
||||
return (MountId: x.RowId, Name: CapitalizeName(x.Singular.ExtractText()));
|
||||
}
|
||||
|
||||
internal bool _003C_002Ector_003Eb__4_2((uint MountId, string Name) x)
|
||||
{
|
||||
return !_206A_206F_202D_206D_206E_202C_202B_206B_202D_202C_202C_200D_206C_206E_202D_206A_200E_202A_202D_206A_202B_206A_202D_202D_200F_206F_200E_202E_200F_202C_200E_206E_206C_202E_202C_206E_202B_202B_202B_202B_202E(x.Name);
|
||||
}
|
||||
|
||||
internal string _003C_002Ector_003Eb__4_3((uint MountId, string Name) x)
|
||||
{
|
||||
return x.Name;
|
||||
}
|
||||
|
||||
internal uint _003C_002Ector_003Eb__4_4((uint Id, string Name) x)
|
||||
{
|
||||
return x.Id;
|
||||
}
|
||||
|
||||
internal uint _003C_002Ector_003Eb__4_5((uint MountId, string Name) x)
|
||||
{
|
||||
return x.MountId;
|
||||
}
|
||||
|
||||
internal string _003C_002Ector_003Eb__4_6((uint Id, string Name) x)
|
||||
{
|
||||
return x.Name;
|
||||
}
|
||||
|
||||
internal string _003C_002Ector_003Eb__4_7((uint MountId, string Name) x)
|
||||
{
|
||||
return x.Name;
|
||||
}
|
||||
|
||||
static bool _206A_206F_202D_206D_206E_202C_202B_206B_202D_202C_202C_200D_206C_206E_202D_206A_200E_202A_202D_206A_202B_206A_202D_202D_200F_206F_200E_202E_200F_202C_200E_206E_206C_202E_202C_206E_202B_202B_202B_202B_202E(string P_0)
|
||||
{
|
||||
return string.IsNullOrEmpty(P_0);
|
||||
}
|
||||
}
|
||||
|
||||
private static readonly List<(uint Id, string Name)> DefaultMounts;
|
||||
|
||||
private readonly uint[] _mountIds;
|
||||
|
||||
private readonly string[] _mountNames;
|
||||
|
||||
private string _mountSearchText = string.Empty;
|
||||
|
||||
public NavigationConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, IDataManager dataManager)
|
||||
: base(pluginInterface, configuration)
|
||||
{
|
||||
List<(uint, string)> source = (from x in dataManager.GetExcelSheet<Mount>().Where(delegate(Mount x)
|
||||
{
|
||||
int num = ((x.RowId == 0) ? 1914904014 : 1914904013);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1914904012;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 0:
|
||||
goto IL_004a;
|
||||
case 2:
|
||||
return false;
|
||||
case 1:
|
||||
return x.Icon > 0;
|
||||
}
|
||||
continue;
|
||||
IL_004a:
|
||||
num = 1914904013;
|
||||
}
|
||||
})
|
||||
select (MountId: x.RowId, Name: CapitalizeName(x.Singular.ExtractText())) into x
|
||||
where !_003C_003Ec._206A_206F_202D_206D_206E_202C_202B_206B_202D_202C_202C_200D_206C_206E_202D_206A_200E_202A_202D_206A_202B_206A_202D_202D_200F_206F_200E_202E_200F_202C_200E_206E_206C_202E_202C_206E_202B_202B_202B_202B_202E(x.Name)
|
||||
select x).OrderBy<(uint, string), string>(((uint MountId, string Name) x) => x.Name, _202B_206D_206F_202E_206B_206A_206D_200C_206B_206E_206B_200B_200E_200D_206C_202D_200F_202B_206E_206F_200E_206C_206A_206D_202C_202E_200B_200B_206B_200B_200C_202E_200E_202B_206A_200E_206A_206C_202D_202D_202E()).ToList();
|
||||
_mountIds = DefaultMounts.Select<(uint, string), uint>(((uint Id, string Name) x) => x.Id).Concat(source.Select<(uint, string), uint>(((uint MountId, string Name) x) => x.MountId)).ToArray();
|
||||
_mountNames = DefaultMounts.Select<(uint, string), string>(((uint Id, string Name) x) => x.Name).Concat(source.Select<(uint, string), string>(((uint MountId, string Name) x) => x.Name)).ToArray();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private static string CapitalizeName(string text)
|
||||
{
|
||||
int num = ((!_200C_206B_206F_206D_200B_200B_202A_206A_200C_202D_200C_202C_206D_202B_202E_206D_202D_206F_200E_200F_206B_200E_206C_206F_202A_202D_202B_202A_206F_206D_200D_200D_202B_200C_206F_202A_200C_206B_202B_206A_202E(text)) ? (-1379143407) : (-1379143402));
|
||||
int num5 = default(int);
|
||||
string[] array = default(string[]);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1379143401;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 4:
|
||||
num = ((num5 < array.Length) ? (-1379143408) : (-1379143395));
|
||||
break;
|
||||
case 1:
|
||||
return text;
|
||||
case 8:
|
||||
array[num5] = _202E_200B_206D_200F_200E_202D_200B_206F_200B_206F_200D_202D_200B_200D_206B_200C_202D_206A_202B_202B_206D_202D_202E_206C_206E_200D_202A_206F_202E_202B_202E_206B_202A_200C_200C_202A_202E_206A_206F_202A_202E(new ReadOnlySpan<char>(char.ToUpperInvariant(_206F_200C_200D_206B_206C_206B_206C_206C_206F_206D_206C_200E_200B_202B_200F_206A_202E_202D_200C_200C_206F_202D_202D_200C_202A_206A_202C_200D_202E_200D_206D_206B_202B_206A_202A_206E_200C_202A_202C_202C_202E(array[num5], 0))), _202D_202D_202C_206C_206B_206E_206B_206A_206F_202E_206C_200E_206A_202C_200D_206F_206E_206D_206A_206A_202E_202D_202B_202C_202E_202E_202D_206C_206A_200B_200C_206D_206B_200D_202D_206D_202E_200D_202B_202A_202E(_202C_200C_200D_202E_206E_202B_200E_202A_206E_206D_202C_206A_206F_200C_202D_206E_200E_206C_202D_200F_206B_206A_202E_202A_200D_200F_200B_202A_200C_202E_200E_206C_202B_206B_206D_206F_206A_202C_202D_202D_202E(array[num5], 1)));
|
||||
num = -1379143401;
|
||||
break;
|
||||
case 0:
|
||||
{
|
||||
int num6 = num5;
|
||||
num3 = 1;
|
||||
num4 = num6;
|
||||
num5 = (num4 | num3) + (num4 & num3);
|
||||
num = -1379143405;
|
||||
break;
|
||||
}
|
||||
case 7:
|
||||
num = ((_206D_206B_206B_202C_206C_206C_202A_202A_200E_202A_200F_200E_206D_206D_202D_202D_206F_202D_202B_206D_200B_206B_202D_202D_202E_202B_202D_206A_206E_200E_200D_206D_200B_202A_206C_202B_206E_200B_200D_206F_202E(array[num5]) <= 0) ? (-1379143401) : (-1379143406));
|
||||
break;
|
||||
case 3:
|
||||
num = -1379143402;
|
||||
break;
|
||||
case 10:
|
||||
return _200D_206C_202D_202E_206E_200C_202D_206D_206F_206F_202A_206F_206E_200E_206D_202E_202B_206F_206A_200C_202B_206A_206A_202E_200C_206F_206E_200C_206D_200E_200E_202B_206E_202D_202D_202B_206D_200E_202B_200D_202E(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>(-324914973), array);
|
||||
case 5:
|
||||
num = ((!char.IsLower(_206F_200C_200D_206B_206C_206B_206C_206C_206F_206D_206C_200E_200B_202B_200F_206A_202E_202D_200C_200C_206F_202D_202D_200C_202A_206A_202C_200D_202E_200D_206D_206B_202B_206A_202A_206E_200C_202A_202C_202C_202E(array[num5], 0))) ? (-1379143401) : (-1379143393));
|
||||
break;
|
||||
case 2:
|
||||
array = _202A_202D_202A_200B_206E_200D_202C_206B_200D_202D_200E_200C_206E_202B_200E_206B_200F_202A_206C_206C_206B_200E_202C_206E_202A_202C_200E_200F_200E_206E_202E_200E_206A_202E_206A_202C_200B_200E_206A_200E_202E(text, ' ', StringSplitOptions.None);
|
||||
num5 = 0;
|
||||
num = -1379143405;
|
||||
break;
|
||||
case 9:
|
||||
return _202D_206F_200D_200E_200D_206B_202C_206D_206B_206E_202C_202C_206D_202A_202D_202A_202C_206D_200F_206C_200E_206D_202A_202B_206C_206C_206F_206A_202C_202D_206F_200E_206F_200B_206B_206A_206E_200F_202C_206F_202E(_202E_200D_200C_202D_206E_202C_206C_200B_202D_206E_202C_200D_206E_206B_200E_202E_200D_206E_200E_202B_206F_206A_200F_202E_202C_202B_200F_206E_200E_202A_200B_206F_202C_200E_206E_200C_200F_206B_206B_200E_202E(_202E_206D_202B_206B_206B_206D_202E_202E_200D_202C_202B_206D_206B_200E_206A_206D_206A_200C_206C_202E_200E_202B_200F_206F_202A_202D_200D_202E_206D_200C_202C_200F_206A_202E_202B_206B_200B_206B_206D_206C_202E()), text);
|
||||
case 6:
|
||||
num = ((!_200B_200F_200C_206F_202B_202B_206D_206D_200C_206D_206F_206B_206D_202E_200F_202A_200B_200B_202C_202B_206A_206D_202D_206A_202E_206D_206E_206A_202C_202E_200C_200F_206E_200C_202B_202C_202B_200C_206B_206E_202E(text, _200D_200E_202A_200C_200B_202C_202D_206E_202C_206B_206C_206A_206B_200E_202C_206F_200B_200D_200E_206C_200B_206D_202E_206F_200E_206D_206F_202E_200D_202C_202A_202D_202E_202D_202E_206C_206C_202D_202A_200F_202E(text), StringComparison.Ordinal)) ? (-1379143403) : (-1379143394));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override void DrawTab()
|
||||
{
|
||||
Configuration.NavigationConfiguration navigation = base.Configuration.Navigation;
|
||||
UiThemeUtils.SectionHeader(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>(547712580));
|
||||
var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard();
|
||||
DrawMountSelector(navigation);
|
||||
bool value = navigation.NeverFly;
|
||||
int num = ((!UiThemeUtils.WrappedCheckbox(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>(-1858753748), ref value, 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>(-1387349322))) ? 446317926 : 446317925);
|
||||
float value9 = default(float);
|
||||
bool value8 = default(bool);
|
||||
float value7 = default(float);
|
||||
string text = default(string);
|
||||
int currentItem = default(int);
|
||||
string[] names = default(string[]);
|
||||
bool value6 = default(bool);
|
||||
Vector2 item7 = default(Vector2);
|
||||
float item8 = default(float);
|
||||
ImDrawListPtr item9 = default(ImDrawListPtr);
|
||||
int value5 = default(int);
|
||||
bool value4 = default(bool);
|
||||
Vector2 item4 = default(Vector2);
|
||||
float item5 = default(float);
|
||||
ImDrawListPtr item6 = default(ImDrawListPtr);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 446317927;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 4:
|
||||
num = 446317925;
|
||||
break;
|
||||
case 2:
|
||||
navigation.NeverFly = value;
|
||||
Save();
|
||||
num = 446317926;
|
||||
break;
|
||||
case 1:
|
||||
value9 = navigation.MountGroundDistance;
|
||||
num = ((!UiThemeUtils.AccentSliderFloat(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>(697577803), ref value9, 0f, 100f, 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>(-1562631403), 260f)) ? 446317924 : 446317927);
|
||||
break;
|
||||
case 0:
|
||||
navigation.MountGroundDistance = value9;
|
||||
Save();
|
||||
num = 446317924;
|
||||
break;
|
||||
case 3:
|
||||
{
|
||||
_200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E();
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(49, 1);
|
||||
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>(161055188));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(20f, 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>(-2033331044));
|
||||
UiThemeUtils.InfoIcon(defaultInterpolatedStringHandler.ToStringAndClear());
|
||||
ImRaii.DisabledDisposable disabledDisposable = _202E_202E_202B_202E_200E_200D_202E_200C_200D_206A_200D_200D_202E_200C_200B_206C_206B_202B_200E_200F_206F_206B_206A_202C_200B_206E_200F_206A_200E_206B_202B_206D_200F_202D_202E_202D_206B_206A_202B_206B_202E(navigation.NeverFly);
|
||||
try
|
||||
{
|
||||
float value2 = navigation.MountFlyDistance;
|
||||
num = ((!UiThemeUtils.AccentSliderFloat(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>(-18366214), ref value2, 0f, 100f, 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>(-1102866709), 260f)) ? (-436311720) : (-436311717));
|
||||
while (true)
|
||||
{
|
||||
int num7 = num;
|
||||
num3 = -436311719;
|
||||
num4 = num7;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 0:
|
||||
num = -436311717;
|
||||
break;
|
||||
case 2:
|
||||
navigation.MountFlyDistance = value2;
|
||||
Save();
|
||||
num = -436311720;
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
_200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E();
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler2 = new DefaultInterpolatedStringHandler(49, 1);
|
||||
defaultInterpolatedStringHandler2.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>(-1563330266));
|
||||
defaultInterpolatedStringHandler2.AppendFormatted(15f, 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>(-2033331044));
|
||||
UiThemeUtils.InfoIcon(defaultInterpolatedStringHandler2.ToStringAndClear());
|
||||
goto end_IL_01de;
|
||||
}
|
||||
}
|
||||
continue;
|
||||
end_IL_01de:
|
||||
break;
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((disabledDisposable == null) ? (-184304173) : (-184304176));
|
||||
while (true)
|
||||
{
|
||||
int num8 = num;
|
||||
num3 = -184304175;
|
||||
num4 = num8;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 2:
|
||||
goto end_IL_0296;
|
||||
case 1:
|
||||
_206B_200E_206C_200D_202D_206A_202C_200B_206D_202E_206B_202C_202B_206D_206D_200C_200F_202A_206D_202B_202B_202E_202B_206A_206C_202C_202B_202C_206B_200F_206E_200B_206E_200B_202E_202D_206F_206C_206A_206F_202E((IDisposable)disabledDisposable);
|
||||
num = -184304173;
|
||||
break;
|
||||
case 0:
|
||||
num = -184304176;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_0296:
|
||||
break;
|
||||
}
|
||||
}
|
||||
UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList);
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader(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>(-1285735320));
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard();
|
||||
Vector2 item = tuple2.ContentStartPos;
|
||||
float item2 = tuple2.AvailableWidth;
|
||||
ImDrawListPtr item3 = tuple2.DrawList;
|
||||
float value3 = navigation.SprintDistanceTown;
|
||||
num = ((!UiThemeUtils.AccentSliderFloat(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>(-377031381), ref value3, 0f, 100f, 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>(2028773324), 260f)) ? (-1837094585) : (-1837094575));
|
||||
while (true)
|
||||
{
|
||||
int num9 = num;
|
||||
num3 = -1837094589;
|
||||
num4 = num9;
|
||||
int num10 = num4 + num3;
|
||||
int num11 = num4 & num3;
|
||||
switch (num10 - (num11 + num11))
|
||||
{
|
||||
default:
|
||||
continue;
|
||||
case 8:
|
||||
num = -1837094575;
|
||||
continue;
|
||||
case 13:
|
||||
navigation.PreferFreeTravel = value8;
|
||||
Save();
|
||||
num = -1837094582;
|
||||
continue;
|
||||
case 4:
|
||||
{
|
||||
_200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E();
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler4 = new DefaultInterpolatedStringHandler(46, 1);
|
||||
defaultInterpolatedStringHandler4.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>(533706590));
|
||||
defaultInterpolatedStringHandler4.AppendFormatted(20f, 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>(-2033331044));
|
||||
UiThemeUtils.InfoIcon(defaultInterpolatedStringHandler4.ToStringAndClear());
|
||||
value7 = navigation.SprintDistanceOpenWorld;
|
||||
num = ((!UiThemeUtils.AccentSliderFloat(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>(-1911081210), ref value7, 0f, 200f, 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>(2028773324), 260f)) ? (-1837094584) : (-1837094591));
|
||||
continue;
|
||||
}
|
||||
case 0:
|
||||
{
|
||||
string tooltip = text;
|
||||
_202E_206C_202E_202E_200F_202A_206A_206E_202C_206E_200B_200C_202E_206D_206E_202B_200C_200C_200E_206F_206A_206B_202B_206B_206D_202D_200C_202B_206C_206C_200B_202C_206D_206F_200F_206E_202B_202B_206A_202C_202E(_202E_206C_200C_202D_202C_200D_206F_202E_206C_206C_206C_206F_206B_206E_206F_206C_200D_200B_206A_200F_200D_200C_202A_202B_206A_206F_200B_206F_202D_200B_202A_200F_202C_202B_200F_202E_200F_202E_206A_206E_202E(260f, _202A_200B_200F_206C_200C_202E_200D_200D_200D_202C_206F_206B_206B_202B_206F_206A_206C_202A_200B_200B_200E_202B_202D_200E_200E_200E_206A_202B_202B_206E_200F_206B_200C_202D_202D_206B_202E_200D_206E_202A_202E().X));
|
||||
if (UiThemeUtils.ThemedCombo(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>(1580633882), ref currentItem, names, names.Length))
|
||||
{
|
||||
navigation.StuckRecoveryMode = (EStuckRecoveryMode)currentItem;
|
||||
Save();
|
||||
}
|
||||
_200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E();
|
||||
UiThemeUtils.InfoIcon(tooltip);
|
||||
value6 = navigation.ReRouteOnFailure;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(1332835539), ref value6, 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>(598894295))) ? (-1837094577) : (-1837094586));
|
||||
continue;
|
||||
}
|
||||
case 18:
|
||||
navigation.SprintDistanceTown = value3;
|
||||
Save();
|
||||
num = -1837094585;
|
||||
continue;
|
||||
case 12:
|
||||
UiThemeUtils.EndCard(item7, item8, item9);
|
||||
return;
|
||||
case 17:
|
||||
navigation.GilReserve = _202E_200C_200E_206A_206F_206D_202C_200F_206D_206A_202A_206E_200E_202E_200D_202E_200F_202B_206E_202C_200E_200E_206C_200C_206F_202E_206B_202E_202B_206F_206C_206E_200E_202B_200D_206A_202D_206A_202E_200F_202E(value5, 0, 999999999);
|
||||
Save();
|
||||
num = -1837094583;
|
||||
continue;
|
||||
case 9:
|
||||
value4 = navigation.UseTeleportTickets;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(1746473185), ref value4, 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>(8925130))) ? (-1837094579) : (-1837094587));
|
||||
continue;
|
||||
case 10:
|
||||
_200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E();
|
||||
UiThemeUtils.InfoIcon(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>(-1411121243));
|
||||
value8 = navigation.PreferFreeTravel;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(480673472), ref value8, 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>(-1628227995))) ? (-1837094582) : (-1837094578));
|
||||
continue;
|
||||
case 2:
|
||||
navigation.SprintDistanceOpenWorld = value7;
|
||||
Save();
|
||||
num = -1837094584;
|
||||
continue;
|
||||
case 5:
|
||||
navigation.ReRouteOnFailure = value6;
|
||||
Save();
|
||||
num = -1837094577;
|
||||
continue;
|
||||
case 14:
|
||||
{
|
||||
UiThemeUtils.EndCard(item4, item5, item6);
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader(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>(-1576741816));
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple4 = UiThemeUtils.BeginCard();
|
||||
item7 = tuple4.ContentStartPos;
|
||||
item8 = tuple4.AvailableWidth;
|
||||
item9 = tuple4.DrawList;
|
||||
names = Enum.GetNames<EStuckRecoveryMode>();
|
||||
currentItem = (int)navigation.StuckRecoveryMode;
|
||||
switch (navigation.StuckRecoveryMode)
|
||||
{
|
||||
case EStuckRecoveryMode.Conservative:
|
||||
goto IL_06a1;
|
||||
case EStuckRecoveryMode.Aggressive:
|
||||
goto IL_0783;
|
||||
case EStuckRecoveryMode.Passive:
|
||||
goto end_IL_0381;
|
||||
}
|
||||
num = -1837094580;
|
||||
continue;
|
||||
}
|
||||
case 16:
|
||||
goto IL_06a1;
|
||||
case 15:
|
||||
num = -1837094592;
|
||||
continue;
|
||||
case 11:
|
||||
{
|
||||
_200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E();
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler3 = new DefaultInterpolatedStringHandler(51, 1);
|
||||
defaultInterpolatedStringHandler3.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>(1746484759));
|
||||
defaultInterpolatedStringHandler3.AppendFormatted(50f, 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>(107444647));
|
||||
UiThemeUtils.InfoIcon(defaultInterpolatedStringHandler3.ToStringAndClear());
|
||||
UiThemeUtils.EndCard(item, item2, item3);
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader(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>(1498456112));
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple3 = UiThemeUtils.BeginCard();
|
||||
item4 = tuple3.ContentStartPos;
|
||||
item5 = tuple3.AvailableWidth;
|
||||
item6 = tuple3.DrawList;
|
||||
value5 = navigation.GilReserve;
|
||||
num = ((!UiThemeUtils.AccentSliderInt(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>(836461425), ref value5, 0, 20000, 260f)) ? (-1837094583) : (-1837094574));
|
||||
continue;
|
||||
}
|
||||
case 1:
|
||||
goto IL_0783;
|
||||
case 6:
|
||||
navigation.UseTeleportTickets = value4;
|
||||
Save();
|
||||
num = -1837094579;
|
||||
continue;
|
||||
case 3:
|
||||
text = string.Empty;
|
||||
num = -1837094589;
|
||||
continue;
|
||||
case 7:
|
||||
break;
|
||||
IL_0783:
|
||||
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>(-874015327);
|
||||
num = -1837094589;
|
||||
continue;
|
||||
IL_06a1:
|
||||
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>(-1630606955);
|
||||
num = -1837094589;
|
||||
continue;
|
||||
end_IL_0381:
|
||||
break;
|
||||
}
|
||||
text = 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>(-1437944343);
|
||||
num = -1837094589;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private void DrawMountSelector(Configuration.NavigationConfiguration nav)
|
||||
{
|
||||
int currentItem = Array.FindIndex(_mountIds, (uint x) => x == nav.MountId);
|
||||
int num = ((currentItem != -1) ? 1444695159 : 1444695155);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1444695154;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
object obj;
|
||||
string previewOverride;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 3:
|
||||
nav.MountId = _mountIds[currentItem];
|
||||
Save();
|
||||
num = 1444695152;
|
||||
break;
|
||||
case 6:
|
||||
obj = null;
|
||||
goto IL_00a8;
|
||||
case 2:
|
||||
_200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E();
|
||||
UiThemeUtils.InfoIcon(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>(1749227958));
|
||||
return;
|
||||
case 0:
|
||||
num = ((currentItem < _mountNames.Length) ? 1444695156 : 1444695158);
|
||||
break;
|
||||
case 1:
|
||||
currentItem = 0;
|
||||
nav.MountId = _mountIds[currentItem];
|
||||
Save();
|
||||
num = 1444695159;
|
||||
break;
|
||||
case 5:
|
||||
num = ((currentItem < 0) ? 1444695158 : 1444695154);
|
||||
break;
|
||||
case 7:
|
||||
num = 1444695155;
|
||||
break;
|
||||
case 4:
|
||||
{
|
||||
obj = 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>(-934792339);
|
||||
goto IL_00a8;
|
||||
}
|
||||
IL_00a8:
|
||||
previewOverride = (string)obj;
|
||||
num = ((!UiThemeUtils.SearchableCombo(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>(-35861399), ref currentItem, _mountNames, ref _mountSearchText, _202E_206C_200C_202D_202C_200D_206F_202E_206C_206C_206C_206F_206B_206E_206F_206C_200D_200B_206A_200F_200D_200C_202A_202B_206A_206F_200B_206F_202D_200B_202A_200F_202C_202B_200F_202E_200F_202E_206A_206E_202E(260f, _202A_200B_200F_206C_200C_202E_200D_200D_200D_202C_206F_206B_206B_202B_206F_206A_206C_202A_200B_200B_200E_202B_202D_200E_200E_200E_206A_202B_202B_206E_200F_206B_200C_202D_202D_206B_202E_200D_206E_202A_202E().X), previewOverride)) ? 1444695152 : 1444695153);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
static NavigationConfigComponent()
|
||||
{
|
||||
int num = 1;
|
||||
List<(uint, string)> list = new List<(uint, string)>(num);
|
||||
CollectionsMarshal.SetCount(list, num);
|
||||
CollectionsMarshal.AsSpan(list)[0] = (0u, 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>(566069387));
|
||||
DefaultMounts = list;
|
||||
}
|
||||
|
||||
static StringComparer _202B_206D_206F_202E_206B_206A_206D_200C_206B_206E_206B_200B_200E_200D_206C_202D_200F_202B_206E_206F_200E_206C_206A_206D_202C_202E_200B_200B_206B_200B_200C_202E_200E_202B_206A_200E_206A_206C_202D_202D_202E()
|
||||
{
|
||||
return StringComparer.OrdinalIgnoreCase;
|
||||
}
|
||||
|
||||
static bool _200C_206B_206F_206D_200B_200B_202A_206A_200C_202D_200C_202C_206D_202B_202E_206D_202D_206F_200E_200F_206B_200E_206C_206F_202A_202D_202B_202A_206F_206D_200D_200D_202B_200C_206F_202A_200C_206B_202B_206A_202E(string P_0)
|
||||
{
|
||||
return string.IsNullOrEmpty(P_0);
|
||||
}
|
||||
|
||||
static string _200D_200E_202A_200C_200B_202C_202D_206E_202C_206B_206C_206A_206B_200E_202C_206F_200B_200D_200E_206C_200B_206D_202E_206F_200E_206D_206F_202E_200D_202C_202A_202D_202E_202D_202E_206C_206C_202D_202A_200F_202E(string P_0)
|
||||
{
|
||||
return P_0.ToLowerInvariant();
|
||||
}
|
||||
|
||||
static bool _200B_200F_200C_206F_202B_202B_206D_206D_200C_206D_206F_206B_206D_202E_200F_202A_200B_200B_202C_202B_206A_206D_202D_206A_202E_206D_206E_206A_202C_202E_200C_200F_206E_200C_202B_202C_202B_200C_206B_206E_202E(string P_0, string P_1, StringComparison P_2)
|
||||
{
|
||||
return P_0.Equals(P_1, P_2);
|
||||
}
|
||||
|
||||
static CultureInfo _202E_206D_202B_206B_206B_206D_202E_202E_200D_202C_202B_206D_206B_200E_206A_206D_206A_200C_206C_202E_200E_202B_200F_206F_202A_202D_200D_202E_206D_200C_202C_200F_206A_202E_202B_206B_200B_206B_206D_206C_202E()
|
||||
{
|
||||
return CultureInfo.InvariantCulture;
|
||||
}
|
||||
|
||||
static TextInfo _202E_200D_200C_202D_206E_202C_206C_200B_202D_206E_202C_200D_206E_206B_200E_202E_200D_206E_200E_202B_206F_206A_200F_202E_202C_202B_200F_206E_200E_202A_200B_206F_202C_200E_206E_200C_200F_206B_206B_200E_202E(CultureInfo P_0)
|
||||
{
|
||||
return P_0.TextInfo;
|
||||
}
|
||||
|
||||
static string _202D_206F_200D_200E_200D_206B_202C_206D_206B_206E_202C_202C_206D_202A_202D_202A_202C_206D_200F_206C_200E_206D_202A_202B_206C_206C_206F_206A_202C_202D_206F_200E_206F_200B_206B_206A_206E_200F_202C_206F_202E(TextInfo P_0, string P_1)
|
||||
{
|
||||
return P_0.ToTitleCase(P_1);
|
||||
}
|
||||
|
||||
static string[] _202A_202D_202A_200B_206E_200D_202C_206B_200D_202D_200E_200C_206E_202B_200E_206B_200F_202A_206C_206C_206B_200E_202C_206E_202A_202C_200E_200F_200E_206E_202E_200E_206A_202E_206A_202C_200B_200E_206A_200E_202E(string P_0, char P_1, StringSplitOptions P_2)
|
||||
{
|
||||
return P_0.Split(P_1, P_2);
|
||||
}
|
||||
|
||||
static int _206D_206B_206B_202C_206C_206C_202A_202A_200E_202A_200F_200E_206D_206D_202D_202D_206F_202D_202B_206D_200B_206B_202D_202D_202E_202B_202D_206A_206E_200E_200D_206D_200B_202A_206C_202B_206E_200B_200D_206F_202E(string P_0)
|
||||
{
|
||||
return P_0.Length;
|
||||
}
|
||||
|
||||
static char _206F_200C_200D_206B_206C_206B_206C_206C_206F_206D_206C_200E_200B_202B_200F_206A_202E_202D_200C_200C_206F_202D_202D_200C_202A_206A_202C_200D_202E_200D_206D_206B_202B_206A_202A_206E_200C_202A_202C_202C_202E(string P_0, int P_1)
|
||||
{
|
||||
return P_0[P_1];
|
||||
}
|
||||
|
||||
static string _202C_200C_200D_202E_206E_202B_200E_202A_206E_206D_202C_206A_206F_200C_202D_206E_200E_206C_202D_200F_206B_206A_202E_202A_200D_200F_200B_202A_200C_202E_200E_206C_202B_206B_206D_206F_206A_202C_202D_202D_202E(string P_0, int P_1)
|
||||
{
|
||||
return P_0.Substring(P_1);
|
||||
}
|
||||
|
||||
static ReadOnlySpan<char> _202D_202D_202C_206C_206B_206E_206B_206A_206F_202E_206C_200E_206A_202C_200D_206F_206E_206D_206A_206A_202E_202D_202B_202C_202E_202E_202D_206C_206A_200B_200C_206D_206B_200D_202D_206D_202E_200D_202B_202A_202E(string P_0)
|
||||
{
|
||||
return P_0;
|
||||
}
|
||||
|
||||
static string _202E_200B_206D_200F_200E_202D_200B_206F_200B_206F_200D_202D_200B_200D_206B_200C_202D_206A_202B_202B_206D_202D_202E_206C_206E_200D_202A_206F_202E_202B_202E_206B_202A_200C_200C_202A_202E_206A_206F_202A_202E(ReadOnlySpan<char> P_0, ReadOnlySpan<char> P_1)
|
||||
{
|
||||
return string.Concat(P_0, P_1);
|
||||
}
|
||||
|
||||
static string _200D_206C_202D_202E_206E_200C_202D_206D_206F_206F_202A_206F_206E_200E_206D_202E_202B_206F_206A_200C_202B_206A_206A_202E_200C_206F_206E_200C_206D_200E_200E_202B_206E_202D_202D_202B_206D_200E_202B_200D_202E(string P_0, string[] P_1)
|
||||
{
|
||||
return string.Join(P_0, P_1);
|
||||
}
|
||||
|
||||
static void _200D_206C_206E_202A_202B_202B_202C_200F_200C_206F_202D_202D_202D_200E_200C_200F_206E_206B_206E_200E_202A_206D_200F_200F_206A_202E_202C_206D_202B_202C_202C_200D_202C_206E_202B_206D_206B_206A_200D_202D_202E()
|
||||
{
|
||||
ImGui.SameLine();
|
||||
}
|
||||
|
||||
static ImRaii.DisabledDisposable _202E_202E_202B_202E_200E_200D_202E_200C_200D_206A_200D_200D_202E_200C_200B_206C_206B_202B_200E_200F_206F_206B_206A_202C_200B_206E_200F_206A_200E_206B_202B_206D_200F_202D_202E_202D_206B_206A_202B_206B_202E(bool P_0)
|
||||
{
|
||||
return ImRaii.Disabled(P_0);
|
||||
}
|
||||
|
||||
static void _206B_200E_206C_200D_202D_206A_202C_200B_206D_202E_206B_202C_202B_206D_206D_200C_200F_202A_206D_202B_202B_202E_202B_206A_206C_202C_202B_202C_206B_200F_206E_200B_206E_200B_202E_202D_206F_206C_206A_206F_202E(IDisposable P_0)
|
||||
{
|
||||
P_0.Dispose();
|
||||
}
|
||||
|
||||
static int _202E_200C_200E_206A_206F_206D_202C_200F_206D_206A_202A_206E_200E_202E_200D_202E_200F_202B_206E_202C_200E_200E_206C_200C_206F_202E_206B_202E_202B_206F_206C_206E_200E_202B_200D_206A_202D_206A_202E_200F_202E(int P_0, int P_1, int P_2)
|
||||
{
|
||||
return Math.Clamp(P_0, P_1, P_2);
|
||||
}
|
||||
|
||||
static Vector2 _202A_200B_200F_206C_200C_202E_200D_200D_200D_202C_206F_206B_206B_202B_206F_206A_206C_202A_200B_200B_200E_202B_202D_200E_200E_200E_206A_202B_202B_206E_200F_206B_200C_202D_202D_206B_202E_200D_206E_202A_202E()
|
||||
{
|
||||
return ImGui.GetContentRegionAvail();
|
||||
}
|
||||
|
||||
static float _202E_206C_200C_202D_202C_200D_206F_202E_206C_206C_206C_206F_206B_206E_206F_206C_200D_200B_206A_200F_200D_200C_202A_202B_206A_206F_200B_206F_202D_200B_202A_200F_202C_202B_200F_202E_200F_202E_206A_206E_202E(float P_0, float P_1)
|
||||
{
|
||||
return MathF.Min(P_0, P_1);
|
||||
}
|
||||
|
||||
static void _202E_206C_202E_202E_200F_202A_206A_206E_202C_206E_200B_200C_202E_206D_206E_202B_200C_200C_200E_206F_206A_206B_202B_206B_206D_202D_200C_202B_206C_206C_200B_202C_206D_206F_200F_206E_202B_202B_206A_202C_202E(float P_0)
|
||||
{
|
||||
ImGui.SetNextItemWidth(P_0);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,98 +1,588 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Dalamud.Bindings.ImGui;
|
||||
using Dalamud.Game.Text;
|
||||
using Dalamud.Interface;
|
||||
using Dalamud.Interface.Utility.Raii;
|
||||
using Dalamud.Plugin;
|
||||
using Dalamud.Utility;
|
||||
using LLib.Notifications;
|
||||
|
||||
namespace Questionable.Windows.ConfigComponents;
|
||||
|
||||
internal sealed class NotificationConfigComponent : ConfigComponent
|
||||
{
|
||||
[Serializable]
|
||||
[CompilerGenerated]
|
||||
private sealed class _003C_003Ec
|
||||
{
|
||||
public static readonly _003C_003Ec _003C_003E9 = new _003C_003Ec();
|
||||
|
||||
public static Func<string, bool> _003C_003E9__8_0;
|
||||
|
||||
public static Func<XivChatType, bool> _003C_003E9__8_1;
|
||||
|
||||
public static Func<XivChatType, string> _003C_003E9__8_2;
|
||||
|
||||
internal bool _003C_002Ector_003Eb__8_0(string n)
|
||||
{
|
||||
return _206D_200C_206E_202D_206B_206E_200C_200E_200B_200E_200E_206E_206E_206B_206E_200E_206A_200E_200F_202D_202D_200B_200D_200D_200F_206B_202A_200D_206D_202D_202A_200C_206E_206A_200F_206F_206A_202D_200C_206C_202E(n) != null;
|
||||
}
|
||||
|
||||
internal bool _003C_002Ector_003Eb__8_1(XivChatType x)
|
||||
{
|
||||
return x != XivChatType.StandardEmote;
|
||||
}
|
||||
|
||||
internal string _003C_002Ector_003Eb__8_2(XivChatType t)
|
||||
{
|
||||
XivChatTypeInfoAttribute? attribute = t.GetAttribute<XivChatTypeInfoAttribute>();
|
||||
return ((attribute != null) ? _206D_200F_202D_200B_200B_202E_206E_202A_202D_206A_202A_200D_200B_200B_206A_202D_200C_200C_202A_202A_200C_200D_200D_200B_206F_202B_200D_202E_200D_206E_206D_206A_202D_206A_202C_202D_202C_200F_200D_206E_202E(attribute) : null) ?? t.ToString();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal string _003C_002Ecctor_003Eb__11_0(int i)
|
||||
{
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(9, 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>(602783001));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(i, 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>(1462241587));
|
||||
defaultInterpolatedStringHandler.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>(278560641));
|
||||
return defaultInterpolatedStringHandler.ToStringAndClear();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
internal string _003C_002Ecctor_003Eb__11_1(int i)
|
||||
{
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(8, 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>(1592517238));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(i, 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>(1194352829));
|
||||
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>(1770632532));
|
||||
return defaultInterpolatedStringHandler.ToStringAndClear();
|
||||
}
|
||||
|
||||
static string _206D_200C_206E_202D_206B_206E_200C_200E_200B_200E_200E_206E_206E_206B_206E_200E_206A_200E_200F_202D_202D_200B_200D_200D_200F_206B_202A_200D_206D_202D_202A_200C_206E_206A_200F_206F_206A_202D_200C_206C_202E(string P_0)
|
||||
{
|
||||
return WindowsSounds.ResolvePath(P_0);
|
||||
}
|
||||
|
||||
static string _206D_200F_202D_200B_200B_202E_206E_202A_202D_206A_202A_200D_200B_200B_206A_202D_200C_200C_202A_202A_200C_200D_200D_200B_206F_202B_200D_202E_200D_206E_206D_206A_202D_206A_202C_202D_202C_200F_200D_206E_202E(XivChatTypeInfoAttribute P_0)
|
||||
{
|
||||
return P_0.FancyName;
|
||||
}
|
||||
}
|
||||
|
||||
private static readonly string[] CuratedSoundNames;
|
||||
|
||||
private readonly OutOfGameNotifier _notifier;
|
||||
|
||||
private readonly string[] _soundFiles;
|
||||
|
||||
private readonly string[] _soundLabels;
|
||||
|
||||
private readonly XivChatType[] _xivChatTypes;
|
||||
|
||||
private readonly string[] _chatTypeNames;
|
||||
|
||||
private string _chatChannelSearchText = string.Empty;
|
||||
|
||||
private bool _chatChannelComboJustOpened;
|
||||
private string _soundSearchText = string.Empty;
|
||||
|
||||
public NotificationConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration)
|
||||
public NotificationConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, OutOfGameNotifier notifier)
|
||||
: base(pluginInterface, configuration)
|
||||
{
|
||||
_notifier = notifier;
|
||||
_soundFiles = CuratedSoundNames.Where((string n) => _003C_003Ec._206D_200C_206E_202D_206B_206E_200C_200E_200B_200E_200E_206E_206E_206B_206E_200E_206A_200E_200F_202D_202D_200B_200D_200D_200F_206B_202A_200D_206D_202D_202A_200C_206E_206A_200F_206F_206A_202D_200C_206C_202E(n) != null).ToArray();
|
||||
_soundLabels = _soundFiles.Select(SoundLabel).ToArray();
|
||||
_xivChatTypes = (from x in Enum.GetValues<XivChatType>()
|
||||
where x != XivChatType.StandardEmote
|
||||
select x).ToArray();
|
||||
_chatTypeNames = _xivChatTypes.Select((XivChatType t) => t.GetAttribute<XivChatTypeInfoAttribute>()?.FancyName ?? t.ToString()).ToArray();
|
||||
_chatTypeNames = _xivChatTypes.Select(delegate(XivChatType t)
|
||||
{
|
||||
XivChatTypeInfoAttribute? attribute = t.GetAttribute<XivChatTypeInfoAttribute>();
|
||||
return ((attribute != null) ? _003C_003Ec._206D_200F_202D_200B_200B_202E_206E_202A_202D_206A_202A_200D_200B_200B_206A_202D_200C_200C_202A_202A_200C_200D_200D_200B_206F_202B_200D_202E_200D_206E_206D_206A_202D_206A_202C_202D_202C_200F_200D_206E_202E(attribute) : null) ?? t.ToString();
|
||||
}).ToArray();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private static string SoundLabel(string value)
|
||||
{
|
||||
int num = (_202B_200D_200B_206A_206A_206A_206E_206D_202A_202E_202A_206C_200D_206A_202D_200B_200B_200B_206C_206F_202A_200B_200E_200F_206C_206D_202E_202D_206B_206D_206C_200E_202D_206A_202C_206A_202A_206B_200C_200C_202E(value) ? (-600532132) : (-600532129));
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -600532130;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 2:
|
||||
return 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>(-989655231);
|
||||
case 1:
|
||||
return _206D_200D_200F_202D_202C_202A_200D_206C_200C_200F_202B_202E_206F_200C_202C_206F_206F_202B_202A_206B_206B_202C_200D_206C_206A_202D_200C_200B_200B_200F_206A_206D_206C_200C_200F_200D_200E_200D_200F_202E(value);
|
||||
case 0:
|
||||
goto IL_0058;
|
||||
}
|
||||
continue;
|
||||
IL_0058:
|
||||
num = -600532129;
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override void DrawTab()
|
||||
{
|
||||
using ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Notifications###Notifications");
|
||||
if (!tabItemDisposable)
|
||||
UiThemeUtils.SectionHeader(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>(-1178059847));
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard();
|
||||
Vector2 item = tuple.ContentStartPos;
|
||||
float item2 = tuple.AvailableWidth;
|
||||
ImDrawListPtr item3 = tuple.DrawList;
|
||||
bool value = base.Configuration.Notifications.Enabled;
|
||||
int num = ((!UiThemeUtils.WrappedCheckbox(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>(860957043), ref value)) ? 1450201521 : 1450201522);
|
||||
bool value4 = default(bool);
|
||||
bool value5 = default(bool);
|
||||
Vector2 item7 = default(Vector2);
|
||||
float item8 = default(float);
|
||||
ImDrawListPtr item9 = default(ImDrawListPtr);
|
||||
while (true)
|
||||
{
|
||||
return;
|
||||
}
|
||||
bool v = base.Configuration.Notifications.Enabled;
|
||||
if (ImGui.Checkbox("Enable notifications when manual interaction is required", ref v))
|
||||
{
|
||||
base.Configuration.Notifications.Enabled = v;
|
||||
Save();
|
||||
}
|
||||
using (ImRaii.Disabled(!base.Configuration.Notifications.Enabled))
|
||||
{
|
||||
using (ImRaii.PushIndent())
|
||||
int num2 = num;
|
||||
int num3 = 1450201520;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
int num = Array.IndexOf(_xivChatTypes, base.Configuration.Notifications.ChatType);
|
||||
if (num == -1)
|
||||
case 0:
|
||||
num = 1450201522;
|
||||
break;
|
||||
case 2:
|
||||
base.Configuration.Notifications.Enabled = value;
|
||||
Save();
|
||||
num = 1450201521;
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
ImRaii.DisabledDisposable disabledDisposable = _206D_206A_206C_206D_200C_202A_202D_206D_206B_202E_206B_206B_200C_200B_202D_202D_200D_206B_200C_200B_206C_206B_200E_206B_202A_202B_202D_206D_206D_200C_200C_200D_206C_206C_206E_200F_206E_202D_202A_206A_202E(!base.Configuration.Notifications.Enabled);
|
||||
try
|
||||
{
|
||||
num = 0;
|
||||
}
|
||||
string text = ((num >= 0 && num < _chatTypeNames.Length) ? _chatTypeNames[num] : "Unknown");
|
||||
if (ImGui.BeginCombo("Chat channel", text, ImGuiComboFlags.HeightLarge))
|
||||
{
|
||||
if (!_chatChannelComboJustOpened)
|
||||
int currentItem = Array.IndexOf(_xivChatTypes, base.Configuration.Notifications.ChatType);
|
||||
num = ((currentItem != -1) ? 55349641 : 55349647);
|
||||
while (true)
|
||||
{
|
||||
ImGui.SetKeyboardFocusHere();
|
||||
_chatChannelComboJustOpened = true;
|
||||
}
|
||||
ImGui.SetNextItemWidth(-1f);
|
||||
ImGui.InputTextWithHint("##ChatChannelSearch", "Search chat channels...", ref _chatChannelSearchText, 256);
|
||||
ImGui.Separator();
|
||||
using (ImRaii.ChildDisposable childDisposable = ImRaii.Child("##ChatChannelScrollArea", new Vector2(0f, 300f), border: false))
|
||||
{
|
||||
if ((bool)childDisposable)
|
||||
int num7 = num;
|
||||
num3 = 55349645;
|
||||
num4 = num7;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
string value = _chatChannelSearchText.ToUpperInvariant();
|
||||
for (int i = 0; i < _chatTypeNames.Length; i++)
|
||||
case 3:
|
||||
num = 55349647;
|
||||
break;
|
||||
case 4:
|
||||
{
|
||||
float width = _202D_200E_202B_202C_202A_206E_202C_202B_206A_202D_206A_200E_200F_200E_200F_200D_200D_206F_202B_200F_206D_206F_202E_202B_206D_202D_202D_202C_206D_206C_206A_200B_202B_200E_200C_200C_202C_206A_202C_200C_202E(260f, _206D_202E_202E_206A_206F_206E_200C_200B_202A_202D_206D_200B_202C_200E_200D_202C_202D_202B_202A_202D_206E_206B_200F_206D_206D_206A_206D_206D_200E_206A_206A_206B_206F_202B_200B_206A_206E_200C_202E_202A_202E().X);
|
||||
num = ((!UiThemeUtils.SearchableCombo(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>(-1712169255), ref currentItem, _chatTypeNames, ref _chatChannelSearchText, width)) ? 55349644 : 55349645);
|
||||
break;
|
||||
}
|
||||
case 0:
|
||||
base.Configuration.Notifications.ChatType = _xivChatTypes[currentItem];
|
||||
Save();
|
||||
num = 55349644;
|
||||
break;
|
||||
case 2:
|
||||
currentItem = 0;
|
||||
num = 55349641;
|
||||
break;
|
||||
case 1:
|
||||
goto end_IL_011e;
|
||||
}
|
||||
continue;
|
||||
end_IL_011e:
|
||||
break;
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((disabledDisposable == null) ? 1015162828 : 1015162831);
|
||||
while (true)
|
||||
{
|
||||
int num8 = num;
|
||||
num3 = 1015162829;
|
||||
num4 = num8;
|
||||
int num9 = num4 + num3;
|
||||
int num10 = num4 & num3;
|
||||
switch (num9 - (num10 + num10))
|
||||
{
|
||||
case 1:
|
||||
goto end_IL_020f;
|
||||
case 2:
|
||||
_206C_206B_206C_206E_200E_202C_200E_202E_202E_200D_202A_200D_206C_200D_206F_206C_202E_200B_206D_202E_200D_200D_202D_202B_206E_200B_206B_202B_200D_202C_200B_200B_206D_206D_202C_202E_200D_206C_206C_206D_202E((IDisposable)disabledDisposable);
|
||||
num = 1015162828;
|
||||
break;
|
||||
case 0:
|
||||
num = 1015162831;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_020f:
|
||||
break;
|
||||
}
|
||||
}
|
||||
UiThemeUtils.EndCard(item, item2, item3);
|
||||
disabledDisposable = _206D_206A_206C_206D_200C_202A_202D_206D_206B_202E_206B_206B_200C_200B_202D_202D_200D_206B_200C_200B_206C_206B_200E_206B_202A_202B_202D_206D_206D_200C_200C_200D_206C_206C_206E_200F_206E_202D_202A_206A_202E(!base.Configuration.Notifications.Enabled);
|
||||
try
|
||||
{
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader(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>(-594783107));
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard();
|
||||
Vector2 item4 = tuple2.ContentStartPos;
|
||||
float item5 = tuple2.AvailableWidth;
|
||||
ImDrawListPtr item6 = tuple2.DrawList;
|
||||
bool value2 = base.Configuration.Notifications.FlashTaskbar;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(1116257301), ref value2)) ? (-62751594) : (-62751599));
|
||||
while (true)
|
||||
{
|
||||
int num11 = num;
|
||||
num3 = -62751598;
|
||||
num4 = num11;
|
||||
int num12 = num4 + num3;
|
||||
int num13 = num4 & num3;
|
||||
switch (num12 - (num13 + num13))
|
||||
{
|
||||
case 6:
|
||||
value4 = base.Configuration.Notifications.PlaySound;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(922936492), ref value4)) ? (-62751600) : (-62751593));
|
||||
break;
|
||||
case 5:
|
||||
base.Configuration.Notifications.PlaySound = value4;
|
||||
Save();
|
||||
num = -62751600;
|
||||
break;
|
||||
case 0:
|
||||
num = -62751599;
|
||||
break;
|
||||
case 3:
|
||||
base.Configuration.Notifications.FlashTaskbar = value2;
|
||||
Save();
|
||||
num = -62751594;
|
||||
break;
|
||||
case 4:
|
||||
value5 = base.Configuration.Notifications.ShowTrayMessage;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(-212691953), ref value5)) ? (-62751596) : (-62751597));
|
||||
break;
|
||||
case 1:
|
||||
base.Configuration.Notifications.ShowTrayMessage = value5;
|
||||
Save();
|
||||
num = -62751596;
|
||||
break;
|
||||
case 2:
|
||||
{
|
||||
ImRaii.DisabledDisposable disabledDisposable2 = _206D_206A_206C_206D_200C_202A_202D_206D_206B_202E_206B_206B_200C_200B_202D_202D_200D_206B_200C_200B_206C_206B_200E_206B_202A_202B_202D_206D_206D_200C_200C_200D_206C_206C_206E_200F_206E_202D_202A_206A_202E(!base.Configuration.Notifications.PlaySound);
|
||||
try
|
||||
{
|
||||
if (string.IsNullOrEmpty(_chatChannelSearchText) || _chatTypeNames[i].ToUpperInvariant().Contains(value, StringComparison.Ordinal))
|
||||
ImRaii.IndentDisposable indentDisposable = _202E_202C_206C_200F_206C_206D_202E_202B_202E_206A_200D_202B_200E_200D_206C_200D_206B_200D_206B_200B_206F_200B_206A_206D_206B_206D_200B_200C_202D_200E_206E_206F_200C_200C_200C_206B_206E_200E_200E_206D_202E(1, true);
|
||||
try
|
||||
{
|
||||
bool flag = i == num;
|
||||
if (ImGui.Selectable(_chatTypeNames[i], flag))
|
||||
int currentItem2 = Array.IndexOf(_soundFiles, base.Configuration.Notifications.SoundFile);
|
||||
float width2 = _202D_200E_202B_202C_202A_206E_202C_202B_206A_202D_206A_200E_200F_200E_200F_200D_200D_206F_202B_200F_206D_206F_202E_202B_206D_202D_202D_202C_206D_206C_206A_200B_202B_200E_200C_200C_202C_206A_202C_200C_202E(_206D_202E_202E_206A_206F_206E_200C_200B_202A_202D_206D_200B_202C_200E_200D_202C_202D_202B_202A_202D_206E_206B_200F_206D_206D_206A_206D_206D_200E_206A_206A_206B_206F_202B_200B_206A_206E_200C_202E_202A_202E().X * 0.6f, 260f);
|
||||
num = ((currentItem2 < 0) ? (-996474497) : (-996474498));
|
||||
while (true)
|
||||
{
|
||||
base.Configuration.Notifications.ChatType = _xivChatTypes[i];
|
||||
Save();
|
||||
_chatChannelSearchText = string.Empty;
|
||||
ImGui.CloseCurrentPopup();
|
||||
int num14 = num;
|
||||
num3 = -996474499;
|
||||
num4 = num14;
|
||||
object obj;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
default:
|
||||
continue;
|
||||
case 5:
|
||||
base.Configuration.Notifications.SoundFile = _soundFiles[currentItem2];
|
||||
Save();
|
||||
num = -996474500;
|
||||
continue;
|
||||
case 3:
|
||||
obj = null;
|
||||
break;
|
||||
case 1:
|
||||
_200D_202B_206F_202B_206E_202E_202D_200C_202A_202B_206D_200D_206A_202A_202C_202D_202D_200C_200F_202C_200F_206E_206F_206D_206B_206D_202E_200E_202A_206C_206C_200C_202E_202D_206D_206F_206E_202E_202B_200E_202E();
|
||||
num = ((!UiThemeUtils.IconTextButton(FontAwesomeIcon.Play, 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>(1219773276))) ? (-996474503) : (-996474501));
|
||||
continue;
|
||||
case 6:
|
||||
_202B_206C_200E_206E_200B_200E_200F_206E_200C_200B_202E_202E_202D_206E_200E_206E_202B_200F_202E_206C_202C_200C_202A_200F_202C_202B_202E_206C_206A_202D_200F_200F_206B_200C_206A_200E_202A_206D_206B_206D_202E(_notifier, _202D_200D_202B_206D_206F_206C_202E_202A_200D_206C_206B_200B_200D_202C_202E_206A_200F_202A_200F_200C_202C_202B_202E_206C_206B_202C_200E_200B_202C_202B_206F_202C_206B_200E_206D_206C_202D_200F_206D_206D_202E(base.Configuration.Notifications.SoundFile));
|
||||
num = -996474503;
|
||||
continue;
|
||||
case 0:
|
||||
num = -996474498;
|
||||
continue;
|
||||
case 2:
|
||||
obj = SoundLabel(base.Configuration.Notifications.SoundFile);
|
||||
break;
|
||||
case 4:
|
||||
goto end_IL_04a4;
|
||||
}
|
||||
string previewOverride = (string)obj;
|
||||
num = ((!UiThemeUtils.SearchableCombo(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>(51923745), ref currentItem2, _soundLabels, ref _soundSearchText, width2, previewOverride)) ? (-996474500) : (-996474504));
|
||||
continue;
|
||||
end_IL_04a4:
|
||||
break;
|
||||
}
|
||||
if (flag)
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((indentDisposable == null) ? (-363189453) : (-363189456));
|
||||
while (true)
|
||||
{
|
||||
ImGui.SetItemDefaultFocus();
|
||||
int num15 = num;
|
||||
num3 = -363189454;
|
||||
num4 = num15;
|
||||
int num16 = num4 + num3;
|
||||
int num17 = num4 & num3;
|
||||
switch (num16 - (num17 + num17))
|
||||
{
|
||||
case 0:
|
||||
num = -363189456;
|
||||
break;
|
||||
case 1:
|
||||
goto end_IL_0604;
|
||||
case 2:
|
||||
_206C_206B_206C_206E_200E_202C_200E_202E_202E_200D_202A_200D_206C_200D_206F_206C_202E_200B_206D_202E_200D_200D_202D_202B_206E_200B_206B_202B_200D_202C_200B_200B_206D_206D_202C_202E_200D_206C_206C_206D_202E((IDisposable)indentDisposable);
|
||||
num = -363189453;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_0604:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((disabledDisposable2 == null) ? 33973152 : 33973155);
|
||||
while (true)
|
||||
{
|
||||
int num18 = num;
|
||||
num3 = 33973154;
|
||||
num4 = num18;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 0:
|
||||
num = 33973155;
|
||||
break;
|
||||
case 1:
|
||||
_206C_206B_206C_206E_200E_202C_200E_202E_202E_200D_202A_200D_206C_200D_206F_206C_202E_200B_206D_202E_200D_200D_202D_202B_206E_200B_206B_202B_200D_202C_200B_200B_206D_206D_202C_202E_200D_206C_206C_206D_202E((IDisposable)disabledDisposable2);
|
||||
num = 33973152;
|
||||
break;
|
||||
case 2:
|
||||
goto end_IL_0671;
|
||||
}
|
||||
continue;
|
||||
end_IL_0671:
|
||||
break;
|
||||
}
|
||||
}
|
||||
bool value3 = base.Configuration.Notifications.OnlyWhenUnfocused;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(1501040901), ref value3, 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>(-468946821))) ? (-1567407838) : (-1567407833));
|
||||
while (true)
|
||||
{
|
||||
int num19 = num;
|
||||
num3 = -1567407840;
|
||||
num4 = num19;
|
||||
int num20 = num4 + num3;
|
||||
int num21 = num4 & num3;
|
||||
switch (num20 - (num21 + num21))
|
||||
{
|
||||
case 4:
|
||||
base.Configuration.Notifications.AlertForSnipe = !base.Configuration.Notifications.AlertForSnipe;
|
||||
Save();
|
||||
num = -1567407832;
|
||||
break;
|
||||
case 1:
|
||||
goto IL_0782;
|
||||
case 7:
|
||||
base.Configuration.Notifications.OnlyWhenUnfocused = value3;
|
||||
Save();
|
||||
num = -1567407838;
|
||||
break;
|
||||
case 5:
|
||||
goto IL_07db;
|
||||
case 2:
|
||||
{
|
||||
UiThemeUtils.EndCard(item4, item5, item6);
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader(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>(1455636673));
|
||||
_200D_202B_206F_202B_206E_202E_202D_200C_202A_202B_206D_200D_206A_202A_202C_202D_202D_200C_200F_202C_200F_206E_206F_206D_206B_206D_202E_200E_202A_206C_206C_200C_202E_202D_206D_206F_206E_202E_202B_200E_202E();
|
||||
UiThemeUtils.InfoIcon(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>(1061858222));
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple3 = UiThemeUtils.BeginCard();
|
||||
item7 = tuple3.ContentStartPos;
|
||||
item8 = tuple3.AvailableWidth;
|
||||
item9 = tuple3.DrawList;
|
||||
InlineArray4<UiThemeUtils.GridCheckbox> buffer = default(InlineArray4<UiThemeUtils.GridCheckbox>);
|
||||
global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<InlineArray4<UiThemeUtils.GridCheckbox>, UiThemeUtils.GridCheckbox>(ref buffer, 0) = new UiThemeUtils.GridCheckbox(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>(1354247148), base.Configuration.Notifications.AlertForDuties);
|
||||
global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<InlineArray4<UiThemeUtils.GridCheckbox>, UiThemeUtils.GridCheckbox>(ref buffer, 1) = new UiThemeUtils.GridCheckbox(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>(134232088), base.Configuration.Notifications.AlertForSinglePlayerDuties);
|
||||
global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<InlineArray4<UiThemeUtils.GridCheckbox>, UiThemeUtils.GridCheckbox>(ref buffer, 2) = new UiThemeUtils.GridCheckbox(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>(898378632), base.Configuration.Notifications.AlertForSnipe);
|
||||
global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<InlineArray4<UiThemeUtils.GridCheckbox>, UiThemeUtils.GridCheckbox>(ref buffer, 3) = new UiThemeUtils.GridCheckbox(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>(1315244177), base.Configuration.Notifications.AlertForStopConditions);
|
||||
ReadOnlySpan<UiThemeUtils.GridCheckbox> items = global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan<InlineArray4<UiThemeUtils.GridCheckbox>, UiThemeUtils.GridCheckbox>(in buffer, 4);
|
||||
switch (UiThemeUtils.CheckboxGrid(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>(-1373958987), items))
|
||||
{
|
||||
case 2:
|
||||
break;
|
||||
case 3:
|
||||
goto IL_0782;
|
||||
case 0:
|
||||
goto IL_07db;
|
||||
default:
|
||||
goto IL_0950;
|
||||
case 1:
|
||||
goto IL_095c;
|
||||
}
|
||||
goto case 4;
|
||||
}
|
||||
case 6:
|
||||
goto IL_095c;
|
||||
case 3:
|
||||
num = -1567407833;
|
||||
break;
|
||||
case 0:
|
||||
num = -1567407832;
|
||||
break;
|
||||
case 8:
|
||||
{
|
||||
UiThemeUtils.EndCard(item7, item8, item9);
|
||||
return;
|
||||
}
|
||||
IL_095c:
|
||||
base.Configuration.Notifications.AlertForSinglePlayerDuties = !base.Configuration.Notifications.AlertForSinglePlayerDuties;
|
||||
Save();
|
||||
num = -1567407832;
|
||||
break;
|
||||
IL_0950:
|
||||
num = -1567407840;
|
||||
break;
|
||||
IL_07db:
|
||||
base.Configuration.Notifications.AlertForDuties = !base.Configuration.Notifications.AlertForDuties;
|
||||
Save();
|
||||
num = -1567407832;
|
||||
break;
|
||||
IL_0782:
|
||||
base.Configuration.Notifications.AlertForStopConditions = !base.Configuration.Notifications.AlertForStopConditions;
|
||||
Save();
|
||||
num = -1567407832;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
ImGui.EndCombo();
|
||||
}
|
||||
else
|
||||
finally
|
||||
{
|
||||
_chatChannelComboJustOpened = false;
|
||||
num = ((disabledDisposable == null) ? (-307318706) : (-307318705));
|
||||
while (true)
|
||||
{
|
||||
int num22 = num;
|
||||
num3 = -307318706;
|
||||
num4 = num22;
|
||||
int num23 = num4 + num3;
|
||||
int num24 = num4 & num3;
|
||||
switch (num23 - (num24 + num24))
|
||||
{
|
||||
case 2:
|
||||
num = -307318705;
|
||||
break;
|
||||
case 0:
|
||||
goto end_IL_09d8;
|
||||
case 1:
|
||||
_206C_206B_206C_206E_200E_202C_200E_202E_202E_200D_202A_200D_206C_200D_206F_206C_202E_200B_206D_202E_200D_200D_202D_202B_206E_200B_206B_202B_200D_202C_200B_200B_206D_206D_202C_202E_200D_206C_206C_206D_202E((IDisposable)disabledDisposable);
|
||||
num = -307318706;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_09d8:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static NotificationConfigComponent()
|
||||
{
|
||||
List<string> list = new List<string>();
|
||||
list.AddRange(_200F_206E_206E_200F_200E_202D_202C_202E_202B_200D_202B_200F_200B_206D_202B_202E_200D_200B_200E_200F_200E_202D_200B_202C_206D_206F_200C_206F_200C_200B_206B_202A_206E_200C_206C_202B_200D_200D_206E_202B_202E(1, 10).Select([MethodImpl(MethodImplOptions.NoInlining)] (int i) =>
|
||||
{
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(9, 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>(602783001));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(i, 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>(1462241587));
|
||||
defaultInterpolatedStringHandler.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>(278560641));
|
||||
return defaultInterpolatedStringHandler.ToStringAndClear();
|
||||
}));
|
||||
list.AddRange(_200F_206E_206E_200F_200E_202D_202C_202E_202B_200D_202B_200F_200B_206D_202B_202E_200D_200B_200E_200F_200E_202D_200B_202C_206D_206F_200C_206F_200C_200B_206B_202A_206E_200C_206C_202B_200D_200D_206E_202B_202E(1, 10).Select([MethodImpl(MethodImplOptions.NoInlining)] (int i) =>
|
||||
{
|
||||
DefaultInterpolatedStringHandler defaultInterpolatedStringHandler = new DefaultInterpolatedStringHandler(8, 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>(1592517238));
|
||||
defaultInterpolatedStringHandler.AppendFormatted(i, 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>(1194352829));
|
||||
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>(1770632532));
|
||||
return defaultInterpolatedStringHandler.ToStringAndClear();
|
||||
}));
|
||||
CuratedSoundNames = list.ToArray();
|
||||
}
|
||||
|
||||
static bool _202B_200D_200B_206A_206A_206A_206E_206D_202A_202E_202A_206C_200D_206A_202D_200B_200B_200B_206C_206F_202A_200B_200E_200F_206C_206D_202E_202D_206B_206D_206C_200E_202D_206A_202C_206A_202A_206B_200C_200C_202E(string P_0)
|
||||
{
|
||||
return string.IsNullOrEmpty(P_0);
|
||||
}
|
||||
|
||||
static string _206D_200D_200F_202D_202C_202A_200D_206C_200C_200F_202B_202E_206F_200C_202C_206F_206F_202B_202A_206B_206B_202C_200D_206C_206A_202D_200C_200B_200B_200F_206A_206D_206C_200C_200F_200D_200E_200D_200F_202E(string P_0)
|
||||
{
|
||||
return Path.GetFileNameWithoutExtension(P_0);
|
||||
}
|
||||
|
||||
static ImRaii.DisabledDisposable _206D_206A_206C_206D_200C_202A_202D_206D_206B_202E_206B_206B_200C_200B_202D_202D_200D_206B_200C_200B_206C_206B_200E_206B_202A_202B_202D_206D_206D_200C_200C_200D_206C_206C_206E_200F_206E_202D_202A_206A_202E(bool P_0)
|
||||
{
|
||||
return ImRaii.Disabled(P_0);
|
||||
}
|
||||
|
||||
static Vector2 _206D_202E_202E_206A_206F_206E_200C_200B_202A_202D_206D_200B_202C_200E_200D_202C_202D_202B_202A_202D_206E_206B_200F_206D_206D_206A_206D_206D_200E_206A_206A_206B_206F_202B_200B_206A_206E_200C_202E_202A_202E()
|
||||
{
|
||||
return ImGui.GetContentRegionAvail();
|
||||
}
|
||||
|
||||
static float _202D_200E_202B_202C_202A_206E_202C_202B_206A_202D_206A_200E_200F_200E_200F_200D_200D_206F_202B_200F_206D_206F_202E_202B_206D_202D_202D_202C_206D_206C_206A_200B_202B_200E_200C_200C_202C_206A_202C_200C_202E(float P_0, float P_1)
|
||||
{
|
||||
return MathF.Min(P_0, P_1);
|
||||
}
|
||||
|
||||
static void _206C_206B_206C_206E_200E_202C_200E_202E_202E_200D_202A_200D_206C_200D_206F_206C_202E_200B_206D_202E_200D_200D_202D_202B_206E_200B_206B_202B_200D_202C_200B_200B_206D_206D_202C_202E_200D_206C_206C_206D_202E(IDisposable P_0)
|
||||
{
|
||||
P_0.Dispose();
|
||||
}
|
||||
|
||||
static ImRaii.IndentDisposable _202E_202C_206C_200F_206C_206D_202E_202B_202E_206A_200D_202B_200E_200D_206C_200D_206B_200D_206B_200B_206F_200B_206A_206D_206B_206D_200B_200C_202D_200E_206E_206F_200C_200C_200C_206B_206E_200E_200E_206D_202E(int P_0, bool P_1)
|
||||
{
|
||||
return ImRaii.PushIndent(P_0, P_1);
|
||||
}
|
||||
|
||||
static void _200D_202B_206F_202B_206E_202E_202D_200C_202A_202B_206D_200D_206A_202A_202C_202D_202D_200C_200F_202C_200F_206E_206F_206D_206B_206D_202E_200E_202A_206C_206C_200C_202E_202D_206D_206F_206E_202E_202B_200E_202E()
|
||||
{
|
||||
ImGui.SameLine();
|
||||
}
|
||||
|
||||
static string _202D_200D_202B_206D_206F_206C_202E_202A_200D_206C_206B_200B_200D_202C_202E_206A_200F_202A_200F_200C_202C_202B_202E_206C_206B_202C_200E_200B_202C_202B_206F_202C_206B_200E_206D_206C_202D_200F_206D_206D_202E(string P_0)
|
||||
{
|
||||
return WindowsSounds.ResolvePath(P_0);
|
||||
}
|
||||
|
||||
static void _202B_206C_200E_206E_200B_200E_200F_206E_200C_200B_202E_202E_202D_206E_200E_206E_202B_200F_202E_206C_202C_200C_202A_200F_202C_202B_202E_206C_206A_202D_200F_200F_206B_200C_206A_200E_202A_206D_206B_206D_202E(OutOfGameNotifier P_0, string P_1)
|
||||
{
|
||||
P_0.PlayAlertSound(P_1);
|
||||
}
|
||||
|
||||
static IEnumerable<int> _200F_206E_206E_200F_200E_202D_202C_202E_202B_200D_202B_200F_200B_206D_202B_202E_200D_200B_200E_200F_200E_202D_200B_202C_206D_206F_200C_206F_200C_200B_206B_202A_206E_200C_206C_202B_200D_200D_206E_202B_202E(int P_0, int P_1)
|
||||
{
|
||||
return Enumerable.Range(P_0, P_1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,604 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Dalamud.Bindings.ImGui;
|
||||
using Dalamud.Interface.Utility.Raii;
|
||||
using Dalamud.Plugin;
|
||||
using Questionable.Controller;
|
||||
using Questionable.Data;
|
||||
using Questionable.Model.Questing;
|
||||
|
||||
namespace Questionable.Windows.ConfigComponents;
|
||||
|
||||
internal sealed class QuestsConfigComponent : ConfigComponent
|
||||
{
|
||||
private static readonly string[] RoleQuestPreferenceNames = new string[6]
|
||||
{
|
||||
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>(782819251),
|
||||
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>(-1988067926),
|
||||
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>(1416322900),
|
||||
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>(775671530),
|
||||
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>(-642103101),
|
||||
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>(-1075445521)
|
||||
};
|
||||
|
||||
private readonly string[] _msqPriorityNames = new string[3]
|
||||
{
|
||||
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>(728941723),
|
||||
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>(-1545248646),
|
||||
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>(-1566075214)
|
||||
};
|
||||
|
||||
private readonly QuestRegistry _questRegistry;
|
||||
|
||||
private readonly TerritoryData _territoryData;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public QuestsConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, QuestRegistry questRegistry, TerritoryData territoryData)
|
||||
: base(pluginInterface, configuration)
|
||||
{
|
||||
_questRegistry = questRegistry;
|
||||
_territoryData = territoryData;
|
||||
}
|
||||
|
||||
public override void DrawTab()
|
||||
{
|
||||
DrawStoryAndProgression();
|
||||
UiThemeUtils.SectionSpacing();
|
||||
DrawSideContent();
|
||||
UiThemeUtils.SectionSpacing();
|
||||
DrawPriorityQuests();
|
||||
UiThemeUtils.SectionSpacing();
|
||||
DrawQuestDetails();
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private void DrawStoryAndProgression()
|
||||
{
|
||||
UiThemeUtils.SectionHeader(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>(237164093));
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard();
|
||||
Vector2 item = tuple.ContentStartPos;
|
||||
float item2 = tuple.AvailableWidth;
|
||||
ImDrawListPtr item3 = tuple.DrawList;
|
||||
int currentItem = (int)base.Configuration.General.MsqPriority;
|
||||
_206A_202B_200E_200E_206A_206F_202C_200D_206F_200B_206C_202B_200B_206B_202A_202A_202B_206F_200D_206F_200D_202E_206E_202E_202A_206D_206E_200D_206D_206B_206A_200E_202D_202D_200F_206A_206F_200C_206D_202E_202E(_202A_200C_202C_200E_206D_200D_202B_206C_200C_202D_206B_200C_206F_200C_200C_200D_206C_202A_206D_206C_202D_200F_206C_202A_202B_206E_202C_202E_206D_202C_206C_202A_206D_206D_202A_200C_200F_200F_206F_200D_202E(_202C_200D_200B_202B_206A_206F_206E_200C_200E_200E_200F_200D_202D_202E_202B_200B_202B_200E_200C_200C_200D_206D_202B_200D_200C_202D_202E_202B_206E_206A_206E_202C_206A_206F_200B_200C_206C_206A_206D_206E_202E().X * 0.6f, 260f));
|
||||
int num = ((!UiThemeUtils.ThemedCombo(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>(-812204508), ref currentItem, _msqPriorityNames, _msqPriorityNames.Length)) ? (-1137741193) : (-1137741192));
|
||||
bool value3 = default(bool);
|
||||
bool value = default(bool);
|
||||
bool value2 = default(bool);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1137741200;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 5:
|
||||
num = -1137741192;
|
||||
break;
|
||||
case 6:
|
||||
UiThemeUtils.EndCard(item, item2, item3);
|
||||
return;
|
||||
case 3:
|
||||
_206C_202B_200F_202D_200D_200D_200E_200C_206F_200D_200C_202A_206F_200D_206E_200E_202C_202E_202D_206B_202B_202E_202C_200D_206F_200F_206C_206E_206D_206F_202A_202A_200C_200B_202B_202E_200B_200B_206C_202A_202E();
|
||||
UiThemeUtils.InfoIcon(BuildLowPriorityDutyTooltip());
|
||||
value3 = base.Configuration.Advanced.SkipARealmRebornHardModePrimals;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(1581997806), ref value3, 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>(1805083128))) ? (-1137741199) : (-1137741196));
|
||||
break;
|
||||
case 1:
|
||||
value = base.Configuration.Advanced.SkipCrystalTowerRaids;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(597003945), ref value, 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>(600330157))) ? (-1137741194) : (-1137741198));
|
||||
break;
|
||||
case 7:
|
||||
_206C_202B_200F_202D_200D_200D_200E_200C_206F_200D_200C_202A_206F_200D_206E_200E_202C_202E_202D_206B_202B_202E_202C_200D_206F_200F_206C_206E_206D_206F_202A_202A_200C_200B_202B_202E_200B_200B_206C_202A_202E();
|
||||
UiThemeUtils.InfoIcon(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>(-844746693));
|
||||
value2 = base.Configuration.General.SkipLowPriorityDuties;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(1739526740), ref value2)) ? (-1137741197) : (-1137741200));
|
||||
break;
|
||||
case 8:
|
||||
base.Configuration.General.MsqPriority = (Configuration.EMsqPriorityMode)currentItem;
|
||||
Save();
|
||||
num = -1137741193;
|
||||
break;
|
||||
case 4:
|
||||
base.Configuration.Advanced.SkipARealmRebornHardModePrimals = value3;
|
||||
Save();
|
||||
num = -1137741199;
|
||||
break;
|
||||
case 0:
|
||||
base.Configuration.General.SkipLowPriorityDuties = value2;
|
||||
Save();
|
||||
num = -1137741197;
|
||||
break;
|
||||
case 2:
|
||||
base.Configuration.Advanced.SkipCrystalTowerRaids = value;
|
||||
Save();
|
||||
num = -1137741194;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private void DrawSideContent()
|
||||
{
|
||||
UiThemeUtils.SectionHeader(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>(-1505105599));
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard();
|
||||
Vector2 item = tuple.ContentStartPos;
|
||||
float item2 = tuple.AvailableWidth;
|
||||
ImDrawListPtr item3 = tuple.DrawList;
|
||||
bool value = base.Configuration.Advanced.SkipClassJobQuests;
|
||||
int num = ((!UiThemeUtils.WrappedCheckbox(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>(-287751804), ref value, 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>(695773902))) ? 701911122 : 701911123);
|
||||
bool value2 = default(bool);
|
||||
bool value3 = default(bool);
|
||||
bool value5 = default(bool);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 701911120;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 0:
|
||||
num = 701911123;
|
||||
break;
|
||||
case 2:
|
||||
value2 = base.Configuration.Advanced.SkipRoleQuests;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(1998442994), ref value2, 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>(1288406521))) ? 701911121 : 701911124);
|
||||
break;
|
||||
case 3:
|
||||
base.Configuration.Advanced.SkipClassJobQuests = value;
|
||||
Save();
|
||||
num = 701911122;
|
||||
break;
|
||||
case 4:
|
||||
base.Configuration.Advanced.SkipRoleQuests = value2;
|
||||
Save();
|
||||
num = 701911121;
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
ImRaii.DisabledDisposable disabledDisposable = _200F_200F_200E_200D_202D_200D_202B_206A_206E_200C_206A_202E_200D_200E_206B_202E_202D_206F_206C_206D_206C_200F_202B_200B_206A_202B_202C_202B_206A_202D_206F_202C_206C_206D_206F_206B_200C_206C_200C_200F_202E(value2);
|
||||
try
|
||||
{
|
||||
ImRaii.IndentDisposable indentDisposable = _200F_202E_206D_202B_206F_202C_206A_206B_206B_206E_206B_206B_202C_206A_202E_206C_200E_200C_206B_202C_200F_202B_206D_202A_202D_202A_202E_202B_206B_206C_202A_202B_202E_206B_206D_202C_206D_200B_200E_200D_202E(1, true);
|
||||
try
|
||||
{
|
||||
int currentItem = (int)base.Configuration.Advanced.RoleQuestPreference;
|
||||
_206A_202B_200E_200E_206A_206F_202C_200D_206F_200B_206C_202B_200B_206B_202A_202A_202B_206F_200D_206F_200D_202E_206E_202E_202A_206D_206E_200D_206D_206B_206A_200E_202D_202D_200F_206A_206F_200C_206D_202E_202E(_202A_200C_202C_200E_206D_200D_202B_206C_200C_202D_206B_200C_206F_200C_200C_200D_206C_202A_206D_206C_202D_200F_206C_202A_202B_206E_202C_202E_206D_202C_206C_202A_206D_206D_202A_200C_200F_200F_206F_200D_202E(260f, _202C_200D_200B_202B_206A_206F_206E_200C_200E_200E_200F_200D_202D_202E_202B_200B_202B_200E_200C_200C_200D_206D_202B_200D_200C_202D_202E_202B_206E_206A_206E_202C_206A_206F_200B_200C_206C_206A_206D_206E_202E().X));
|
||||
num = ((!UiThemeUtils.ThemedCombo(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>(1098205123), ref currentItem, RoleQuestPreferenceNames, RoleQuestPreferenceNames.Length)) ? 961882088 : 961882093);
|
||||
while (true)
|
||||
{
|
||||
int num5 = num;
|
||||
num3 = 961882092;
|
||||
num4 = num5;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 4:
|
||||
_206C_202B_200F_202D_200D_200D_200E_200C_206F_200D_200C_202A_206F_200D_206E_200E_202C_202E_202D_206B_202B_202E_202C_200D_206F_200F_206C_206E_206D_206F_202A_202A_200C_200B_202B_202E_200B_200B_206C_202A_202E();
|
||||
UiThemeUtils.InfoIcon(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>(-278600332));
|
||||
value3 = base.Configuration.Advanced.ContinueRoleQuestsAfterShb;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(-368335617), ref value3, 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>(-540198939))) ? 961882095 : 961882094);
|
||||
break;
|
||||
case 2:
|
||||
base.Configuration.Advanced.ContinueRoleQuestsAfterShb = value3;
|
||||
Save();
|
||||
num = 961882095;
|
||||
break;
|
||||
case 0:
|
||||
num = 961882093;
|
||||
break;
|
||||
case 1:
|
||||
base.Configuration.Advanced.RoleQuestPreference = (ERoleQuestPreference)currentItem;
|
||||
Save();
|
||||
num = 961882088;
|
||||
break;
|
||||
case 3:
|
||||
goto end_IL_01b9;
|
||||
}
|
||||
continue;
|
||||
end_IL_01b9:
|
||||
break;
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((indentDisposable == null) ? 1246267524 : 1246267527);
|
||||
while (true)
|
||||
{
|
||||
int num6 = num;
|
||||
num3 = 1246267525;
|
||||
num4 = num6;
|
||||
int num7 = num4 + num3;
|
||||
int num8 = num4 & num3;
|
||||
switch (num7 - (num8 + num8))
|
||||
{
|
||||
case 0:
|
||||
num = 1246267527;
|
||||
break;
|
||||
case 1:
|
||||
goto end_IL_02c3;
|
||||
case 2:
|
||||
_202B_202A_202C_206D_206A_206F_200F_202B_200C_200D_200E_202A_202B_200C_206E_202B_202B_202B_200D_206B_206D_206B_202E_206B_206C_202D_200E_206A_202E_206C_200C_206C_202A_202D_202E_202B_200B_202A_206E_200C_202E((IDisposable)indentDisposable);
|
||||
num = 1246267524;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_02c3:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((disabledDisposable == null) ? (-306243295) : (-306243296));
|
||||
while (true)
|
||||
{
|
||||
int num9 = num;
|
||||
num3 = -306243295;
|
||||
num4 = num9;
|
||||
int num10 = num4 + num3;
|
||||
int num11 = num4 & num3;
|
||||
switch (num10 - (num11 + num11))
|
||||
{
|
||||
case 2:
|
||||
num = -306243296;
|
||||
break;
|
||||
case 1:
|
||||
_202B_202A_202C_206D_206A_206F_200F_202B_200C_200D_200E_202A_202B_200C_206E_202B_202B_202B_200D_206B_206D_206B_202E_206B_206C_202D_200E_206A_202E_206C_200C_206C_202A_202D_202E_202B_200B_202A_206E_200C_202E((IDisposable)disabledDisposable);
|
||||
num = -306243295;
|
||||
break;
|
||||
case 0:
|
||||
goto end_IL_0330;
|
||||
}
|
||||
continue;
|
||||
end_IL_0330:
|
||||
break;
|
||||
}
|
||||
}
|
||||
bool value4 = base.Configuration.Advanced.SkipAetherCurrents;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(1840272948), ref value4, 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>(2059790792))) ? (-1684768103) : (-1684768097));
|
||||
while (true)
|
||||
{
|
||||
int num12 = num;
|
||||
num3 = -1684768099;
|
||||
num4 = num12;
|
||||
int num13 = num4 + num3;
|
||||
int num14 = num4 & num3;
|
||||
switch (num13 - (num14 + num14))
|
||||
{
|
||||
case 4:
|
||||
value5 = base.Configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(1599968493), ref value5, 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>(1897441794))) ? (-1684768100) : (-1684768099));
|
||||
break;
|
||||
case 1:
|
||||
UiThemeUtils.EndCard(item, item2, item3);
|
||||
return;
|
||||
case 0:
|
||||
base.Configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp = value5;
|
||||
Save();
|
||||
num = -1684768100;
|
||||
break;
|
||||
case 3:
|
||||
num = -1684768097;
|
||||
break;
|
||||
case 2:
|
||||
base.Configuration.Advanced.SkipAetherCurrents = value4;
|
||||
Save();
|
||||
num = -1684768103;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private void DrawPriorityQuests()
|
||||
{
|
||||
UiThemeUtils.SectionHeader(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>(-353625027));
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple = UiThemeUtils.BeginCard();
|
||||
Vector2 item = tuple.ContentStartPos;
|
||||
float item2 = tuple.AvailableWidth;
|
||||
ImDrawListPtr item3 = tuple.DrawList;
|
||||
bool value = base.Configuration.General.PersistPriorityQuestsBetweenSessions;
|
||||
int num = ((!UiThemeUtils.WrappedCheckbox(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>(-577769319), ref value, 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>(-1807354534))) ? 1805304050 : 1805304055);
|
||||
bool value2 = default(bool);
|
||||
bool value3 = default(bool);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1805304054;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 4:
|
||||
value2 = base.Configuration.General.ClearPriorityQuestsOnLogout;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(-1009601852), ref value2, 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>(247181671))) ? 1805304053 : 1805304048);
|
||||
break;
|
||||
case 1:
|
||||
base.Configuration.General.PersistPriorityQuestsBetweenSessions = value;
|
||||
Save();
|
||||
num = 1805304050;
|
||||
break;
|
||||
case 3:
|
||||
value3 = base.Configuration.General.ClearPriorityQuestsOnCompletion;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(-441944134), ref value3, 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>(1752253012))) ? 1805304054 : 1805304051);
|
||||
break;
|
||||
case 0:
|
||||
UiThemeUtils.EndCard(item, item2, item3);
|
||||
return;
|
||||
case 5:
|
||||
base.Configuration.General.ClearPriorityQuestsOnCompletion = value3;
|
||||
Save();
|
||||
num = 1805304054;
|
||||
break;
|
||||
case 6:
|
||||
base.Configuration.General.ClearPriorityQuestsOnLogout = value2;
|
||||
Save();
|
||||
num = 1805304053;
|
||||
break;
|
||||
case 2:
|
||||
num = 1805304055;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private void DrawQuestDetails()
|
||||
{
|
||||
UiThemeUtils.SectionHeader(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>(-599014717));
|
||||
var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard();
|
||||
_202C_206A_200F_200D_202A_206D_206D_200B_206A_202C_202D_206C_200F_200B_200C_200C_206D_206E_206E_202B_202D_202E_200E_206C_206C_202A_202A_206A_200B_202A_206B_202B_202C_206C_202A_206F_202A_200D_206E_202E_202E();
|
||||
_206D_202D_202A_202D_202E_200F_202E_200E_202A_202E_200B_206A_200E_200C_202B_206B_206A_202C_206E_206C_206A_206B_206B_200B_202E_202A_200B_200B_200C_206B_206A_202D_200F_206D_202A_200E_200C_202B_200D_206B_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>(746105637));
|
||||
_206C_202B_200F_202D_200D_200D_200E_200C_206F_200D_200C_202A_206F_200D_206E_200E_202C_202E_202D_206B_202B_202E_202C_200D_206F_200F_206C_206E_206D_206F_202A_202A_200C_200B_202B_202E_200B_200B_206C_202A_202E();
|
||||
string chocoboName = base.Configuration.Advanced.ChocoboName;
|
||||
_206A_202B_200E_200E_206A_206F_202C_200D_206F_200B_206C_202B_200B_206B_202A_202A_202B_206F_200D_206F_200D_202E_206E_202E_202A_206D_206E_200D_206D_206B_206A_200E_202D_202D_200F_206A_206F_200C_206D_202E_202E(_202A_200C_202C_200E_206D_200D_202B_206C_200C_202D_206B_200C_206F_200C_200C_200D_206C_202A_206D_206C_202D_200F_206C_202A_202B_206E_202C_202E_206D_202C_206C_202A_206D_206D_202A_200C_200F_200F_206F_200D_202E(260f, _202C_200D_200B_202B_206A_206F_206E_200C_200E_200E_200F_200D_202D_202E_202B_200B_202B_200E_200C_200C_200D_206D_202B_200D_200C_202D_202E_202B_206E_206A_206E_202C_206A_206F_200B_200C_206C_206A_206D_206E_202E().X));
|
||||
int num = ((!_206B_200E_206C_206A_206F_206F_206F_202C_200F_202C_202C_206A_200C_202E_202A_206A_200D_202E_202B_200E_202B_200E_202C_200E_202A_200D_200B_200C_206F_206B_202C_202A_200C_206A_200E_206D_206C_206F_200D_200E_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>(-1101377353), ref chocoboName, 20, ImGuiInputTextFlags.None, (ImGui.ImGuiInputTextCallbackDelegate)null)) ? 1006772323 : 1006772320);
|
||||
bool value = default(bool);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1006772323;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 0:
|
||||
num = (_206A_200D_200B_202E_200C_200B_206B_200B_206A_206C_202A_202C_202B_206D_206C_200D_206D_200F_206E_206A_206C_200C_202B_206D_202E_206B_202B_202D_200B_202A_206D_202B_200F_206B_206F_202B_202E_202A_206A_202D_202E(chocoboName) ? 1006772322 : 1006772324);
|
||||
break;
|
||||
case 7:
|
||||
num = ((_200C_200F_206E_202A_200E_200C_206D_202D_202B_206E_202D_206E_200D_202C_206C_200B_202A_202E_206E_202D_202C_206C_206A_200E_200C_202E_206D_206A_206E_206B_206F_206A_206A_200D_202B_206D_202D_200D_202E_202B_202E(chocoboName) >= 2) ? 1006772322 : 1006772325);
|
||||
break;
|
||||
case 1:
|
||||
_206C_202B_200F_202D_200D_200D_200E_200C_206F_200D_200C_202A_206F_200D_206E_200E_202C_202E_202D_206B_202B_202E_202C_200D_206F_200F_206C_206E_206D_206F_202A_202A_200C_200B_202B_202E_200B_200B_206C_202A_202E();
|
||||
UiThemeUtils.InfoIcon(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>(-743653940));
|
||||
value = base.Configuration.Advanced.PreventQuestCompletion;
|
||||
num = ((!UiThemeUtils.WrappedCheckbox(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>(1717929186), ref value, 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>(488343971))) ? 1006772326 : 1006772321);
|
||||
break;
|
||||
case 5:
|
||||
UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList);
|
||||
return;
|
||||
case 2:
|
||||
base.Configuration.Advanced.PreventQuestCompletion = value;
|
||||
Save();
|
||||
num = 1006772326;
|
||||
break;
|
||||
case 4:
|
||||
num = 1006772320;
|
||||
break;
|
||||
case 3:
|
||||
base.Configuration.Advanced.ChocoboName = FormatChocoboName(chocoboName);
|
||||
Save();
|
||||
num = 1006772323;
|
||||
break;
|
||||
case 6:
|
||||
_206C_202B_200F_202D_200D_200D_200E_200C_206F_200D_200C_202A_206F_200D_206E_200E_202C_202E_202D_206B_202B_202E_202C_200D_206F_200F_206C_206E_206D_206F_202A_202A_200C_200B_202B_202E_200B_200B_206C_202A_202E();
|
||||
_200F_202D_206C_206E_200F_202C_206A_202D_200D_200B_206C_202E_206A_200E_202A_200D_206C_202E_202D_206C_200E_200E_206C_202D_202E_206F_202B_202C_202A_202C_200F_200B_202C_200C_202A_206D_206F_202D_206B_202B_202E(ref UiThemeUtils.StatusLocked, (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>(269183977));
|
||||
num = 1006772322;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private string BuildLowPriorityDutyTooltip()
|
||||
{
|
||||
string 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>(-452308535);
|
||||
IEnumerator<(uint, ElementId, int)> enumerator = _questRegistry.LowPriorityContentFinderConditionQuests.GetEnumerator();
|
||||
try
|
||||
{
|
||||
int num = 1407189999;
|
||||
TerritoryData.ContentFinderConditionData contentFinderConditionData = default(TerritoryData.ContentFinderConditionData);
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1407189996;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 4:
|
||||
text = _202A_206E_206A_206C_206E_206C_202D_200D_202D_206B_202C_206B_202D_200F_200B_206D_200C_202D_202A_206C_206B_206B_202B_206F_202D_200B_206A_202A_206E_206D_202B_200D_202D_206B_200F_200E_202C_202B_200C_206C_202E(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>(-1097491456), contentFinderConditionData.Name);
|
||||
num = 1407189999;
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
(uint, ElementId, int) current = enumerator.Current;
|
||||
num = ((!_territoryData.TryGetContentFinderCondition(current.Item1, out contentFinderConditionData)) ? 1407189999 : 1407189992);
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
num = 1407189999;
|
||||
break;
|
||||
case 3:
|
||||
num = (_202A_206A_206C_200D_200F_202D_206E_202C_206B_202C_206E_206F_200B_206F_202B_206D_206D_202B_200D_202B_202D_202B_202C_206E_200D_206C_202B_206B_206E_206D_202B_202A_202A_200C_206D_206B_206E_202C_200E_206F_202E((IEnumerator)enumerator) ? 1407189997 : 1407189996);
|
||||
break;
|
||||
case 0:
|
||||
return text;
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
int num = ((enumerator == null) ? 1125418101 : 1125418102);
|
||||
while (true)
|
||||
{
|
||||
int num5 = num;
|
||||
int num3 = 1125418100;
|
||||
int num4 = num5;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
case 1:
|
||||
goto end_IL_0108;
|
||||
case 2:
|
||||
_202B_202A_202C_206D_206A_206F_200F_202B_200C_200D_200E_202A_202B_200C_206E_202B_202B_202B_200D_206B_206D_206B_202E_206B_206C_202D_200E_206A_202E_206C_200C_206C_202A_202D_202E_202B_200B_202A_206E_200C_202E((IDisposable)enumerator);
|
||||
num = 1125418101;
|
||||
break;
|
||||
case 0:
|
||||
num = 1125418102;
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
end_IL_0108:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static string FormatChocoboName(string name)
|
||||
{
|
||||
int num = ((!_206A_200D_200B_202E_200C_200B_206B_200B_206A_206C_202A_202C_202B_206D_206C_200D_206D_200F_206E_206A_206C_200C_202B_206D_202E_206B_202B_202D_200B_202A_206D_202B_200F_206B_206F_202B_202E_202A_206A_202D_202E(name)) ? (-1145813507) : (-1145813509));
|
||||
while (true)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1145813505;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
{
|
||||
case 0:
|
||||
return string.Empty;
|
||||
case 1:
|
||||
return _200E_206E_206A_206E_206E_202B_202C_202A_206B_206D_206C_200D_206B_206D_202E_206D_206F_202E_206E_206C_206A_206E_206F_202B_202E_200B_206B_206B_202E_200B_200F_202B_200B_206B_200F_202C_202D_206D_202D_200E_202E(_200D_202A_202B_206D_202B_200C_200D_206B_202C_206F_200C_200E_206B_206D_206B_206C_206A_202E_206C_200B_200F_200E_206B_202E_202A_206A_206A_206F_202A_206F_206B_202D_200D_206B_206E_200B_206E_202E_206D_200F_202E(_206F_200D_206A_202B_200D_206E_206E_202C_200C_202A_202B_202D_200D_202C_200C_202E_200C_206E_206E_200D_206C_206C_206B_200B_206E_206F_202C_206C_202D_206E_206A_206E_202B_206C_200D_200B_200F_206C_202B_200E_202E(name, 0, 1)), (_200C_200F_206E_202A_200E_200C_206D_202D_202B_206E_202D_206E_200D_202C_206C_200B_202A_202E_206E_202D_202C_206C_206A_200E_200C_202E_206D_206A_206E_206B_206F_206A_206A_200D_202B_206D_202D_200D_202E_202B_202E(name) > 1) ? _206A_200F_202B_202B_202B_202E_200C_206B_206E_206B_206C_206C_200C_202B_200C_206A_202E_202E_206D_206E_206D_202C_202B_200F_206F_206E_200D_206E_206D_200D_202D_202B_202A_200C_200D_202C_202A_202E_202D_206B_202E(_206B_202C_206B_206F_200C_200B_206F_206F_200E_200D_206D_206B_202B_206B_202A_202C_206C_200C_206A_206E_202A_206D_200D_206C_206A_206D_206D_200D_200D_206E_202C_206D_200F_202C_206D_206B_202C_202A_206F_202A_202E(name, 1)) : string.Empty);
|
||||
case 2:
|
||||
name = _202E_202D_206E_206A_202B_206E_202C_200C_200F_206E_200B_200E_206E_202B_206F_200C_202B_202C_206F_202E_206D_202B_206F_200E_200C_202E_206D_202C_200F_202A_202A_206E_202B_200C_200F_200E_206F_200D_200E_202B_202E(name);
|
||||
num = ((_200C_200F_206E_202A_200E_200C_206D_202D_202B_206E_202D_206E_200D_202C_206C_200B_202A_202E_206E_202D_202C_206C_206A_200E_200C_202E_206D_206A_206E_206B_206F_206A_206A_200D_202B_206D_202D_200D_202E_202B_202E(name) != 0) ? (-1145813506) : (-1145813505));
|
||||
break;
|
||||
case 3:
|
||||
num = -1145813509;
|
||||
break;
|
||||
case 4:
|
||||
return string.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static Vector2 _202C_200D_200B_202B_206A_206F_206E_200C_200E_200E_200F_200D_202D_202E_202B_200B_202B_200E_200C_200C_200D_206D_202B_200D_200C_202D_202E_202B_206E_206A_206E_202C_206A_206F_200B_200C_206C_206A_206D_206E_202E()
|
||||
{
|
||||
return ImGui.GetContentRegionAvail();
|
||||
}
|
||||
|
||||
static float _202A_200C_202C_200E_206D_200D_202B_206C_200C_202D_206B_200C_206F_200C_200C_200D_206C_202A_206D_206C_202D_200F_206C_202A_202B_206E_202C_202E_206D_202C_206C_202A_206D_206D_202A_200C_200F_200F_206F_200D_202E(float P_0, float P_1)
|
||||
{
|
||||
return MathF.Min(P_0, P_1);
|
||||
}
|
||||
|
||||
static void _206A_202B_200E_200E_206A_206F_202C_200D_206F_200B_206C_202B_200B_206B_202A_202A_202B_206F_200D_206F_200D_202E_206E_202E_202A_206D_206E_200D_206D_206B_206A_200E_202D_202D_200F_206A_206F_200C_206D_202E_202E(float P_0)
|
||||
{
|
||||
ImGui.SetNextItemWidth(P_0);
|
||||
}
|
||||
|
||||
static void _206C_202B_200F_202D_200D_200D_200E_200C_206F_200D_200C_202A_206F_200D_206E_200E_202C_202E_202D_206B_202B_202E_202C_200D_206F_200F_206C_206E_206D_206F_202A_202A_200C_200B_202B_202E_200B_200B_206C_202A_202E()
|
||||
{
|
||||
ImGui.SameLine();
|
||||
}
|
||||
|
||||
static ImRaii.DisabledDisposable _200F_200F_200E_200D_202D_200D_202B_206A_206E_200C_206A_202E_200D_200E_206B_202E_202D_206F_206C_206D_206C_200F_202B_200B_206A_202B_202C_202B_206A_202D_206F_202C_206C_206D_206F_206B_200C_206C_200C_200F_202E(bool P_0)
|
||||
{
|
||||
return ImRaii.Disabled(P_0);
|
||||
}
|
||||
|
||||
static ImRaii.IndentDisposable _200F_202E_206D_202B_206F_202C_206A_206B_206B_206E_206B_206B_202C_206A_202E_206C_200E_200C_206B_202C_200F_202B_206D_202A_202D_202A_202E_202B_206B_206C_202A_202B_202E_206B_206D_202C_206D_200B_200E_200D_202E(int P_0, bool P_1)
|
||||
{
|
||||
return ImRaii.PushIndent(P_0, P_1);
|
||||
}
|
||||
|
||||
static void _202B_202A_202C_206D_206A_206F_200F_202B_200C_200D_200E_202A_202B_200C_206E_202B_202B_202B_200D_206B_206D_206B_202E_206B_206C_202D_200E_206A_202E_206C_200C_206C_202A_202D_202E_202B_200B_202A_206E_200C_202E(IDisposable P_0)
|
||||
{
|
||||
P_0.Dispose();
|
||||
}
|
||||
|
||||
static void _202C_206A_200F_200D_202A_206D_206D_200B_206A_202C_202D_206C_200F_200B_200C_200C_206D_206E_206E_202B_202D_202E_200E_206C_206C_202A_202A_206A_200B_202A_206B_202B_202C_206C_202A_206F_202A_200D_206E_202E_202E()
|
||||
{
|
||||
ImGui.AlignTextToFramePadding();
|
||||
}
|
||||
|
||||
static void _206D_202D_202A_202D_202E_200F_202E_200E_202A_202E_200B_206A_200E_200C_202B_206B_206A_202C_206E_206C_206A_206B_206B_200B_202E_202A_200B_200B_200C_206B_206A_202D_200F_206D_202A_200E_200C_202B_200D_206B_202E(ImU8String P_0)
|
||||
{
|
||||
ImGui.Text(P_0);
|
||||
}
|
||||
|
||||
static bool _206B_200E_206C_206A_206F_206F_206F_202C_200F_202C_202C_206A_200C_202E_202A_206A_200D_202E_202B_200E_202B_200E_202C_200E_202A_200D_200B_200C_206F_206B_202C_202A_200C_206A_200E_206D_206C_206F_200D_200E_202E(ImU8String P_0, ref string P_1, int P_2, ImGuiInputTextFlags P_3, ImGui.ImGuiInputTextCallbackDelegate P_4)
|
||||
{
|
||||
return ImGui.InputText(P_0, ref P_1, P_2, P_3, P_4);
|
||||
}
|
||||
|
||||
static bool _206A_200D_200B_202E_200C_200B_206B_200B_206A_206C_202A_202C_202B_206D_206C_200D_206D_200F_206E_206A_206C_200C_202B_206D_202E_206B_202B_202D_200B_202A_206D_202B_200F_206B_206F_202B_202E_202A_206A_202D_202E(string P_0)
|
||||
{
|
||||
return string.IsNullOrEmpty(P_0);
|
||||
}
|
||||
|
||||
static int _200C_200F_206E_202A_200E_200C_206D_202D_202B_206E_202D_206E_200D_202C_206C_200B_202A_202E_206E_202D_202C_206C_206A_200E_200C_202E_206D_206A_206E_206B_206F_206A_206A_200D_202B_206D_202D_200D_202E_202B_202E(string P_0)
|
||||
{
|
||||
return P_0.Length;
|
||||
}
|
||||
|
||||
static void _200F_202D_206C_206E_200F_202C_206A_202D_200D_200B_206C_202E_206A_200E_202A_200D_206C_202E_202D_206C_200E_200E_206C_202D_202E_206F_202B_202C_202A_202C_200F_200B_202C_200C_202A_206D_206F_202D_206B_202B_202E(ref Vector4 P_0, ImU8String P_1)
|
||||
{
|
||||
ImGui.TextColored(in P_0, P_1);
|
||||
}
|
||||
|
||||
static string _202A_206E_206A_206C_206E_206C_202D_200D_202D_206B_202C_206B_202D_200F_200B_206D_200C_202D_202A_206C_206B_206B_202B_206F_202D_200B_206A_202A_206E_206D_202B_200D_202D_206B_200F_200E_202C_202B_200C_206C_202E(string P_0, string P_1, string P_2)
|
||||
{
|
||||
return P_0 + P_1 + P_2;
|
||||
}
|
||||
|
||||
static bool _202A_206A_206C_200D_200F_202D_206E_202C_206B_202C_206E_206F_200B_206F_202B_206D_206D_202B_200D_202B_202D_202B_202C_206E_200D_206C_202B_206B_206E_206D_202B_202A_202A_200C_206D_206B_206E_202C_200E_206F_202E(IEnumerator P_0)
|
||||
{
|
||||
return P_0.MoveNext();
|
||||
}
|
||||
|
||||
static string _202E_202D_206E_206A_202B_206E_202C_200C_200F_206E_200B_200E_206E_202B_206F_200C_202B_202C_206F_202E_206D_202B_206F_200E_200C_202E_206D_202C_200F_202A_202A_206E_202B_200C_200F_200E_206F_200D_200E_202B_202E(string P_0)
|
||||
{
|
||||
return P_0.Trim();
|
||||
}
|
||||
|
||||
static string _206F_200D_206A_202B_200D_206E_206E_202C_200C_202A_202B_202D_200D_202C_200C_202E_200C_206E_206E_200D_206C_206C_206B_200B_206E_206F_202C_206C_202D_206E_206A_206E_202B_206C_200D_200B_200F_206C_202B_200E_202E(string P_0, int P_1, int P_2)
|
||||
{
|
||||
return P_0.Substring(P_1, P_2);
|
||||
}
|
||||
|
||||
static string _200D_202A_202B_206D_202B_200C_200D_206B_202C_206F_200C_200E_206B_206D_206B_206C_206A_202E_206C_200B_200F_200E_206B_202E_202A_206A_206A_206F_202A_206F_206B_202D_200D_206B_206E_200B_206E_202E_206D_200F_202E(string P_0)
|
||||
{
|
||||
return P_0.ToUpperInvariant();
|
||||
}
|
||||
|
||||
static string _206B_202C_206B_206F_200C_200B_206F_206F_200E_200D_206D_206B_202B_206B_202A_202C_206C_200C_206A_206E_202A_206D_200D_206C_206A_206D_206D_200D_200D_206E_202C_206D_200F_202C_206D_206B_202C_202A_206F_202A_202E(string P_0, int P_1)
|
||||
{
|
||||
return P_0.Substring(P_1);
|
||||
}
|
||||
|
||||
static string _206A_200F_202B_202B_202B_202E_200C_206B_206E_206B_206C_206C_200C_202B_200C_206A_202E_202E_206D_206E_206D_202C_202B_200F_206F_206E_200D_206E_206D_200D_202D_202B_202A_200C_200D_202C_202A_202E_202D_206B_202E(string P_0)
|
||||
{
|
||||
return P_0.ToLowerInvariant();
|
||||
}
|
||||
|
||||
static string _200E_206E_206A_206E_206E_202B_202C_202A_206B_206D_206C_200D_206B_206D_202E_206D_206F_202E_206E_206C_206A_206E_206F_202B_202E_200B_206B_206B_202E_200B_200F_202B_200B_206B_200F_202C_202D_206D_202D_200E_202E(string P_0, string P_1)
|
||||
{
|
||||
return P_0 + P_1;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue