mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 21:24:18 +01:00
23 lines
No EOL
691 B
C#
23 lines
No EOL
691 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace Penumbra.Mods;
|
|
|
|
public sealed partial class Mod
|
|
{
|
|
public SortedList< string, object? > ChangedItems { get; } = new();
|
|
public string LowerChangedItemsString { get; private set; } = string.Empty;
|
|
|
|
private void ComputeChangedItems()
|
|
{
|
|
var identifier = GameData.GameData.GetIdentifier();
|
|
ChangedItems.Clear();
|
|
foreach( var gamePath in AllRedirects )
|
|
{
|
|
identifier.Identify( ChangedItems, gamePath.ToGamePath() );
|
|
}
|
|
|
|
// TODO: manipulations
|
|
LowerChangedItemsString = string.Join( "\0", ChangedItems.Keys.Select( k => k.ToLowerInvariant() ) );
|
|
}
|
|
} |