muffin v7.5.11
This commit is contained in:
parent
addf2d530f
commit
3102923ce2
522 changed files with 41082 additions and 211592 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -1,13 +1,9 @@
|
|||
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.Utility.Raii;
|
||||
|
|
@ -27,25 +23,14 @@ internal abstract class ConfigComponent
|
|||
|
||||
private const string ModePrefix = "M:";
|
||||
|
||||
protected readonly string[] SupportedCfcOptions = new string[3]
|
||||
{
|
||||
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[] SupportedCfcOptions = new string[3] { "Enabled (Default)", "Enabled", "Disabled" };
|
||||
|
||||
protected readonly string[] UnsupportedCfcOptions = new string[3]
|
||||
{
|
||||
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)
|
||||
};
|
||||
protected readonly string[] UnsupportedCfcOptions = new string[3] { "Disabled (Default)", "Enabled", "Disabled" };
|
||||
|
||||
private readonly IDalamudPluginInterface _pluginInterface;
|
||||
|
||||
protected Configuration Configuration { get; }
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
protected ConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration)
|
||||
{
|
||||
_pluginInterface = pluginInterface;
|
||||
|
|
@ -56,614 +41,99 @@ internal abstract class ConfigComponent
|
|||
|
||||
protected void Save()
|
||||
{
|
||||
_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);
|
||||
_pluginInterface.SavePluginConfig(Configuration);
|
||||
}
|
||||
|
||||
protected static string FormatLevel(int level, bool includePrefix = true)
|
||||
{
|
||||
int num = ((level != 0) ? (-1915937495) : (-1915937494));
|
||||
while (true)
|
||||
if (level == 0)
|
||||
{
|
||||
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 string.Empty;
|
||||
}
|
||||
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)
|
||||
{
|
||||
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
|
||||
using ImRaii.ColorDisposable colorDisposable = new ImRaii.ColorDisposable();
|
||||
colorDisposable.Push(ImGuiCol.TextDisabled, (!enabledByDefault) ? UiThemeUtils.StatusActive : UiThemeUtils.StatusAvailableComplete);
|
||||
ImGui.SameLine();
|
||||
using (ImRaii.PushFont(UiBuilder.IconFont))
|
||||
{
|
||||
_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
|
||||
if (!enabledByDefault)
|
||||
{
|
||||
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;
|
||||
}
|
||||
ImGui.TextDisabled(FontAwesomeIcon.ExclamationTriangle.ToIconString());
|
||||
}
|
||||
finally
|
||||
else
|
||||
{
|
||||
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;
|
||||
ImGui.TextDisabled(FontAwesomeIcon.InfoCircle.ToIconString());
|
||||
}
|
||||
}
|
||||
finally
|
||||
if (!ImGui.IsItemHovered())
|
||||
{
|
||||
int num = ((colorDisposable == null) ? (-697778220) : (-697778217));
|
||||
while (true)
|
||||
return;
|
||||
}
|
||||
using (ImRaii.Tooltip())
|
||||
{
|
||||
ImGui.TextColored(in UiThemeUtils.StatusActive, "While testing, the following issues have been found:");
|
||||
foreach (string note in notes)
|
||||
{
|
||||
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;
|
||||
ImGui.BulletText(note);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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
|
||||
using (ImRaii.Disabled(whitelistedIds.Count + blacklistedIds.Count + (modeOverrides?.Count ?? 0) == 0))
|
||||
{
|
||||
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)
|
||||
if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Copy, "Export to clipboard"))
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1188485480;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
IEnumerable<string> first = whitelistedIds.Select((uint x) => $"{"+"}{x}");
|
||||
IEnumerable<string> second = blacklistedIds.Select((uint x) => $"{"-"}{x}");
|
||||
IEnumerable<string> enumerable = first.Concat(second);
|
||||
if (modeOverrides != null)
|
||||
{
|
||||
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;
|
||||
enumerable = enumerable.Concat(modeOverrides.Select((KeyValuePair<uint, EDutyMode> x) => $"{"M:"}{x.Key}:{x.Value}"));
|
||||
}
|
||||
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;
|
||||
ImGui.SetClipboardText(clipboardPrefix + Convert.ToBase64String(Encoding.UTF8.GetBytes(string.Join(";", enumerable))));
|
||||
}
|
||||
}
|
||||
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);
|
||||
string text = ThrottledClipboard.GetText();
|
||||
using (ImRaii.Disabled(string.IsNullOrEmpty(text) || !text.StartsWith(clipboardPrefix, StringComparison.InvariantCulture)))
|
||||
{
|
||||
if (!UiThemeUtils.IconTextButton(FontAwesomeIcon.Paste, "Import from Clipboard"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
text = text.Substring(clipboardPrefix.Length);
|
||||
string text2 = Encoding.UTF8.GetString(Convert.FromBase64String(text));
|
||||
whitelistedIds.Clear();
|
||||
blacklistedIds.Clear();
|
||||
modeOverrides?.Clear();
|
||||
string[] array = text2.Split(";");
|
||||
foreach (string text3 in array)
|
||||
{
|
||||
if (text3.StartsWith("+", StringComparison.InvariantCulture) && uint.TryParse(text3.AsSpan("+".Length), CultureInfo.InvariantCulture, out var result))
|
||||
{
|
||||
whitelistedIds.Add(result);
|
||||
}
|
||||
if (text3.StartsWith("-", StringComparison.InvariantCulture) && uint.TryParse(text3.AsSpan("-".Length), CultureInfo.InvariantCulture, out var result2))
|
||||
{
|
||||
blacklistedIds.Add(result2);
|
||||
}
|
||||
if (modeOverrides != null && text3.StartsWith("M:", StringComparison.InvariantCulture))
|
||||
{
|
||||
ReadOnlySpan<char> span = text3.AsSpan("M:".Length);
|
||||
int num2 = span.IndexOf(':');
|
||||
if (num2 > 0 && uint.TryParse(span.Slice(0, num2), CultureInfo.InvariantCulture, out var result3) && int.TryParse(span.Slice(num2 + 1), CultureInfo.InvariantCulture, out var result4) && Enum.IsDefined(typeof(EDutyMode), result4))
|
||||
{
|
||||
modeOverrides[result3] = (EDutyMode)result4;
|
||||
}
|
||||
}
|
||||
}
|
||||
Save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,8 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Immutable;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Dalamud.Bindings.ImGui;
|
||||
using Dalamud.Interface;
|
||||
using Dalamud.Interface.Utility.Raii;
|
||||
|
|
@ -17,340 +15,200 @@ internal sealed class DebugConfigComponent : ConfigComponent
|
|||
{
|
||||
private readonly Dictionary<string, bool> _featurePausingOpenState = new Dictionary<string, bool>();
|
||||
|
||||
private readonly string? _cacheDirectory;
|
||||
|
||||
public DebugConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration)
|
||||
: base(pluginInterface, configuration)
|
||||
{
|
||||
_cacheDirectory = pluginInterface.ConfigDirectory.FullName;
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override void DrawTab()
|
||||
{
|
||||
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));
|
||||
UiThemeUtils.SectionHeader("Interaction Recovery");
|
||||
(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)
|
||||
if (UiThemeUtils.AccentSliderInt("Retry limit", ref value, 1, 10, 260f))
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1001972389;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
base.Configuration.Advanced.InteractionRetryLimit = value;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
UiThemeUtils.InfoIcon("Maximum number of times an interrupted interaction will be retried before stopping. Interruptions can be caused by combat, other plugins, or server issues.");
|
||||
float value2 = base.Configuration.Advanced.InteractionTimeoutSeconds;
|
||||
if (UiThemeUtils.AccentSliderFloat("Timeout (seconds)", ref value2, 5f, 30f, "%.0f", 260f))
|
||||
{
|
||||
base.Configuration.Advanced.InteractionTimeoutSeconds = value2;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
UiThemeUtils.InfoIcon("Maximum time an interaction can run without progress before it is treated as stuck and retried.");
|
||||
UiThemeUtils.EndCard(item, item2, item3);
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader("Navigation debug");
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard();
|
||||
Vector2 item4 = tuple2.ContentStartPos;
|
||||
float item5 = tuple2.AvailableWidth;
|
||||
ImDrawListPtr item6 = tuple2.DrawList;
|
||||
bool value3 = base.Configuration.Advanced.ShowWigglyNavShimProvider;
|
||||
if (UiThemeUtils.WrappedCheckbox("Show WigglyNav shim provider option", ref value3, "Reveals an extra navigation provider row on the Dependencies page that drives WigglyNav through its vnavmesh-shaped legacy surface instead of its native one. Intended for comparing the two surfaces, not for normal use."))
|
||||
{
|
||||
base.Configuration.Advanced.ShowWigglyNavShimProvider = value3;
|
||||
Save();
|
||||
}
|
||||
UiThemeUtils.EndCard(item4, item5, item6);
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader("Data Cache");
|
||||
var (contentStartPos, availableWidth, drawList) = UiThemeUtils.BeginCard();
|
||||
UiThemeUtils.WrappedText("NPC position and zone boundary caches are rebuilt automatically after game patches. Use this button to force a rebuild on next load.");
|
||||
bool flag = _cacheDirectory != null && (File.Exists(Path.Combine(_cacheDirectory, "npc-position-cache.bin")) || File.Exists(Path.Combine(_cacheDirectory, "zone-boundary-cache.bin")));
|
||||
long num = 0L;
|
||||
if (_cacheDirectory != null)
|
||||
{
|
||||
num += FileSize(Path.Combine(_cacheDirectory, "npc-position-cache.bin"));
|
||||
num += FileSize(Path.Combine(_cacheDirectory, "zone-boundary-cache.bin"));
|
||||
}
|
||||
using (ImRaii.Disabled(!flag))
|
||||
{
|
||||
if (ImGui.Button("Clear LGB Caches") && _cacheDirectory != null)
|
||||
{
|
||||
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;
|
||||
TryDelete(Path.Combine(_cacheDirectory, "npc-position-cache.bin"));
|
||||
TryDelete(Path.Combine(_cacheDirectory, "zone-boundary-cache.bin"));
|
||||
}
|
||||
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;
|
||||
if (flag && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled))
|
||||
{
|
||||
ImU8String tooltip = new ImU8String(20, 1);
|
||||
tooltip.AppendLiteral("Current cache size: ");
|
||||
tooltip.AppendFormatted(FormatBytes(num));
|
||||
ImGui.SetTooltip(tooltip);
|
||||
}
|
||||
}
|
||||
if (!flag)
|
||||
{
|
||||
ImGui.SameLine();
|
||||
ImGui.TextDisabled("(no cache files present)");
|
||||
}
|
||||
else
|
||||
{
|
||||
ImGui.SameLine();
|
||||
ImGui.TextDisabled("Takes effect on next plugin load.");
|
||||
}
|
||||
UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList);
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader("Danger Zone");
|
||||
var (contentStartPos2, availableWidth2, drawList2) = UiThemeUtils.BeginCard();
|
||||
UiThemeUtils.WrappedTextColored(UiThemeUtils.StatusLocked, "Enabling any option below may cause unexpected behavior. Use at your own risk.");
|
||||
bool value4 = base.Configuration.Advanced.DisablePartyWatchdog;
|
||||
if (UiThemeUtils.WrappedCheckbox("Disable Party Watchdog", ref value4, "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."))
|
||||
{
|
||||
base.Configuration.Advanced.DisablePartyWatchdog = value4;
|
||||
Save();
|
||||
}
|
||||
DrawFeaturePausingSection("Pandora's Box Feature Pausing", PandorasBoxIpc.ConflictingFeatures, "Auto Active Time Maneuver", "Only applies when Auto-Solve QTE is enabled.", base.Configuration.Advanced.PandoraFeatureExclusions);
|
||||
DrawFeaturePausingSection("Bundle of Tweaks Feature Pausing", AutomatonIpc.ConflictingTweaks, "AutoSnipeQuests", "Only applies when AutoSnipe is enabled.", base.Configuration.Advanced.AutomatonTweakExclusions);
|
||||
UiThemeUtils.EndCard(contentStartPos2, availableWidth2, drawList2);
|
||||
}
|
||||
|
||||
[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)
|
||||
if (!open)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1750707236;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
return;
|
||||
}
|
||||
using (ImRaii.PushId(header))
|
||||
{
|
||||
using (ImRaii.PushIndent())
|
||||
{
|
||||
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
|
||||
foreach (string item in features.Order())
|
||||
{
|
||||
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
|
||||
bool value = !exclusions.Contains(item);
|
||||
if (UiThemeUtils.WrappedCheckbox("Pause: " + item, ref value))
|
||||
{
|
||||
IEnumerator<string> enumerator = features.Order().GetEnumerator();
|
||||
try
|
||||
if (value)
|
||||
{
|
||||
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;
|
||||
}
|
||||
exclusions.Remove(item);
|
||||
}
|
||||
finally
|
||||
else
|
||||
{
|
||||
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;
|
||||
exclusions.Add(item);
|
||||
}
|
||||
Save();
|
||||
}
|
||||
}
|
||||
finally
|
||||
ImGui.Spacing();
|
||||
bool value2 = !exclusions.Contains(conditionalFeature);
|
||||
if (UiThemeUtils.WrappedCheckbox("Pause: " + conditionalFeature, ref value2, conditionalHelpText))
|
||||
{
|
||||
num = ((idDisposable == null) ? (-687515506) : (-687515507));
|
||||
while (true)
|
||||
if (value2)
|
||||
{
|
||||
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;
|
||||
exclusions.Remove(conditionalFeature);
|
||||
}
|
||||
else
|
||||
{
|
||||
exclusions.Add(conditionalFeature);
|
||||
}
|
||||
Save();
|
||||
}
|
||||
ImGui.Spacing();
|
||||
if (UiThemeUtils.DestructiveButton(FontAwesomeIcon.Undo, "Reset to defaults"))
|
||||
{
|
||||
exclusions.Clear();
|
||||
Save();
|
||||
}
|
||||
}
|
||||
}
|
||||
continue;
|
||||
IL_0072:
|
||||
num = -1750707234;
|
||||
}
|
||||
}
|
||||
|
||||
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()
|
||||
private static void TryDelete(string path)
|
||||
{
|
||||
ImGui.SameLine();
|
||||
try
|
||||
{
|
||||
File.Delete(path);
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
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)
|
||||
private static long FileSize(string path)
|
||||
{
|
||||
return ImRaii.PushId(P_0, P_1);
|
||||
try
|
||||
{
|
||||
FileInfo fileInfo = new FileInfo(path);
|
||||
long result;
|
||||
if (fileInfo != null && fileInfo.Exists)
|
||||
{
|
||||
long length = fileInfo.Length;
|
||||
result = length;
|
||||
}
|
||||
else
|
||||
{
|
||||
result = 0L;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
}
|
||||
|
||||
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)
|
||||
private static string FormatBytes(long bytes)
|
||||
{
|
||||
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();
|
||||
if (bytes < 1048576)
|
||||
{
|
||||
if (bytes >= 1024)
|
||||
{
|
||||
return $"{(double)bytes / 1024.0:F1} KB";
|
||||
}
|
||||
return $"{bytes} B";
|
||||
}
|
||||
return $"{(double)bytes / 1048576.0:F1} MB";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -3,7 +3,6 @@ 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;
|
||||
|
|
@ -16,94 +15,6 @@ 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;
|
||||
|
|
@ -115,543 +26,175 @@ internal sealed class NavigationConfigComponent : ConfigComponent
|
|||
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;
|
||||
}
|
||||
})
|
||||
List<(uint, string)> source = (from x in dataManager.GetExcelSheet<Mount>()
|
||||
where x.RowId != 0 && x.Icon > 0
|
||||
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();
|
||||
where !string.IsNullOrEmpty(x.Name)
|
||||
select x).OrderBy<(uint, string), string>(((uint MountId, string Name) x) => x.Name, StringComparer.OrdinalIgnoreCase).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)
|
||||
if (string.IsNullOrEmpty(text))
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1379143401;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
return text;
|
||||
}
|
||||
if (text.Equals(text.ToLowerInvariant(), StringComparison.Ordinal))
|
||||
{
|
||||
return CultureInfo.InvariantCulture.TextInfo.ToTitleCase(text);
|
||||
}
|
||||
string[] array = text.Split(' ');
|
||||
for (int i = 0; i < array.Length; i++)
|
||||
{
|
||||
if (array[i].Length > 0 && char.IsLower(array[i][0]))
|
||||
{
|
||||
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;
|
||||
array[i] = char.ToUpperInvariant(array[i][0]) + array[i].Substring(1);
|
||||
}
|
||||
}
|
||||
return string.Join(" ", array);
|
||||
}
|
||||
|
||||
[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));
|
||||
UiThemeUtils.SectionHeader("Mounts & Flying");
|
||||
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)
|
||||
if (UiThemeUtils.WrappedCheckbox("Disable flying (even where unlocked)", ref value, "Always travel on the ground, even in zones where flying is unlocked."))
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
navigation.NeverFly = value;
|
||||
Save();
|
||||
}
|
||||
float value2 = navigation.MountGroundDistance;
|
||||
if (UiThemeUtils.AccentSliderFloat("Ground Mount (yalms)", ref value2, 0f, 100f, "%.0f", 260f))
|
||||
{
|
||||
navigation.MountGroundDistance = value2;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
UiThemeUtils.InfoIcon($"Minimum distance to use a ground mount. Default: {20f:0}");
|
||||
using (ImRaii.Disabled(navigation.NeverFly))
|
||||
{
|
||||
float value3 = navigation.MountFlyDistance;
|
||||
if (UiThemeUtils.AccentSliderFloat("Flying Mount (yalms)", ref value3, 0f, 100f, "%.0f", 260f))
|
||||
{
|
||||
navigation.MountFlyDistance = value3;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
UiThemeUtils.InfoIcon($"Minimum distance to use a flying mount. Default: {15f:0}");
|
||||
}
|
||||
UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList);
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader("Sprint");
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple2 = UiThemeUtils.BeginCard();
|
||||
Vector2 item = tuple2.ContentStartPos;
|
||||
float item2 = tuple2.AvailableWidth;
|
||||
ImDrawListPtr item3 = tuple2.DrawList;
|
||||
float value4 = navigation.SprintDistanceTown;
|
||||
if (UiThemeUtils.AccentSliderFloat("Town (yalms)", ref value4, 0f, 100f, "%.0f", 260f))
|
||||
{
|
||||
navigation.SprintDistanceTown = value4;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
UiThemeUtils.InfoIcon($"Minimum distance to sprint in towns. Default: {20f:0}");
|
||||
float value5 = navigation.SprintDistanceOpenWorld;
|
||||
if (UiThemeUtils.AccentSliderFloat("Open World (yalms)", ref value5, 0f, 200f, "%.0f", 260f))
|
||||
{
|
||||
navigation.SprintDistanceOpenWorld = value5;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
UiThemeUtils.InfoIcon($"Minimum distance to sprint in open world. Default: {50f:0}");
|
||||
UiThemeUtils.EndCard(item, item2, item3);
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader("Teleport");
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple3 = UiThemeUtils.BeginCard();
|
||||
Vector2 item4 = tuple3.ContentStartPos;
|
||||
float item5 = tuple3.AvailableWidth;
|
||||
ImDrawListPtr item6 = tuple3.DrawList;
|
||||
int value6 = navigation.GilReserve;
|
||||
if (UiThemeUtils.AccentSliderInt("Gil Reserve", ref value6, 0, 20000, 260f))
|
||||
{
|
||||
navigation.GilReserve = Math.Clamp(value6, 0, 999999999);
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
UiThemeUtils.InfoIcon("Minimum gil to keep when deciding whether to teleport.");
|
||||
bool value7 = navigation.PreferFreeTravel;
|
||||
if (UiThemeUtils.WrappedCheckbox("Prefer free travel in cities", ref value7, "When in a city, prefer aethernet and walking over teleporting to save gil.\nTeleporting from field zones is unaffected."))
|
||||
{
|
||||
navigation.PreferFreeTravel = value7;
|
||||
Save();
|
||||
}
|
||||
bool value8 = navigation.UseTeleportTickets;
|
||||
if (UiThemeUtils.WrappedCheckbox("Use teleport tickets", ref value8, "Use destination teleport tickets from your inventory (Grand Company, Firmament,\nVesper Bay, Gold Saucer) as free teleports when planning routes.\nEach use consumes one ticket. Disable to never consume tickets."))
|
||||
{
|
||||
navigation.UseTeleportTickets = value8;
|
||||
Save();
|
||||
}
|
||||
UiThemeUtils.EndCard(item4, item5, item6);
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader("Stuck Recovery");
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple4 = UiThemeUtils.BeginCard();
|
||||
Vector2 item7 = tuple4.ContentStartPos;
|
||||
float item8 = tuple4.AvailableWidth;
|
||||
ImDrawListPtr item9 = tuple4.DrawList;
|
||||
string[] names = Enum.GetNames<EStuckRecoveryMode>();
|
||||
int currentItem = (int)navigation.StuckRecoveryMode;
|
||||
object tooltip = navigation.StuckRecoveryMode switch
|
||||
{
|
||||
EStuckRecoveryMode.Aggressive => "Jump, recalculate, reload, and rebuild navmesh (default)",
|
||||
EStuckRecoveryMode.Conservative => "Jump and recalculate only - no navmesh reload/rebuild",
|
||||
EStuckRecoveryMode.Passive => "Log only - no automatic recovery",
|
||||
_ => string.Empty,
|
||||
};
|
||||
ImGui.SetNextItemWidth(MathF.Min(260f, ImGui.GetContentRegionAvail().X));
|
||||
if (UiThemeUtils.ThemedCombo("Recovery Mode", ref currentItem, names, names.Length))
|
||||
{
|
||||
navigation.StuckRecoveryMode = (EStuckRecoveryMode)currentItem;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
UiThemeUtils.InfoIcon((string)tooltip);
|
||||
bool value9 = navigation.ReRouteOnFailure;
|
||||
if (UiThemeUtils.WrappedCheckbox("Re-route on pathfinding failure", ref value9, "When pathfinding fails, SmartNav re-plans the route from your current position.\nDisable to stop automation instead (previous behavior)."))
|
||||
{
|
||||
navigation.ReRouteOnFailure = value9;
|
||||
Save();
|
||||
}
|
||||
UiThemeUtils.EndCard(item7, item8, item9);
|
||||
}
|
||||
|
||||
[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)
|
||||
if (currentItem == -1)
|
||||
{
|
||||
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;
|
||||
}
|
||||
currentItem = 0;
|
||||
nav.MountId = _mountIds[currentItem];
|
||||
Save();
|
||||
}
|
||||
string previewOverride = ((currentItem >= 0 && currentItem < _mountNames.Length) ? null : "Unknown");
|
||||
if (UiThemeUtils.SearchableCombo("Preferred Mount", ref currentItem, _mountNames, ref _mountSearchText, MathF.Min(260f, ImGui.GetContentRegionAvail().X), previewOverride))
|
||||
{
|
||||
nav.MountId = _mountIds[currentItem];
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
UiThemeUtils.InfoIcon("Mount used for ground travel. \"Mount Roulette\" picks a random mount.");
|
||||
}
|
||||
|
||||
[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));
|
||||
CollectionsMarshal.AsSpan(list)[0] = (0u, "Mount Roulette");
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,65 +16,6 @@ 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;
|
||||
|
|
@ -95,494 +36,147 @@ internal sealed class NotificationConfigComponent : ConfigComponent
|
|||
: 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();
|
||||
_soundFiles = CuratedSoundNames.Where((string n) => WindowsSounds.ResolvePath(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(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();
|
||||
_chatTypeNames = _xivChatTypes.Select((XivChatType t) => t.GetAttribute<XivChatTypeInfoAttribute>()?.FancyName ?? 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)
|
||||
if (!string.IsNullOrEmpty(value))
|
||||
{
|
||||
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;
|
||||
return Path.GetFileNameWithoutExtension(value);
|
||||
}
|
||||
return "(Default beep)";
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public override void DrawTab()
|
||||
{
|
||||
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));
|
||||
UiThemeUtils.SectionHeader("Notifications");
|
||||
(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)
|
||||
if (UiThemeUtils.WrappedCheckbox("Enable notifications when manual interaction is required", ref value))
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 1450201520;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
base.Configuration.Notifications.Enabled = value;
|
||||
Save();
|
||||
}
|
||||
using (ImRaii.Disabled(!base.Configuration.Notifications.Enabled))
|
||||
{
|
||||
int currentItem = Array.IndexOf(_xivChatTypes, base.Configuration.Notifications.ChatType);
|
||||
if (currentItem == -1)
|
||||
{
|
||||
currentItem = 0;
|
||||
}
|
||||
float width = MathF.Min(260f, ImGui.GetContentRegionAvail().X);
|
||||
if (UiThemeUtils.SearchableCombo("Chat channel", ref currentItem, _chatTypeNames, ref _chatChannelSearchText, width))
|
||||
{
|
||||
base.Configuration.Notifications.ChatType = _xivChatTypes[currentItem];
|
||||
Save();
|
||||
}
|
||||
}
|
||||
UiThemeUtils.EndCard(item, item2, item3);
|
||||
using (ImRaii.Disabled(!base.Configuration.Notifications.Enabled))
|
||||
{
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader("Out-of-game notifications");
|
||||
(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;
|
||||
if (UiThemeUtils.WrappedCheckbox("Flash taskbar icon", ref value2))
|
||||
{
|
||||
base.Configuration.Notifications.FlashTaskbar = value2;
|
||||
Save();
|
||||
}
|
||||
bool value3 = base.Configuration.Notifications.ShowTrayMessage;
|
||||
if (UiThemeUtils.WrappedCheckbox("Show tray notification", ref value3))
|
||||
{
|
||||
base.Configuration.Notifications.ShowTrayMessage = value3;
|
||||
Save();
|
||||
}
|
||||
bool value4 = base.Configuration.Notifications.PlaySound;
|
||||
if (UiThemeUtils.WrappedCheckbox("Play a sound", ref value4))
|
||||
{
|
||||
base.Configuration.Notifications.PlaySound = value4;
|
||||
Save();
|
||||
}
|
||||
using (ImRaii.Disabled(!base.Configuration.Notifications.PlaySound))
|
||||
{
|
||||
using (ImRaii.PushIndent())
|
||||
{
|
||||
int currentItem2 = Array.IndexOf(_soundFiles, base.Configuration.Notifications.SoundFile);
|
||||
float width2 = MathF.Min(ImGui.GetContentRegionAvail().X * 0.6f, 260f);
|
||||
string previewOverride = ((currentItem2 < 0) ? SoundLabel(base.Configuration.Notifications.SoundFile) : null);
|
||||
if (UiThemeUtils.SearchableCombo("Sound", ref currentItem2, _soundLabels, ref _soundSearchText, width2, previewOverride))
|
||||
{
|
||||
base.Configuration.Notifications.SoundFile = _soundFiles[currentItem2];
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
if (UiThemeUtils.IconTextButton(FontAwesomeIcon.Play, "Test"))
|
||||
{
|
||||
_notifier.PlayAlertSound(WindowsSounds.ResolvePath(base.Configuration.Notifications.SoundFile));
|
||||
}
|
||||
}
|
||||
}
|
||||
bool value5 = base.Configuration.Notifications.OnlyWhenUnfocused;
|
||||
if (UiThemeUtils.WrappedCheckbox("Only when the game is not focused", ref value5, "Tray notification and sound are suppressed while the game window is focused. Taskbar flashing already stops when you focus the game."))
|
||||
{
|
||||
base.Configuration.Notifications.OnlyWhenUnfocused = value5;
|
||||
Save();
|
||||
}
|
||||
UiThemeUtils.EndCard(item4, item5, item6);
|
||||
UiThemeUtils.SectionSpacing();
|
||||
UiThemeUtils.SectionHeader("Alert for");
|
||||
ImGui.SameLine();
|
||||
UiThemeUtils.InfoIcon("Which situations raise an out-of-game alert (taskbar / tray / sound): when a step needs you, when an auto-run duty / single-player duty finishes, and when a stop condition halts automation.");
|
||||
(Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) tuple3 = UiThemeUtils.BeginCard();
|
||||
Vector2 item7 = tuple3.ContentStartPos;
|
||||
float item8 = tuple3.AvailableWidth;
|
||||
ImDrawListPtr 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("Duties", base.Configuration.Notifications.AlertForDuties);
|
||||
global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<InlineArray4<UiThemeUtils.GridCheckbox>, UiThemeUtils.GridCheckbox>(ref buffer, 1) = new UiThemeUtils.GridCheckbox("Single-player duties", base.Configuration.Notifications.AlertForSinglePlayerDuties);
|
||||
global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<InlineArray4<UiThemeUtils.GridCheckbox>, UiThemeUtils.GridCheckbox>(ref buffer, 2) = new UiThemeUtils.GridCheckbox("Snipe steps", base.Configuration.Notifications.AlertForSnipe);
|
||||
global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<InlineArray4<UiThemeUtils.GridCheckbox>, UiThemeUtils.GridCheckbox>(ref buffer, 3) = new UiThemeUtils.GridCheckbox("Stop conditions", base.Configuration.Notifications.AlertForStopConditions);
|
||||
ReadOnlySpan<UiThemeUtils.GridCheckbox> items = global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan<InlineArray4<UiThemeUtils.GridCheckbox>, UiThemeUtils.GridCheckbox>(in buffer, 4);
|
||||
switch (UiThemeUtils.CheckboxGrid("alertfor", items))
|
||||
{
|
||||
case 0:
|
||||
num = 1450201522;
|
||||
break;
|
||||
case 2:
|
||||
base.Configuration.Notifications.Enabled = value;
|
||||
base.Configuration.Notifications.AlertForDuties = !base.Configuration.Notifications.AlertForDuties;
|
||||
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
|
||||
{
|
||||
int currentItem = Array.IndexOf(_xivChatTypes, base.Configuration.Notifications.ChatType);
|
||||
num = ((currentItem != -1) ? 55349641 : 55349647);
|
||||
while (true)
|
||||
{
|
||||
int num7 = num;
|
||||
num3 = 55349645;
|
||||
num4 = num7;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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)
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
num = ((indentDisposable == null) ? (-363189453) : (-363189456));
|
||||
while (true)
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
base.Configuration.Notifications.AlertForSinglePlayerDuties = !base.Configuration.Notifications.AlertForSinglePlayerDuties;
|
||||
Save();
|
||||
break;
|
||||
case 2:
|
||||
base.Configuration.Notifications.AlertForSnipe = !base.Configuration.Notifications.AlertForSnipe;
|
||||
Save();
|
||||
break;
|
||||
case 3:
|
||||
base.Configuration.Notifications.AlertForStopConditions = !base.Configuration.Notifications.AlertForStopConditions;
|
||||
Save();
|
||||
break;
|
||||
}
|
||||
UiThemeUtils.EndCard(item7, item8, item9);
|
||||
}
|
||||
}
|
||||
|
||||
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();
|
||||
}));
|
||||
list.AddRange(from i in Enumerable.Range(1, 10)
|
||||
select $"Alarm{i:D2}.wav");
|
||||
list.AddRange(from i in Enumerable.Range(1, 10)
|
||||
select $"Ring{i:D2}.wav");
|
||||
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
|
|
@ -1,41 +1,23 @@
|
|||
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 static readonly string[] RoleQuestPreferenceNames = new string[6] { "Default (current job)", "Tank", "Healer", "Melee DPS", "Physical Ranged DPS", "Caster" };
|
||||
|
||||
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 string[] _msqPriorityNames = new string[3] { "Always (MSQ first)", "After Tracked (MSQ last)", "Manual (never auto-accept MSQ)" };
|
||||
|
||||
private readonly QuestRegistry _questRegistry;
|
||||
|
||||
private readonly TerritoryData _territoryData;
|
||||
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
public QuestsConfigComponent(IDalamudPluginInterface pluginInterface, Configuration configuration, QuestRegistry questRegistry, TerritoryData territoryData)
|
||||
: base(pluginInterface, configuration)
|
||||
{
|
||||
|
|
@ -54,551 +36,182 @@ internal sealed class QuestsConfigComponent : ConfigComponent
|
|||
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));
|
||||
UiThemeUtils.SectionHeader("Story & Progression");
|
||||
(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)
|
||||
ImGui.SetNextItemWidth(MathF.Min(ImGui.GetContentRegionAvail().X * 0.6f, 260f));
|
||||
if (UiThemeUtils.ThemedCombo("MSQ Priority", ref currentItem, _msqPriorityNames, _msqPriorityNames.Length))
|
||||
{
|
||||
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;
|
||||
}
|
||||
base.Configuration.General.MsqPriority = (Configuration.EMsqPriorityMode)currentItem;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
UiThemeUtils.InfoIcon("Controls when the Main Scenario Quest (MSQ) is automatically accepted:\n\n• Always: Auto-accept MSQ immediately\n• After Tracked: Complete accepted quests first, then pick up MSQ\n• Manual: Never auto-accept MSQ, only do manually accepted quests");
|
||||
bool value = base.Configuration.General.SkipLowPriorityDuties;
|
||||
if (UiThemeUtils.WrappedCheckbox("Unlock certain optional dungeons and raids (instead of waiting for completion)", ref value))
|
||||
{
|
||||
base.Configuration.General.SkipLowPriorityDuties = value;
|
||||
Save();
|
||||
}
|
||||
ImGui.SameLine();
|
||||
UiThemeUtils.InfoIcon(BuildLowPriorityDutyTooltip());
|
||||
bool value2 = base.Configuration.Advanced.SkipARealmRebornHardModePrimals;
|
||||
if (UiThemeUtils.WrappedCheckbox("Don't pick up ARR hard mode primal quests", ref value2, "Hard mode Ifrit/Garuda/Titan are required for the Patch 2.5 quest 'Good Intentions' and to start Heavensward."))
|
||||
{
|
||||
base.Configuration.Advanced.SkipARealmRebornHardModePrimals = value2;
|
||||
Save();
|
||||
}
|
||||
bool value3 = base.Configuration.Advanced.SkipCrystalTowerRaids;
|
||||
if (UiThemeUtils.WrappedCheckbox("Don't pick up Crystal Tower quests", ref value3, "Crystal Tower raids are required for the Patch 2.55 quest 'A Time to Every Purpose' and to start Heavensward."))
|
||||
{
|
||||
base.Configuration.Advanced.SkipCrystalTowerRaids = value3;
|
||||
Save();
|
||||
}
|
||||
UiThemeUtils.EndCard(item, item2, item3);
|
||||
}
|
||||
|
||||
[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));
|
||||
UiThemeUtils.SectionHeader("Side Content");
|
||||
(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)
|
||||
if (UiThemeUtils.WrappedCheckbox("Don't pick up class/job quests", ref value, "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."))
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = 701911120;
|
||||
int num4 = num2;
|
||||
switch ((num4 | num3) - (num4 & num3))
|
||||
base.Configuration.Advanced.SkipClassJobQuests = value;
|
||||
Save();
|
||||
}
|
||||
bool value2 = base.Configuration.Advanced.SkipRoleQuests;
|
||||
if (UiThemeUtils.WrappedCheckbox("Don't pick up role quests", ref value2, "At least one Shadowbringers role quest line must be completed for the 5.0 MSQ. Disabling this means you must complete role quests manually."))
|
||||
{
|
||||
base.Configuration.Advanced.SkipRoleQuests = value2;
|
||||
Save();
|
||||
}
|
||||
using (ImRaii.Disabled(value2))
|
||||
{
|
||||
using (ImRaii.PushIndent())
|
||||
{
|
||||
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
|
||||
int currentItem = (int)base.Configuration.Advanced.RoleQuestPreference;
|
||||
ImGui.SetNextItemWidth(MathF.Min(260f, ImGui.GetContentRegionAvail().X));
|
||||
if (UiThemeUtils.ThemedCombo("Role quest line", ref currentItem, RoleQuestPreferenceNames, RoleQuestPreferenceNames.Length))
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
base.Configuration.Advanced.RoleQuestPreference = (ERoleQuestPreference)currentItem;
|
||||
Save();
|
||||
}
|
||||
finally
|
||||
ImGui.SameLine();
|
||||
UiThemeUtils.InfoIcon("Which role quest line to prioritize. Default follows your current job's role. Your current job must match the selected role for quests to be picked up.");
|
||||
bool value3 = base.Configuration.Advanced.ContinueRoleQuestsAfterShb;
|
||||
if (UiThemeUtils.WrappedCheckbox("Continue role quests after Shadowbringers", ref value3, "When enabled, also prioritizes Endwalker and Dawntrail role quests for the selected role. These are not required for MSQ progression."))
|
||||
{
|
||||
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;
|
||||
}
|
||||
base.Configuration.Advanced.ContinueRoleQuestsAfterShb = value3;
|
||||
Save();
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
bool value4 = base.Configuration.Advanced.SkipAetherCurrents;
|
||||
if (UiThemeUtils.WrappedCheckbox("Don't pick up aether currents/aether current quests", ref value4, "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."))
|
||||
{
|
||||
base.Configuration.Advanced.SkipAetherCurrents = value4;
|
||||
Save();
|
||||
}
|
||||
bool value5 = base.Configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp;
|
||||
if (UiThemeUtils.WrappedCheckbox("Auto-prioritize allied society rank up quests", ref value5, "Automatically prioritizes rank up quests when at reputation capacity, and reorders daily turn-ins to minimize wasted reputation."))
|
||||
{
|
||||
base.Configuration.Advanced.AutoPrioritizeAlliedSocietyRankUp = value5;
|
||||
Save();
|
||||
}
|
||||
UiThemeUtils.EndCard(item, item2, item3);
|
||||
}
|
||||
|
||||
[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));
|
||||
UiThemeUtils.SectionHeader("Priority Quests");
|
||||
(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)
|
||||
if (UiThemeUtils.WrappedCheckbox("Save priority quests between sessions", ref value, "When enabled, your priority quest list will be saved and restored when the plugin reloads or the game restarts."))
|
||||
{
|
||||
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;
|
||||
}
|
||||
base.Configuration.General.PersistPriorityQuestsBetweenSessions = value;
|
||||
Save();
|
||||
}
|
||||
bool value2 = base.Configuration.General.ClearPriorityQuestsOnLogout;
|
||||
if (UiThemeUtils.WrappedCheckbox("Clear priority quests on character logout", ref value2, "Clears the priority queue when your character logs out. This also clears the saved list if persistence is enabled."))
|
||||
{
|
||||
base.Configuration.General.ClearPriorityQuestsOnLogout = value2;
|
||||
Save();
|
||||
}
|
||||
bool value3 = base.Configuration.General.ClearPriorityQuestsOnCompletion;
|
||||
if (UiThemeUtils.WrappedCheckbox("Remove priority quests when completed", ref value3, "Automatically removes completed quests from your priority queue. This helps keep your priority list clean without manual intervention."))
|
||||
{
|
||||
base.Configuration.General.ClearPriorityQuestsOnCompletion = value3;
|
||||
Save();
|
||||
}
|
||||
UiThemeUtils.EndCard(item, item2, item3);
|
||||
}
|
||||
|
||||
[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));
|
||||
UiThemeUtils.SectionHeader("Quest Details");
|
||||
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)
|
||||
ImGui.AlignTextToFramePadding();
|
||||
ImGui.Text("Chocobo Name:");
|
||||
ImGui.SameLine();
|
||||
string buf = base.Configuration.Advanced.ChocoboName;
|
||||
ImGui.SetNextItemWidth(MathF.Min(260f, ImGui.GetContentRegionAvail().X));
|
||||
if (ImGui.InputText("##ChocoboName", ref buf, 20))
|
||||
{
|
||||
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;
|
||||
}
|
||||
base.Configuration.Advanced.ChocoboName = FormatChocoboName(buf);
|
||||
Save();
|
||||
}
|
||||
if (!string.IsNullOrEmpty(buf) && buf.Length < 2)
|
||||
{
|
||||
ImGui.SameLine();
|
||||
ImGui.TextColored(in UiThemeUtils.StatusLocked, "Name must be at least 2 characters");
|
||||
}
|
||||
ImGui.SameLine();
|
||||
UiThemeUtils.InfoIcon("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'.");
|
||||
bool value = base.Configuration.Advanced.PreventQuestCompletion;
|
||||
if (UiThemeUtils.WrappedCheckbox("Prevent quest completion", ref value, "When enabled, Questionable will not attempt to turn-in and complete quests. This will do everything automatically except the final turn-in step."))
|
||||
{
|
||||
base.Configuration.Advanced.PreventQuestCompletion = value;
|
||||
Save();
|
||||
}
|
||||
UiThemeUtils.EndCard(contentStartPos, availableWidth, drawList);
|
||||
}
|
||||
|
||||
[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
|
||||
string text = "Questionable automatically picks up some optional quests (e.g. for aether currents, or the ARR alliance raids).\nIf this setting is enabled, Questionable will continue with other quests, instead of waiting for manual completion of the duty.\n\nThis affects the following dungeons and raids:";
|
||||
foreach (var lowPriorityContentFinderConditionQuest in _questRegistry.LowPriorityContentFinderConditionQuests)
|
||||
{
|
||||
int num = 1407189999;
|
||||
TerritoryData.ContentFinderConditionData contentFinderConditionData = default(TerritoryData.ContentFinderConditionData);
|
||||
while (true)
|
||||
if (_territoryData.TryGetContentFinderCondition(lowPriorityContentFinderConditionQuest.ContentFinderConditionId, out TerritoryData.ContentFinderConditionData contentFinderConditionData))
|
||||
{
|
||||
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;
|
||||
text = text + "\n• " + contentFinderConditionData.Name;
|
||||
}
|
||||
}
|
||||
return text;
|
||||
}
|
||||
|
||||
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)
|
||||
if (string.IsNullOrEmpty(name))
|
||||
{
|
||||
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;
|
||||
}
|
||||
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;
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
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