forked from aly/qstbak
muffin v7.5.0
This commit is contained in:
parent
afafd5e377
commit
a6481e7b9a
67 changed files with 4281 additions and 2372 deletions
|
|
@ -33,43 +33,80 @@ 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;
|
||||
base.SizeConstraints = new WindowSizeConstraints
|
||||
{
|
||||
MinimumSize = new Vector2(615f, 500f),
|
||||
MaximumSize = new Vector2(800f, 1000f)
|
||||
};
|
||||
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;
|
||||
}
|
||||
|
||||
public override void DrawContent()
|
||||
{
|
||||
using ImRaii.IEndObject endObject = ImRaii.TabBar("PriorityTabs");
|
||||
if (!endObject)
|
||||
//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
|
||||
{
|
||||
return;
|
||||
}
|
||||
using (ImRaii.IEndObject endObject2 = ImRaii.TabItem("Manual Priority"))
|
||||
{
|
||||
if (endObject2)
|
||||
if (!val)
|
||||
{
|
||||
_manualPriorityComponent.Draw();
|
||||
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();
|
||||
}
|
||||
}
|
||||
using (ImRaii.IEndObject endObject3 = ImRaii.TabItem("Quest Presets"))
|
||||
finally
|
||||
{
|
||||
if (endObject3)
|
||||
{
|
||||
_presetBuilderComponent.Draw();
|
||||
}
|
||||
}
|
||||
using ImRaii.IEndObject endObject4 = ImRaii.TabItem("Saved Presets");
|
||||
if (endObject4)
|
||||
{
|
||||
_savedPresetsComponent.Draw();
|
||||
((TabBarDisposable)(ref val)).Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue