starting new crafting log ui

This commit is contained in:
Asriel Camora
2023-06-23 03:39:27 -07:00
parent a5d1b18840
commit 62efffa3e7
2 changed files with 111 additions and 33 deletions
+7
View File
@@ -11,6 +11,7 @@ using Condition = Craftimizer.Simulator.Condition;
using Craftimizer.Simulator;
using System.Text;
using System.Numerics;
using System.Globalization;
namespace Craftimizer.Plugin;
@@ -95,6 +96,12 @@ internal static class ClassJobUtils
_ => 0
};
public static string GetName(this ClassJob classJob)
{
var job = LuminaSheets.ClassJobSheet.GetRow(classJob.GetClassJobIndex())!;
return CultureInfo.InvariantCulture.TextInfo.ToTitleCase(job.Name.ToDalamudString().TextValue);
}
// Index in the actual ClassJob sheet
public static bool IsClassJob(byte classJobIdx, ClassJob classJob)
{