mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +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);
|
return this.IsUnlockLinkUnlocked(row.UnlockLink);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <inheritdoc/>
|
||||||
|
public bool IsEmjVoiceNpcUnlocked(EmjVoiceNpc row)
|
||||||
|
{
|
||||||
|
return this.IsUnlockLinkUnlocked(row.Unknown26);
|
||||||
|
}
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public bool IsGeneralActionUnlocked(GeneralAction row)
|
public bool IsGeneralActionUnlocked(GeneralAction row)
|
||||||
{
|
{
|
||||||
|
|
@ -601,6 +607,7 @@ internal unsafe class UnlockState : IInternalDisposableService, IUnlockState
|
||||||
this.UpdateUnlocksForSheet<ChocoboTaxi>(fireEvent);
|
this.UpdateUnlocksForSheet<ChocoboTaxi>(fireEvent);
|
||||||
this.UpdateUnlocksForSheet<Companion>(fireEvent);
|
this.UpdateUnlocksForSheet<Companion>(fireEvent);
|
||||||
this.UpdateUnlocksForSheet<CraftAction>(fireEvent);
|
this.UpdateUnlocksForSheet<CraftAction>(fireEvent);
|
||||||
|
this.UpdateUnlocksForSheet<EmjVoiceNpc>(fireEvent);
|
||||||
this.UpdateUnlocksForSheet<Emote>(fireEvent);
|
this.UpdateUnlocksForSheet<Emote>(fireEvent);
|
||||||
this.UpdateUnlocksForSheet<GeneralAction>(fireEvent);
|
this.UpdateUnlocksForSheet<GeneralAction>(fireEvent);
|
||||||
this.UpdateUnlocksForSheet<Glasses>(fireEvent);
|
this.UpdateUnlocksForSheet<Glasses>(fireEvent);
|
||||||
|
|
@ -758,6 +765,9 @@ internal class UnlockStatePluginScoped : IInternalDisposableService, IUnlockStat
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public bool IsEmoteUnlocked(Emote row) => this.unlockStateService.IsEmoteUnlocked(row);
|
public bool IsEmoteUnlocked(Emote row) => this.unlockStateService.IsEmoteUnlocked(row);
|
||||||
|
|
||||||
|
/// <inheritdoc/>
|
||||||
|
public bool IsEmjVoiceNpcUnlocked(EmjVoiceNpc row) => this.unlockStateService.IsEmjVoiceNpcUnlocked(row);
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public bool IsGeneralActionUnlocked(GeneralAction row) => this.unlockStateService.IsGeneralActionUnlocked(row);
|
public bool IsGeneralActionUnlocked(GeneralAction row) => this.unlockStateService.IsGeneralActionUnlocked(row);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -150,6 +150,13 @@ public interface IUnlockState
|
||||||
/// <returns><see langword="true"/> if unlocked; otherwise, <see langword="false"/>.</returns>
|
/// <returns><see langword="true"/> if unlocked; otherwise, <see langword="false"/>.</returns>
|
||||||
bool IsEmoteUnlocked(Emote row);
|
bool IsEmoteUnlocked(Emote row);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determines whether the specified EmjVoiceNpc (Doman Mahjong Characters) is unlocked.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="row">The EmjVoiceNpc row to check.</param>
|
||||||
|
/// <returns><see langword="true"/> if unlocked; otherwise, <see langword="false"/>.</returns>
|
||||||
|
bool IsEmjVoiceNpcUnlocked(EmjVoiceNpc row);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Determines whether the specified GeneralAction is unlocked.
|
/// Determines whether the specified GeneralAction is unlocked.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue