354 lines
20 KiB
C#
354 lines
20 KiB
C#
using System;
|
|
using System.Linq;
|
|
using System.Numerics;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Threading.Tasks;
|
|
using Dalamud.Bindings.ImGui;
|
|
using Dalamud.Configuration;
|
|
using Dalamud.Interface;
|
|
using Dalamud.Interface.Utility;
|
|
using Dalamud.Interface.Utility.Raii;
|
|
using Dalamud.Interface.Windowing;
|
|
using Dalamud.Plugin;
|
|
using Dalamud.Plugin.Services;
|
|
using Questionable.Controller;
|
|
using Questionable.Windows.JournalComponents;
|
|
|
|
namespace Questionable.Windows;
|
|
|
|
internal sealed class JournalProgressWindow : ThemedWindow, IDisposable
|
|
{
|
|
private static readonly SidebarNav.Group[] NavGroups = new SidebarNav.Group[3]
|
|
{
|
|
new SidebarNav.Group(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>(-1816330610), new SidebarNav.Item[5]
|
|
{
|
|
new SidebarNav.Item(FontAwesomeIcon.Book, 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>(-1914358154)),
|
|
new SidebarNav.Item(FontAwesomeIcon.Dungeon, 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>(2007815205)),
|
|
new SidebarNav.Item(FontAwesomeIcon.Wifi, 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>(1703030104)),
|
|
new SidebarNav.Item(FontAwesomeIcon.Leaf, 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>(-226723532)),
|
|
new SidebarNav.Item(FontAwesomeIcon.Gift, 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>(-2013041662))
|
|
}),
|
|
new SidebarNav.Group(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>(-491431929), new SidebarNav.Item[2]
|
|
{
|
|
new SidebarNav.Item(FontAwesomeIcon.Map, 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>(-1518072802)),
|
|
new SidebarNav.Item(FontAwesomeIcon.ProjectDiagram, 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>(-1675692115))
|
|
}),
|
|
new SidebarNav.Group(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>(-1013283532), new SidebarNav.Item[2]
|
|
{
|
|
new SidebarNav.Item(FontAwesomeIcon.Handshake, 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>(-1587107701)),
|
|
new SidebarNav.Item(FontAwesomeIcon.BoxOpen, 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>(-1550265517))
|
|
})
|
|
};
|
|
|
|
private static readonly string[] FlatLabels = (from i in NavGroups.SelectMany((SidebarNav.Group g) => g.Items)
|
|
select i.Label).ToArray();
|
|
|
|
private readonly QuestJournalComponent _questJournalComponent;
|
|
|
|
private readonly AlliedSocietyJournalComponent _alliedSocietyJournalComponent;
|
|
|
|
private readonly CustomDeliveryJournalComponent _customDeliveryJournalComponent;
|
|
|
|
private readonly QuestRewardComponent _questRewardComponent;
|
|
|
|
private readonly GatheringJournalComponent _gatheringJournalComponent;
|
|
|
|
private readonly DutyJournalComponent _dutyJournalComponent;
|
|
|
|
private readonly QuestMapComponent _questMapComponent;
|
|
|
|
private readonly QuestChainComponent _questChainComponent;
|
|
|
|
private readonly AttunementJournalComponent _attunementJournalComponent;
|
|
|
|
private readonly QuestRegistry _questRegistry;
|
|
|
|
private readonly IClientState _clientState;
|
|
|
|
private readonly IFramework _framework;
|
|
|
|
private readonly IDalamudPluginInterface _pluginInterface;
|
|
|
|
private readonly Configuration _configuration;
|
|
|
|
private readonly Action[] _pages;
|
|
|
|
private int _selectedTab;
|
|
|
|
private int _selectTabNextFrame = -1;
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public JournalProgressWindow(QuestJournalComponent questJournalComponent, QuestRewardComponent questRewardComponent, AlliedSocietyJournalComponent alliedSocietyJournalComponent, CustomDeliveryJournalComponent customDeliveryJournalComponent, GatheringJournalComponent gatheringJournalComponent, DutyJournalComponent dutyJournalComponent, QuestMapComponent questMapComponent, QuestChainComponent questChainComponent, AttunementJournalComponent attunementJournalComponent, QuestJournalUtils questJournalUtils, QuestRegistry questRegistry, IClientState clientState, IFramework framework, IDalamudPluginInterface pluginInterface, Configuration configuration)
|
|
: base(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>(-994875588))
|
|
{
|
|
_questJournalComponent = questJournalComponent;
|
|
_alliedSocietyJournalComponent = alliedSocietyJournalComponent;
|
|
_customDeliveryJournalComponent = customDeliveryJournalComponent;
|
|
_questRewardComponent = questRewardComponent;
|
|
_gatheringJournalComponent = gatheringJournalComponent;
|
|
_dutyJournalComponent = dutyJournalComponent;
|
|
_questMapComponent = questMapComponent;
|
|
_questChainComponent = questChainComponent;
|
|
_attunementJournalComponent = attunementJournalComponent;
|
|
_questRegistry = questRegistry;
|
|
_clientState = clientState;
|
|
_framework = framework;
|
|
_pluginInterface = pluginInterface;
|
|
_configuration = configuration;
|
|
_pages = new Action[9] { _questJournalComponent.DrawQuests, _dutyJournalComponent.DrawDuties, _attunementJournalComponent.DrawAttunement, _gatheringJournalComponent.DrawGatheringItems, _questRewardComponent.DrawItemRewards, _questMapComponent.DrawQuestMap, _questChainComponent.DrawQuestChain, _alliedSocietyJournalComponent.DrawAlliedSocietyQuests, _customDeliveryJournalComponent.DrawCustomDeliveries };
|
|
_questChainComponent.SelectTabAction = SelectTab;
|
|
_questChainComponent.QuestJournalUtils = questJournalUtils;
|
|
_questMapComponent.SelectTabAction = SelectTab;
|
|
_questMapComponent.QuestChainComponent = _questChainComponent;
|
|
_questMapComponent.QuestJournalUtils = questJournalUtils;
|
|
_attunementJournalComponent.SelectTabAction = SelectTab;
|
|
_attunementJournalComponent.QuestChainComponent = _questChainComponent;
|
|
_200D_200E_200C_206D_202C_206B_200C_200D_206E_202C_200B_202B_200D_206F_206C_202B_206A_206E_202D_200F_206D_206B_206C_206E_200F_200F_202D_202D_200E_200F_206A_206B_200D_206D_202D_202C_200B_206C_206E_206F_202E(_clientState, (Action)_questJournalComponent.RefreshCounts);
|
|
_200E_206E_202B_202C_206C_202B_206E_200F_206C_202B_200E_202D_202A_202E_206B_202B_206D_200F_200B_202D_202A_200F_200D_206B_200D_202E_202A_200F_200E_202D_206D_206B_200D_206A_202B_200B_206C_206A_202A_202E(_clientState, (IClientState.LogoutDelegate)_dutyJournalComponent.ClearCounts);
|
|
_200D_200E_200C_206D_202C_206B_200C_200D_206E_202C_200B_202B_200D_206F_206C_202B_206A_206E_202D_200F_206D_206B_206C_206E_200F_200F_202D_202D_200E_200F_206A_206B_200D_206D_202D_202C_200B_206C_206E_206F_202E(_clientState, (Action)_gatheringJournalComponent.RefreshCounts);
|
|
_200D_200E_200C_206D_202C_206B_200C_200D_206E_202C_200B_202B_200D_206F_206C_202B_206A_206E_202D_200F_206D_206B_206C_206E_200F_200F_202D_202D_200E_200F_206A_206B_200D_206D_202D_202C_200B_206C_206E_206F_202E(_clientState, (Action)_dutyJournalComponent.RefreshCounts);
|
|
_200E_206E_202B_202C_206C_202B_206E_200F_206C_202B_200E_202D_202A_202E_206B_202B_206D_200F_200B_202D_202A_200F_200D_206B_200D_202E_202A_200F_200E_202D_206D_206B_200D_206A_202B_200B_206C_206A_202A_202E(_clientState, (IClientState.LogoutDelegate)_questJournalComponent.ClearCounts);
|
|
_200E_206E_202B_202C_206C_202B_206E_200F_206C_202B_200E_202D_202A_202E_206B_202B_206D_200F_200B_202D_202A_200F_200D_206B_200D_202E_202A_200F_200E_202D_206D_206B_200D_206A_202B_200B_206C_206A_202A_202E(_clientState, (IClientState.LogoutDelegate)_gatheringJournalComponent.ClearCounts);
|
|
_200D_200E_200C_206D_202C_206B_200C_200D_206E_202C_200B_202B_200D_206F_206C_202B_206A_206E_202D_200F_206D_206B_206C_206E_200F_200F_202D_202D_200E_200F_206A_206B_200D_206D_202D_202C_200B_206C_206E_206F_202E(_clientState, (Action)_attunementJournalComponent.RefreshCounts);
|
|
_200E_206E_202B_202C_206C_202B_206E_200F_206C_202B_200E_202D_202A_202E_206B_202B_206D_200F_200B_202D_202A_200F_200D_206B_200D_202E_202A_200F_200E_202D_206D_206B_200D_206A_202B_200B_206C_206A_202A_202E(_clientState, (IClientState.LogoutDelegate)_attunementJournalComponent.ClearCounts);
|
|
_questRegistry.Reloaded += OnQuestsReloaded;
|
|
_202D_206F_206D_200C_202E_206C_206E_206D_206D_206A_200F_202E_202C_200E_200B_206E_200E_202A_200B_200E_206D_200E_206A_200F_206D_202A_202B_206A_202C_206F_202D_200B_206B_206B_206C_206B_206B_200E_200D_202E((WindowSizeConstraints?)new WindowSizeConstraints
|
|
{
|
|
MinimumSize = new Vector2(700f, 500f)
|
|
});
|
|
}
|
|
|
|
public void SelectTab(string tabName)
|
|
{
|
|
int num = Array.IndexOf(FlatLabels, tabName);
|
|
int num2 = ((num < 0) ? (-48410120) : (-48410119));
|
|
while (true)
|
|
{
|
|
int num3 = num2;
|
|
int num4 = -48410120;
|
|
int num5 = num3;
|
|
int num6 = num5 + num4;
|
|
int num7 = num5 & num4;
|
|
switch (num6 - (num7 + num7))
|
|
{
|
|
case 0:
|
|
return;
|
|
case 1:
|
|
_selectTabNextFrame = num;
|
|
num2 = -48410120;
|
|
break;
|
|
case 2:
|
|
num2 = -48410119;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
private void OnQuestsReloaded(object? sender, EventArgs e)
|
|
{
|
|
_206B_206A_206E_206D_202B_202B_200B_206A_206E_206B_200C_200F_200D_202E_200E_200B_200C_206F_200E_202E_206B_200D_206C_206A_200B_206C_206B_206E_206A_200E_206E_202D_206E_202A_200E_206C_200C_202E_200D_202E_202E(_framework, (Action)delegate
|
|
{
|
|
_questJournalComponent.RefreshCounts();
|
|
_dutyJournalComponent.RefreshCounts();
|
|
_gatheringJournalComponent.RefreshCounts();
|
|
_attunementJournalComponent.RefreshCounts();
|
|
_questChainComponent.MarkDirty();
|
|
_questMapComponent.MarkDirty();
|
|
});
|
|
}
|
|
|
|
public override void OnOpen()
|
|
{
|
|
int num = Array.IndexOf<string>(FlatLabels, _configuration.JournalLastPage);
|
|
int num2 = ((num < 0) ? (-747516313) : (-747516316));
|
|
while (true)
|
|
{
|
|
int num3 = num2;
|
|
int num4 = -747516314;
|
|
int num5 = num3;
|
|
switch ((num5 | num4) - (num5 & num4))
|
|
{
|
|
case 0:
|
|
num2 = -747516316;
|
|
break;
|
|
case 2:
|
|
_selectedTab = num;
|
|
num2 = -747516313;
|
|
break;
|
|
case 1:
|
|
_questJournalComponent.UpdateFilter();
|
|
_dutyJournalComponent.UpdateFilter();
|
|
_gatheringJournalComponent.UpdateFilter();
|
|
_attunementJournalComponent.UpdateFilter();
|
|
_questMapComponent.MarkDirty();
|
|
_questChainComponent.MarkDirty();
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public override void DrawContent()
|
|
{
|
|
int num = ((_selectTabNextFrame < 0) ? 376912243 : 376912240);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 376912242;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
num = 376912240;
|
|
break;
|
|
case 2:
|
|
SetSelectedTab(_selectTabNextFrame);
|
|
_selectTabNextFrame = -1;
|
|
num = 376912243;
|
|
break;
|
|
case 1:
|
|
{
|
|
SetSelectedTab(SidebarNav.Draw(NavGroups, _selectedTab));
|
|
using ImRaii.ChildDisposable childDisposable = _206E_202E_206A_206C_202E_202D_200E_202E_206D_206D_200C_202A_200F_206E_202C_202E_206D_200B_206B_206C_200F_200E_200C_206B_200B_200E_206D_200F_202E_202E_200B_200D_200B_200C_202B_206E_206B_202E_206C_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>(-1458524227), Vector2.Zero);
|
|
if (!(bool)childDisposable)
|
|
{
|
|
return;
|
|
}
|
|
ImRaii.IndentDisposable indentDisposable = _202D_206F_206A_206E_206D_202C_202B_206B_200D_206F_206E_200D_206E_200C_206B_206E_202A_206B_200E_202E_202C_202D_206F_202E_206E_206A_202C_206C_202B_202C_202A_200F_202B_206E_202C_202E_202B_202A_200B_202A_202E(8f * _206F_200D_200C_206B_202A_206E_200E_206E_206C_202B_206F_206F_202C_202E_206D_206C_202C_200C_202C_202D_202D_206F_206A_206D_202A_206A_202D_206E_206D_206B_206E_206C_206C_206B_202B_206C_206B_202E_200D_202C_202E(), true, true);
|
|
try
|
|
{
|
|
_pages[_selectedTab]();
|
|
return;
|
|
}
|
|
finally
|
|
{
|
|
num = ((indentDisposable == null) ? 1782540339 : 1782540336);
|
|
while (true)
|
|
{
|
|
int num7 = num;
|
|
num3 = 1782540338;
|
|
num4 = num7;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = 1782540336;
|
|
break;
|
|
case 2:
|
|
_202D_200F_202D_200F_206A_206A_206F_202E_206B_200C_202A_206C_206C_206C_202D_206A_206B_202B_200B_206E_206E_200E_206B_202B_202A_206B_202B_202E_200F_202C_202A_202A_202C_206B_206A_200E_200C_200F_206E_206F_202E((IDisposable)indentDisposable);
|
|
num = 1782540339;
|
|
break;
|
|
case 1:
|
|
goto end_IL_00fb;
|
|
}
|
|
continue;
|
|
end_IL_00fb:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
private void SetSelectedTab(int index)
|
|
{
|
|
int num = ((index != _selectedTab) ? 1049819639 : 1049819636);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 1049819637;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
goto IL_0047;
|
|
case 1:
|
|
return;
|
|
case 2:
|
|
_selectedTab = index;
|
|
_configuration.JournalLastPage = FlatLabels[index];
|
|
_200D_206A_206B_200C_202B_200D_202B_200D_200F_206A_206F_202C_206F_200C_200B_206E_202C_206F_200D_206F_200E_206E_202A_200D_206D_206B_200C_202B_202B_206C_206C_202E_202C_206E_206D_206A_200B_202C_206F_206C_202E(_pluginInterface, (IPluginConfiguration)_configuration);
|
|
return;
|
|
}
|
|
continue;
|
|
IL_0047:
|
|
num = 1049819636;
|
|
}
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
_questRegistry.Reloaded -= OnQuestsReloaded;
|
|
_200E_206E_206F_206F_200B_202A_206A_202C_200D_200B_202A_206D_206A_202E_200F_202A_206D_200E_206B_206D_202E_202A_206B_206D_206D_200F_202B_206D_202B_200B_206B_206B_202B_200D_206E_206E_200E_200C_206E_206E_202E(_clientState, (IClientState.LogoutDelegate)_attunementJournalComponent.ClearCounts);
|
|
_202E_206A_206D_206E_202E_206E_202B_202B_202C_202A_202E_200C_202C_206C_202C_206D_200E_200F_202A_202E_200B_202C_206F_200F_206B_202C_206E_200D_206E_206A_202E_206D_200C_206E_202B_202D_202C_202B_200B_206A_202E(_clientState, (Action)_attunementJournalComponent.RefreshCounts);
|
|
_200E_206E_206F_206F_200B_202A_206A_202C_200D_200B_202A_206D_206A_202E_200F_202A_206D_200E_206B_206D_202E_202A_206B_206D_206D_200F_202B_206D_202B_200B_206B_206B_202B_200D_206E_206E_200E_200C_206E_206E_202E(_clientState, (IClientState.LogoutDelegate)_gatheringJournalComponent.ClearCounts);
|
|
_200E_206E_206F_206F_200B_202A_206A_202C_200D_200B_202A_206D_206A_202E_200F_202A_206D_200E_206B_206D_202E_202A_206B_206D_206D_200F_202B_206D_202B_200B_206B_206B_202B_200D_206E_206E_200E_200C_206E_206E_202E(_clientState, (IClientState.LogoutDelegate)_questJournalComponent.ClearCounts);
|
|
_202E_206A_206D_206E_202E_206E_202B_202B_202C_202A_202E_200C_202C_206C_202C_206D_200E_200F_202A_202E_200B_202C_206F_200F_206B_202C_206E_200D_206E_206A_202E_206D_200C_206E_202B_202D_202C_202B_200B_206A_202E(_clientState, (Action)_dutyJournalComponent.RefreshCounts);
|
|
_202E_206A_206D_206E_202E_206E_202B_202B_202C_202A_202E_200C_202C_206C_202C_206D_200E_200F_202A_202E_200B_202C_206F_200F_206B_202C_206E_200D_206E_206A_202E_206D_200C_206E_202B_202D_202C_202B_200B_206A_202E(_clientState, (Action)_gatheringJournalComponent.RefreshCounts);
|
|
_200E_206E_206F_206F_200B_202A_206A_202C_200D_200B_202A_206D_206A_202E_200F_202A_206D_200E_206B_206D_202E_202A_206B_206D_206D_200F_202B_206D_202B_200B_206B_206B_202B_200D_206E_206E_200E_200C_206E_206E_202E(_clientState, (IClientState.LogoutDelegate)_dutyJournalComponent.ClearCounts);
|
|
_202E_206A_206D_206E_202E_206E_202B_202B_202C_202A_202E_200C_202C_206C_202C_206D_200E_200F_202A_202E_200B_202C_206F_200F_206B_202C_206E_200D_206E_206A_202E_206D_200C_206E_202B_202D_202C_202B_200B_206A_202E(_clientState, (Action)_questJournalComponent.RefreshCounts);
|
|
}
|
|
|
|
void IDisposable.Dispose()
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Dispose
|
|
this.Dispose();
|
|
}
|
|
|
|
static void _200D_200E_200C_206D_202C_206B_200C_200D_206E_202C_200B_202B_200D_206F_206C_202B_206A_206E_202D_200F_206D_206B_206C_206E_200F_200F_202D_202D_200E_200F_206A_206B_200D_206D_202D_202C_200B_206C_206E_206F_202E(IClientState P_0, Action P_1)
|
|
{
|
|
P_0.Login += P_1;
|
|
}
|
|
|
|
static void _200E_206E_202B_202C_206C_202B_206E_200F_206C_202B_200E_202D_202A_202E_206B_202B_206D_200F_200B_202D_202A_200F_200D_206B_200D_202E_202A_200F_200E_202D_206D_206B_200D_206A_202B_200B_206C_206A_202A_202E(IClientState P_0, IClientState.LogoutDelegate P_1)
|
|
{
|
|
P_0.Logout += P_1;
|
|
}
|
|
|
|
void _202D_206F_206D_200C_202E_206C_206E_206D_206D_206A_200F_202E_202C_200E_200B_206E_200E_202A_200B_200E_206D_200E_206A_200F_206D_202A_202B_206A_202C_206F_202D_200B_206B_206B_206C_206B_206B_200E_200D_202E(WindowSizeConstraints? P_0)
|
|
{
|
|
base.SizeConstraints = P_0;
|
|
}
|
|
|
|
static Task _206B_206A_206E_206D_202B_202B_200B_206A_206E_206B_200C_200F_200D_202E_200E_200B_200C_206F_200E_202E_206B_200D_206C_206A_200B_206C_206B_206E_206A_200E_206E_202D_206E_202A_200E_206C_200C_202E_200D_202E_202E(IFramework P_0, Action P_1)
|
|
{
|
|
return P_0.RunOnFrameworkThread(P_1);
|
|
}
|
|
|
|
static ImRaii.ChildDisposable _206E_202E_206A_206C_202E_202D_200E_202E_206D_206D_200C_202A_200F_206E_202C_202E_206D_200B_206B_206C_200F_200E_200C_206B_200B_200E_206D_200F_202E_202E_200B_200D_200B_200C_202B_206E_206B_202E_206C_200E_202E(ImU8String P_0, Vector2 P_1)
|
|
{
|
|
return ImRaii.Child(P_0, P_1);
|
|
}
|
|
|
|
static float _206F_200D_200C_206B_202A_206E_200E_206E_206C_202B_206F_206F_202C_202E_206D_206C_202C_200C_202C_202D_202D_206F_206A_206D_202A_206A_202D_206E_206D_206B_206E_206C_206C_206B_202B_206C_206B_202E_200D_202C_202E()
|
|
{
|
|
return ImGuiHelpers.GlobalScale;
|
|
}
|
|
|
|
static ImRaii.IndentDisposable _202D_206F_206A_206E_206D_202C_202B_206B_200D_206F_206E_200D_206E_200C_206B_206E_202A_206B_200E_202E_202C_202D_206F_202E_206E_206A_202C_206C_202B_202C_202A_200F_202B_206E_202C_202E_202B_202A_200B_202A_202E(float P_0, bool P_1, bool P_2)
|
|
{
|
|
return ImRaii.PushIndent(P_0, P_1, P_2);
|
|
}
|
|
|
|
static void _202D_200F_202D_200F_206A_206A_206F_202E_206B_200C_202A_206C_206C_206C_202D_206A_206B_202B_200B_206E_206E_200E_206B_202B_202A_206B_202B_202E_200F_202C_202A_202A_202C_206B_206A_200E_200C_200F_206E_206F_202E(IDisposable P_0)
|
|
{
|
|
P_0.Dispose();
|
|
}
|
|
|
|
static void _200D_206A_206B_200C_202B_200D_202B_200D_200F_206A_206F_202C_206F_200C_200B_206E_202C_206F_200D_206F_200E_206E_202A_200D_206D_206B_200C_202B_202B_206C_206C_202E_202C_206E_206D_206A_200B_202C_206F_206C_202E(IDalamudPluginInterface P_0, IPluginConfiguration P_1)
|
|
{
|
|
P_0.SavePluginConfig(P_1);
|
|
}
|
|
|
|
static void _200E_206E_206F_206F_200B_202A_206A_202C_200D_200B_202A_206D_206A_202E_200F_202A_206D_200E_206B_206D_202E_202A_206B_206D_206D_200F_202B_206D_202B_200B_206B_206B_202B_200D_206E_206E_200E_200C_206E_206E_202E(IClientState P_0, IClientState.LogoutDelegate P_1)
|
|
{
|
|
P_0.Logout -= P_1;
|
|
}
|
|
|
|
static void _202E_206A_206D_206E_202E_206E_202B_202B_202C_202A_202E_200C_202C_206C_202C_206D_200E_200F_202A_202E_200B_202C_206F_200F_206B_202C_206E_200D_206E_206A_202E_206D_200C_206E_202B_202D_202C_202B_200B_206A_202E(IClientState P_0, Action P_1)
|
|
{
|
|
P_0.Login -= P_1;
|
|
}
|
|
}
|