mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
initial values of plugin category fallbacks for testing
This commit is contained in:
parent
6eb0953e38
commit
694aa113d6
1 changed files with 2 additions and 13 deletions
|
|
@ -60,12 +60,9 @@ namespace Dalamud.Interface.Internal
|
|||
/// key: PluginManifest.InternalName (lowercase, no spaces),
|
||||
/// value: list of category tags, <see cref="categoryList"/>.
|
||||
/// </summary>
|
||||
private Dictionary<string, string[]> mapPluginCategoryTagFallbacks = new();
|
||||
|
||||
#if DEBUG
|
||||
// temp - hardcode some tag values for testing, idk what most of them does so it's probably not very accurate :D
|
||||
private Dictionary<string, string[]> mapPluginCategoryTagFallbacksHACK = new()
|
||||
private Dictionary<string, string[]> mapPluginCategoryTagFallbacks = new()
|
||||
{
|
||||
// temporary for testing, should be removed when manifests are updated
|
||||
["accuratecountdown"] = new string[] { "UI" },
|
||||
["adventurerinneed"] = new string[] { "UI" },
|
||||
["aethersense"] = new string[] { "Other" },
|
||||
|
|
@ -150,7 +147,6 @@ namespace Dalamud.Interface.Internal
|
|||
["xivchat"] = new string[] { "social" },
|
||||
["xivcombo"] = new string[] { "jobs" },
|
||||
};
|
||||
#endif // DEBUG
|
||||
|
||||
/// <summary>
|
||||
/// Type of category group.
|
||||
|
|
@ -383,13 +379,6 @@ namespace Dalamud.Interface.Internal
|
|||
return fallbackTags;
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
if (this.mapPluginCategoryTagFallbacksHACK.TryGetValue(nameKey, out var dummyTags))
|
||||
{
|
||||
return dummyTags;
|
||||
}
|
||||
#endif // DEBUG
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue