mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-18 14:44:29 +01:00
Add support for Global EQP Changes.
This commit is contained in:
parent
f9527970cb
commit
ed083f2a4c
15 changed files with 471 additions and 133 deletions
|
|
@ -8,6 +8,7 @@ using Penumbra.String.Classes;
|
|||
using Penumbra.Collections.Cache;
|
||||
using Penumbra.Interop.Services;
|
||||
using Penumbra.Mods.Editor;
|
||||
using Penumbra.GameData.Structs;
|
||||
|
||||
namespace Penumbra.Collections;
|
||||
|
||||
|
|
@ -114,4 +115,7 @@ public partial class ModCollection
|
|||
public MetaList.MetaReverter TemporarilySetEstFile(CharacterUtility utility, EstManipulation.EstType type)
|
||||
=> _cache?.Meta.TemporarilySetEstFile(type)
|
||||
?? utility.TemporarilyResetResource((MetaIndex)type);
|
||||
|
||||
public unsafe EqpEntry ApplyGlobalEqp(EqpEntry baseEntry, CharacterArmor* armor)
|
||||
=> _cache?.Meta.ApplyGlobalEqp(baseEntry, armor) ?? baseEntry;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue