forked from aly/qstbak
muffin v7.5.1
This commit is contained in:
parent
a6481e7b9a
commit
965a736f84
59 changed files with 4112 additions and 5059 deletions
|
|
@ -33,80 +33,43 @@ internal sealed class PriorityWindow : LWindow
|
|||
public PriorityWindow(QuestController questController, QuestFunctions questFunctions, QuestSelector questSelector, QuestTooltipComponent questTooltipComponent, PresetBuilderComponent presetBuilderComponent, SavedPresetsComponent savedPresetsComponent, UiUtils uiUtils, IChatGui chatGui, IDalamudPluginInterface pluginInterface)
|
||||
: base("Quest Priority###QuestionableQuestPriority")
|
||||
{
|
||||
//IL_0088: Unknown result type (might be due to invalid IL or missing references)
|
||||
_manualPriorityComponent = new ManualPriorityComponent(questController, questFunctions, questSelector, questTooltipComponent, uiUtils, chatGui, pluginInterface);
|
||||
_presetBuilderComponent = presetBuilderComponent;
|
||||
_savedPresetsComponent = savedPresetsComponent;
|
||||
base.Size = new Vector2(500f, 500f);
|
||||
base.SizeCondition = ImGuiCond.Once;
|
||||
WindowSizeConstraints value = default(WindowSizeConstraints);
|
||||
((WindowSizeConstraints)(ref value))._002Ector();
|
||||
((WindowSizeConstraints)(ref value)).MinimumSize = new Vector2(615f, 500f);
|
||||
((WindowSizeConstraints)(ref value)).MaximumSize = new Vector2(800f, 1000f);
|
||||
((Window)this).SizeConstraints = value;
|
||||
base.SizeConstraints = new WindowSizeConstraints
|
||||
{
|
||||
MinimumSize = new Vector2(615f, 500f),
|
||||
MaximumSize = new Vector2(800f, 1000f)
|
||||
};
|
||||
}
|
||||
|
||||
public override void DrawContent()
|
||||
{
|
||||
//IL_000a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_000f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0010: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0027: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_002c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_002d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0054: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0059: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_005a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0081: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0086: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0087: Unknown result type (might be due to invalid IL or missing references)
|
||||
TabBarDisposable val = ImRaii.TabBar((ImU8String)"PriorityTabs");
|
||||
try
|
||||
using ImRaii.TabBarDisposable tabBarDisposable = ImRaii.TabBar("PriorityTabs");
|
||||
if (!tabBarDisposable)
|
||||
{
|
||||
if (!val)
|
||||
return;
|
||||
}
|
||||
using (ImRaii.TabItemDisposable tabItemDisposable = ImRaii.TabItem("Manual Priority"))
|
||||
{
|
||||
if ((bool)tabItemDisposable)
|
||||
{
|
||||
return;
|
||||
}
|
||||
TabItemDisposable val2 = ImRaii.TabItem((ImU8String)"Manual Priority");
|
||||
try
|
||||
{
|
||||
if (TabItemDisposable.op_Implicit(val2))
|
||||
{
|
||||
_manualPriorityComponent.Draw();
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
((TabItemDisposable)(ref val2)).Dispose();
|
||||
}
|
||||
TabItemDisposable val3 = ImRaii.TabItem((ImU8String)"Quest Presets");
|
||||
try
|
||||
{
|
||||
if (TabItemDisposable.op_Implicit(val3))
|
||||
{
|
||||
_presetBuilderComponent.Draw();
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
((TabItemDisposable)(ref val3)).Dispose();
|
||||
}
|
||||
TabItemDisposable val4 = ImRaii.TabItem((ImU8String)"Saved Presets");
|
||||
try
|
||||
{
|
||||
if (TabItemDisposable.op_Implicit(val4))
|
||||
{
|
||||
_savedPresetsComponent.Draw();
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
((TabItemDisposable)(ref val4)).Dispose();
|
||||
_manualPriorityComponent.Draw();
|
||||
}
|
||||
}
|
||||
finally
|
||||
using (ImRaii.TabItemDisposable tabItemDisposable2 = ImRaii.TabItem("Quest Presets"))
|
||||
{
|
||||
((TabBarDisposable)(ref val)).Dispose();
|
||||
if ((bool)tabItemDisposable2)
|
||||
{
|
||||
_presetBuilderComponent.Draw();
|
||||
}
|
||||
}
|
||||
using ImRaii.TabItemDisposable tabItemDisposable3 = ImRaii.TabItem("Saved Presets");
|
||||
if ((bool)tabItemDisposable3)
|
||||
{
|
||||
_savedPresetsComponent.Draw();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue