mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-30 12:23:42 +01:00
Update API 9 and add data to items.
This commit is contained in:
parent
c98ed04bf3
commit
cb0da11529
62 changed files with 524 additions and 268 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using Dalamud.Hooking;
|
||||
using Dalamud.Plugin.Services;
|
||||
using Dalamud.Utility.Signatures;
|
||||
using Glamourer.Events;
|
||||
using Glamourer.Interop.Structs;
|
||||
|
|
@ -12,10 +13,10 @@ public unsafe class UpdateSlotService : IDisposable
|
|||
{
|
||||
public readonly SlotUpdating SlotUpdatingEvent;
|
||||
|
||||
public UpdateSlotService(SlotUpdating slotUpdating)
|
||||
public UpdateSlotService(SlotUpdating slotUpdating, IGameInteropProvider interop)
|
||||
{
|
||||
SlotUpdatingEvent = slotUpdating;
|
||||
SignatureHelper.Initialise(this);
|
||||
interop.InitializeFromAttributes(this);
|
||||
_flagSlotForUpdateHook.Enable();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue