mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix some bugs and start work on new collections tab.
This commit is contained in:
parent
e9fc57022e
commit
fba5bc6820
26 changed files with 1346 additions and 717 deletions
|
|
@ -221,6 +221,16 @@ public static class RaceEnumExtensions
|
|||
};
|
||||
}
|
||||
|
||||
public static string ToShortName(this SubRace subRace)
|
||||
{
|
||||
return subRace switch
|
||||
{
|
||||
SubRace.SeekerOfTheSun => "Sunseeker",
|
||||
SubRace.KeeperOfTheMoon => "Moonkeeper",
|
||||
_ => subRace.ToName(),
|
||||
};
|
||||
}
|
||||
|
||||
public static bool FitsRace(this SubRace subRace, Race race)
|
||||
=> subRace.ToRace() == race;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue