Skip to content

Commit 317ab9e

Browse files
committed
Actually let's just use info from Penumbra.GameData
1 parent 245d7cc commit 317ab9e

File tree

5 files changed

+4
-30
lines changed

5 files changed

+4
-30
lines changed

CustomizePlus.GameData/ReverseSearchDictionaries/ReverseSearchDictBNpc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace CustomizePlus.GameData.ReverseSearchDictionaries;
1111

1212
/// <summary> A dictionary that matches names to battle npc ids. </summary>
1313
public sealed class ReverseSearchDictBNpc(IDalamudPluginInterface pluginInterface, Logger log, IDataManager gameData)
14-
: ReverseNameDictionary(pluginInterface, log, gameData, "ReverseSearchBNpcs", Versions.DictBNpc, () => CreateBNpcData(gameData))
14+
: ReverseNameDictionary(pluginInterface, log, gameData, "ReverseSearchBNpcs", Penumbra.GameData.DataContainers.Version.DictBNpc, () => CreateBNpcData(gameData))
1515
{
1616
/// <summary> Create the data. </summary>
1717
private static IReadOnlyDictionary<string, uint> CreateBNpcData(IDataManager gameData)

CustomizePlus.GameData/ReverseSearchDictionaries/ReverseSearchDictCompanion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace CustomizePlus.GameData.ReverseSearchDictionaries;
1111

1212
/// <summary> A dictionary that matches companion names to their ids. </summary>
1313
public sealed class ReverseSearchDictCompanion(IDalamudPluginInterface pluginInterface, Logger log, IDataManager gameData)
14-
: ReverseNameDictionary(pluginInterface, log, gameData, "ReverseSearchCompanions", Versions.DictCompanion, () => CreateCompanionData(gameData))
14+
: ReverseNameDictionary(pluginInterface, log, gameData, "ReverseSearchCompanions", Penumbra.GameData.DataContainers.Version.DictCompanion, () => CreateCompanionData(gameData))
1515
{
1616
/// <summary> Create the data. </summary>
1717
private static IReadOnlyDictionary<string, uint> CreateCompanionData(IDataManager gameData)

CustomizePlus.GameData/ReverseSearchDictionaries/ReverseSearchDictENpc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace CustomizePlus.GameData.ReverseSearchDictionaries;
1111

1212
/// <summary> A dictionary that matches names to event npc ids. </summary>
1313
public sealed class ReverseSearchDictENpc(IDalamudPluginInterface pluginInterface, Logger log, IDataManager gameData)
14-
: ReverseNameDictionary(pluginInterface, log, gameData, "ReverseSearchENpcs", Versions.DictENpc, () => CreateENpcData(gameData))
14+
: ReverseNameDictionary(pluginInterface, log, gameData, "ReverseSearchENpcs", Penumbra.GameData.DataContainers.Version.DictENpc, () => CreateENpcData(gameData))
1515
{
1616
/// <summary> Create the data. </summary>
1717
private static IReadOnlyDictionary<string, uint> CreateENpcData(IDataManager gameData)

CustomizePlus.GameData/ReverseSearchDictionaries/ReverseSearchDictMount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace CustomizePlus.GameData.ReverseSearchDictionaries;
1212

1313
/// <summary> A dictionary that matches names to mount ids. </summary>
1414
public sealed class ReverseSearchDictMount(IDalamudPluginInterface pluginInterface, Logger log, IDataManager gameData)
15-
: ReverseNameDictionary(pluginInterface, log, gameData, "ReverseSearchMounts", Versions.DictMount, () => CreateMountData(gameData))
15+
: ReverseNameDictionary(pluginInterface, log, gameData, "ReverseSearchMounts", Penumbra.GameData.DataContainers.Version.DictMount, () => CreateMountData(gameData))
1616
{
1717
/// <summary> Create the data. </summary>
1818
private static IReadOnlyDictionary<string, uint> CreateMountData(IDataManager gameData)

CustomizePlus.GameData/ReverseSearchDictionaries/Versions.cs

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)