muffin v7.4
This commit is contained in:
parent
8a7847ff37
commit
a4175abacd
54 changed files with 95984 additions and 123967 deletions
|
|
@ -95,7 +95,7 @@ internal sealed class GeneralConfigComponent : ConfigComponent
|
|||
return;
|
||||
}
|
||||
int currentItem = (int)base.Configuration.General.CombatModule;
|
||||
if (ImGui.Combo("Preferred Combat Module", ref currentItem, in _combatModuleNames, _combatModuleNames.Length))
|
||||
if (ImGui.Combo((ImU8String)"Preferred Combat Module", ref currentItem, (ReadOnlySpan<string>)_combatModuleNames, _combatModuleNames.Length))
|
||||
{
|
||||
base.Configuration.General.CombatModule = (Configuration.ECombatModule)currentItem;
|
||||
Save();
|
||||
|
|
@ -150,7 +150,7 @@ internal sealed class GeneralConfigComponent : ConfigComponent
|
|||
_mountComboJustOpened = false;
|
||||
}
|
||||
int currentItem2 = (int)base.Configuration.General.GrandCompany;
|
||||
if (ImGui.Combo("Preferred Grand Company", ref currentItem2, in _grandCompanyNames, _grandCompanyNames.Length))
|
||||
if (ImGui.Combo((ImU8String)"Preferred Grand Company", ref currentItem2, (ReadOnlySpan<string>)_grandCompanyNames, _grandCompanyNames.Length))
|
||||
{
|
||||
base.Configuration.General.GrandCompany = (FFXIVClientStructs.FFXIV.Client.UI.Agent.GrandCompany)currentItem2;
|
||||
Save();
|
||||
|
|
@ -162,7 +162,7 @@ internal sealed class GeneralConfigComponent : ConfigComponent
|
|||
Save();
|
||||
currentItem3 = 0;
|
||||
}
|
||||
if (ImGui.Combo("Preferred Combat Job", ref currentItem3, in _classJobNames, _classJobNames.Length))
|
||||
if (ImGui.Combo((ImU8String)"Preferred Combat Job", ref currentItem3, (ReadOnlySpan<string>)_classJobNames, _classJobNames.Length))
|
||||
{
|
||||
base.Configuration.General.CombatJob = _classJobIds[currentItem3];
|
||||
Save();
|
||||
|
|
@ -279,11 +279,11 @@ internal sealed class GeneralConfigComponent : ConfigComponent
|
|||
Save();
|
||||
}
|
||||
Vector4 col = new Vector4(0.7f, 0.7f, 0.7f, 1f);
|
||||
ImU8String text2 = new ImU8String(77, 1);
|
||||
text2.AppendLiteral("Quest steps will refresh automatically after ");
|
||||
text2.AppendFormatted(v10);
|
||||
text2.AppendLiteral(" seconds if no progress is made.");
|
||||
ImGui.TextColored(in col, text2);
|
||||
ImU8String text3 = new ImU8String(77, 1);
|
||||
text3.AppendLiteral("Quest steps will refresh automatically after ");
|
||||
text3.AppendFormatted(v10);
|
||||
text3.AppendLiteral(" seconds if no progress is made.");
|
||||
ImGui.TextColored(in col, text3);
|
||||
ImGui.Unindent();
|
||||
}
|
||||
ImGui.Spacing();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue