mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-22 07:47:48 +01:00
Use DataShare in ObjectIdentifier
This commit is contained in:
parent
52b2b66cd7
commit
ef3ffb5f10
17 changed files with 4138 additions and 573 deletions
|
|
@ -1,6 +1,5 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Penumbra.GameData.Util;
|
||||
|
||||
namespace Penumbra.Mods;
|
||||
|
||||
|
|
@ -11,11 +10,10 @@ public sealed partial class Mod
|
|||
|
||||
private void ComputeChangedItems()
|
||||
{
|
||||
var identifier = GameData.GameData.GetIdentifier();
|
||||
ChangedItems.Clear();
|
||||
foreach( var gamePath in AllRedirects )
|
||||
{
|
||||
identifier.Identify( ChangedItems, new GamePath(gamePath.ToString()) );
|
||||
Penumbra.Identifier.Identify( ChangedItems, gamePath.ToString() );
|
||||
}
|
||||
|
||||
// TODO: manipulations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue