mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
This commit is contained in:
parent
c423ce1d47
commit
c5d09d7cd1
2 changed files with 7 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
|||
using System.Collections.Frozen;
|
||||
using OtterGui.Classes;
|
||||
using Luna;
|
||||
using Penumbra.Collections.Cache;
|
||||
using Penumbra.Meta;
|
||||
using Penumbra.Meta.Files;
|
||||
|
|
@ -13,7 +13,7 @@ namespace Penumbra.Mods.Editor;
|
|||
|
||||
public class ModMetaEditor(
|
||||
ModGroupEditor groupEditor,
|
||||
MetaFileManager metaFileManager) : MetaDictionary, Luna.IService
|
||||
MetaFileManager metaFileManager) : MetaDictionary, IService
|
||||
{
|
||||
public sealed class OtherOptionData : HashSet<string>
|
||||
{
|
||||
|
|
@ -89,7 +89,7 @@ public class ModMetaEditor(
|
|||
return changes;
|
||||
}
|
||||
|
||||
var defaultEntries = new MultiDictionary<IMetaIdentifier, IModDataContainer>();
|
||||
var defaultEntries = new ListDictionary<IMetaIdentifier, IModDataContainer>();
|
||||
var actualEntries = new HashSet<IMetaIdentifier>();
|
||||
if (!FilterDefaultValues(mod.AllDataContainers, metaFileManager, defaultEntries, actualEntries))
|
||||
return false;
|
||||
|
|
@ -138,7 +138,7 @@ public class ModMetaEditor(
|
|||
}
|
||||
|
||||
private static bool FilterDefaultValues(IEnumerable<IModDataContainer> containers, MetaFileManager metaFileManager,
|
||||
MultiDictionary<IMetaIdentifier, IModDataContainer> defaultEntries, HashSet<IMetaIdentifier> actualEntries)
|
||||
ListDictionary<IMetaIdentifier, IModDataContainer> defaultEntries, HashSet<IMetaIdentifier> actualEntries)
|
||||
{
|
||||
if (!metaFileManager.CharacterUtility.Ready)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
using Dalamud.Plugin.Services;
|
||||
using OtterGui.Classes;
|
||||
using Luna;
|
||||
using Penumbra.Api.Enums;
|
||||
using Penumbra.GameData.Data;
|
||||
using Penumbra.GameData.Files;
|
||||
|
|
@ -12,9 +12,9 @@ using Penumbra.String.Classes;
|
|||
|
||||
namespace Penumbra.Services;
|
||||
|
||||
public class ModMigrator(IDataManager gameData, TextureManager textures) : Luna.IService
|
||||
public class ModMigrator(IDataManager gameData, TextureManager textures) : IService
|
||||
{
|
||||
private sealed class FileDataDict : MultiDictionary<string, (string GamePath, IModDataContainer Container)>;
|
||||
private sealed class FileDataDict : ListDictionary<string, (string GamePath, IModDataContainer Container)>;
|
||||
|
||||
private readonly Lazy<MtrlFile> _glassReferenceMaterial = new(() =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue