mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Add more edit options, some small fixes.
This commit is contained in:
parent
65bbece9cf
commit
54460c39f3
13 changed files with 697 additions and 227 deletions
|
|
@ -163,7 +163,7 @@ public static class RaceEnumExtensions
|
|||
ModelRace.AuRa => Race.AuRa.ToName(),
|
||||
ModelRace.Hrothgar => Race.Hrothgar.ToName(),
|
||||
ModelRace.Viera => Race.Viera.ToName(),
|
||||
_ => throw new ArgumentOutOfRangeException( nameof( modelRace ), modelRace, null ),
|
||||
_ => Race.Unknown.ToName(),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -179,7 +179,7 @@ public static class RaceEnumExtensions
|
|||
Race.AuRa => "Au Ra",
|
||||
Race.Hrothgar => "Hrothgar",
|
||||
Race.Viera => "Viera",
|
||||
_ => throw new ArgumentOutOfRangeException( nameof( race ), race, null ),
|
||||
_ => "Unknown",
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -191,7 +191,7 @@ public static class RaceEnumExtensions
|
|||
Gender.Female => "Female",
|
||||
Gender.MaleNpc => "Male (NPC)",
|
||||
Gender.FemaleNpc => "Female (NPC)",
|
||||
_ => throw new InvalidEnumArgumentException(),
|
||||
_ => "Unknown",
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -215,7 +215,7 @@ public static class RaceEnumExtensions
|
|||
SubRace.Lost => "Lost",
|
||||
SubRace.Rava => "Rava",
|
||||
SubRace.Veena => "Veena",
|
||||
_ => throw new InvalidEnumArgumentException(),
|
||||
_ => "Unknown",
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue