muffin v7.5.11
This commit is contained in:
parent
addf2d530f
commit
3102923ce2
522 changed files with 41082 additions and 211592 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue