mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 20:33:40 +01:00
Add support for EmjVoiceNpc rows
This commit is contained in:
parent
880add5ab3
commit
a06c0e3ed2
2 changed files with 17 additions and 0 deletions
|
|
@ -205,6 +205,12 @@ internal unsafe class UnlockState : IInternalDisposableService, IUnlockState
|
|||
return this.IsUnlockLinkUnlocked(row.UnlockLink);
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public bool IsEmjVoiceNpcUnlocked(EmjVoiceNpc row)
|
||||
{
|
||||
return this.IsUnlockLinkUnlocked(row.Unknown26);
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public bool IsGeneralActionUnlocked(GeneralAction row)
|
||||
{
|
||||
|
|
@ -601,6 +607,7 @@ internal unsafe class UnlockState : IInternalDisposableService, IUnlockState
|
|||
this.UpdateUnlocksForSheet<ChocoboTaxi>(fireEvent);
|
||||
this.UpdateUnlocksForSheet<Companion>(fireEvent);
|
||||
this.UpdateUnlocksForSheet<CraftAction>(fireEvent);
|
||||
this.UpdateUnlocksForSheet<EmjVoiceNpc>(fireEvent);
|
||||
this.UpdateUnlocksForSheet<Emote>(fireEvent);
|
||||
this.UpdateUnlocksForSheet<GeneralAction>(fireEvent);
|
||||
this.UpdateUnlocksForSheet<Glasses>(fireEvent);
|
||||
|
|
@ -758,6 +765,9 @@ internal class UnlockStatePluginScoped : IInternalDisposableService, IUnlockStat
|
|||
/// <inheritdoc/>
|
||||
public bool IsEmoteUnlocked(Emote row) => this.unlockStateService.IsEmoteUnlocked(row);
|
||||
|
||||
/// <inheritdoc/>
|
||||
public bool IsEmjVoiceNpcUnlocked(EmjVoiceNpc row) => this.unlockStateService.IsEmjVoiceNpcUnlocked(row);
|
||||
|
||||
/// <inheritdoc/>
|
||||
public bool IsGeneralActionUnlocked(GeneralAction row) => this.unlockStateService.IsGeneralActionUnlocked(row);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue