mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 10:17:23 +01:00
Allow multiple fixed designs for a single character to be active, and check jobs. Use the job-group with fewer entries if they are overlapping, and the first added if they have the same number of entries.
This commit is contained in:
parent
9dafc65975
commit
6d5503b3bc
6 changed files with 201 additions and 35 deletions
21
Glamourer.GameData/Job.cs
Normal file
21
Glamourer.GameData/Job.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using Lumina.Excel.GeneratedSheets;
|
||||
|
||||
namespace Glamourer
|
||||
{
|
||||
public readonly struct Job
|
||||
{
|
||||
public readonly string Name;
|
||||
public readonly string Abbreviation;
|
||||
public readonly ClassJob Base;
|
||||
|
||||
public uint Id
|
||||
=> Base.RowId;
|
||||
|
||||
public Job(ClassJob job)
|
||||
{
|
||||
Base = job;
|
||||
Name = job.Name.ToString();
|
||||
Abbreviation = job.Abbreviation.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue