Skip to main content
Version: 15.x (API 15) [Legacy]

Interface IUnlockState

Interface for determining unlock state of various content in the game.

Assembly: Dalamud.dll
Declaration
public interface IUnlockState : IDalamudService

Properties

IsAchievementListLoaded

Gets a value indicating whether the full Achievements list was received.

Declaration
bool IsAchievementListLoaded { get; }

IsTitleListLoaded

Gets a value indicating whether the full Titles list was received.

Declaration
bool IsTitleListLoaded { get; }

Methods

IsAchievementComplete(Achievement)

Determines whether the specified Achievement is completed.

Requires that the player requested the Achievements list (can be chcked with Dalamud.Plugin.Services.IUnlockState.IsAchievementListLoaded).

Declaration
bool IsAchievementComplete(Achievement row)
Returns

System.Boolean: true if completed; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.AchievementrowThe Achievement row to check.

IsActionUnlocked(Action)

Determines whether the specified Action is unlocked.

Declaration
bool IsActionUnlocked(Action row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.ActionrowThe Action row to check.

IsAdventureComplete(Adventure)

Determines whether the specified Adventure is completed.

Declaration
bool IsAdventureComplete(Adventure row)
Returns

System.Boolean: true if completed; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.AdventurerowThe Adventure row to check.

IsAetherCurrentCompFlgSetUnlocked(AetherCurrentCompFlgSet)

Determines whether the specified AetherCurrentCompFlgSet is unlocked.

Declaration
bool IsAetherCurrentCompFlgSetUnlocked(AetherCurrentCompFlgSet row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.AetherCurrentCompFlgSetrowThe AetherCurrentCompFlgSet row to check.

IsAetherCurrentUnlocked(AetherCurrent)

Determines whether the specified AetherCurrent is unlocked.

Declaration
bool IsAetherCurrentUnlocked(AetherCurrent row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.AetherCurrentrowThe AetherCurrent row to check.

IsAozActionUnlocked(AozAction)

Determines whether the specified AozAction (Blue Mage Action) is unlocked.

Declaration
bool IsAozActionUnlocked(AozAction row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.AozActionrowThe AozAction row to check.

IsBannerBgUnlocked(BannerBg)

Determines whether the specified BannerBg (Portrait Backgrounds) is unlocked.

Declaration
bool IsBannerBgUnlocked(BannerBg row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.BannerBgrowThe BannerBg row to check.

IsBannerConditionUnlocked(BannerCondition)

Determines whether the specified BannerCondition is unlocked.

Declaration
bool IsBannerConditionUnlocked(BannerCondition row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.BannerConditionrowThe BannerCondition row to check.

IsBannerDecorationUnlocked(BannerDecoration)

Determines whether the specified BannerDecoration (Portrait Accents) is unlocked.

Declaration
bool IsBannerDecorationUnlocked(BannerDecoration row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.BannerDecorationrowThe BannerDecoration row to check.

IsBannerFacialUnlocked(BannerFacial)

Determines whether the specified BannerFacial (Portrait Expressions) is unlocked.

Declaration
bool IsBannerFacialUnlocked(BannerFacial row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.BannerFacialrowThe BannerFacial row to check.

IsBannerFrameUnlocked(BannerFrame)

Determines whether the specified BannerFrame (Portrait Frames) is unlocked.

Declaration
bool IsBannerFrameUnlocked(BannerFrame row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.BannerFramerowThe BannerFrame row to check.

IsBannerTimelineUnlocked(BannerTimeline)

Determines whether the specified BannerTimeline (Portrait Poses) is unlocked.

Declaration
bool IsBannerTimelineUnlocked(BannerTimeline row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.BannerTimelinerowThe BannerTimeline row to check.

IsBuddyActionUnlocked(BuddyAction)

Determines whether the specified BuddyAction (Action of the players Chocobo Companion) is unlocked.

Declaration
bool IsBuddyActionUnlocked(BuddyAction row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.BuddyActionrowThe BuddyAction row to check.

IsBuddyEquipUnlocked(BuddyEquip)

Determines whether the specified BuddyEquip (Equipment of the players Chocobo Companion) is unlocked.

Declaration
bool IsBuddyEquipUnlocked(BuddyEquip row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.BuddyEquiprowThe BuddyEquip row to check.

IsCharaMakeCustomizeUnlocked(CharaMakeCustomize)

Determines whether the specified CharaMakeCustomize (Hairstyles and Face Paint patterns) is unlocked.

Declaration
bool IsCharaMakeCustomizeUnlocked(CharaMakeCustomize row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.CharaMakeCustomizerowThe CharaMakeCustomize row to check.

IsChocoboTaxiStandUnlocked(ChocoboTaxiStand)

Determines whether the specified ChocoboTaxiStand (Chocobokeeps of the Chocobo Porter service) is unlocked.

Declaration
bool IsChocoboTaxiStandUnlocked(ChocoboTaxiStand row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.ChocoboTaxiStandrowThe ChocoboTaxiStand row to check.

IsClassJobUnlocked(ClassJob)

Determines whether the specified ClassJob is unlocked.

Declaration
bool IsClassJobUnlocked(ClassJob row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.ClassJobrowThe ClassJob row to check.

IsCompanionUnlocked(Companion)

Determines whether the specified Companion (Minions) is unlocked.

Declaration
bool IsCompanionUnlocked(Companion row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.CompanionrowThe Companion row to check.

IsCraftActionUnlocked(CraftAction)

Determines whether the specified CraftAction is unlocked.

Declaration
bool IsCraftActionUnlocked(CraftAction row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.CraftActionrowThe CraftAction row to check.

IsCSBonusContentTypeUnlocked(CSBonusContentType)

Determines whether the specified CSBonusContentType is unlocked.

Declaration
bool IsCSBonusContentTypeUnlocked(CSBonusContentType row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.CSBonusContentTyperowThe CSBonusContentType row to check.

IsEmoteUnlocked(Emote)

Determines whether the specified Emote is unlocked.

Declaration
bool IsEmoteUnlocked(Emote row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.EmoterowThe Emote row to check.

IsEmjVoiceNpcUnlocked(EmjVoiceNpc)

Determines whether the specified EmjVoiceNpc (Doman Mahjong Characters) is unlocked.

Declaration
bool IsEmjVoiceNpcUnlocked(EmjVoiceNpc row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.EmjVoiceNpcrowThe EmjVoiceNpc row to check.

IsEmjCostumeUnlocked(EmjCostume)

Determines whether the specified EmjCostume (Doman Mahjong Character Costume) is unlocked.

Declaration
bool IsEmjCostumeUnlocked(EmjCostume row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.EmjCostumerowThe EmjCostume row to check.

IsGeneralActionUnlocked(GeneralAction)

Determines whether the specified GeneralAction is unlocked.

Declaration
bool IsGeneralActionUnlocked(GeneralAction row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.GeneralActionrowThe GeneralAction row to check.

IsGlassesUnlocked(Glasses)

Determines whether the specified Glasses is unlocked.

Declaration
bool IsGlassesUnlocked(Glasses row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.GlassesrowThe Glasses row to check.

IsGlassesStyleUnlocked(GlassesStyle)

Determines whether the specified GlassesStyle is unlocked.

Declaration
bool IsGlassesStyleUnlocked(GlassesStyle row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.GlassesStylerowThe GlassesStyle row to check.

IsHowToUnlocked(HowTo)

Determines whether the specified HowTo is unlocked.

Declaration
bool IsHowToUnlocked(HowTo row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.HowTorowThe HowTo row to check.

IsInstanceContentUnlocked(InstanceContent)

Determines whether the specified InstanceContent is unlocked.

Declaration
bool IsInstanceContentUnlocked(InstanceContent row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.InstanceContentrowThe InstanceContent row to check.

IsItemUnlockable(Item)

Determines whether the specified Item is considered unlockable.

Declaration
bool IsItemUnlockable(Item row)
Returns

System.Boolean: true if unlockable; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.ItemrowThe Item row to check.

IsItemUnlocked(Item)

Determines whether the specified Item is unlocked.

Declaration
bool IsItemUnlocked(Item row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.ItemrowThe Item row to check.

IsLeveCompleted(Leve)

Determines whether the specified Leve is completed.

Declaration
bool IsLeveCompleted(Leve row)
Returns

System.Boolean: true if completed; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.LeverowThe Leve row to check.

IsMcGuffinUnlocked(McGuffin)

Determines whether the specified McGuffin is unlocked.

Declaration
bool IsMcGuffinUnlocked(McGuffin row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.McGuffinrowThe McGuffin row to check.

IsMJILandmarkUnlocked(MJILandmark)

Determines whether the specified MJILandmark (Island Sanctuary landmark) is unlocked.

Declaration
bool IsMJILandmarkUnlocked(MJILandmark row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.MJILandmarkrowThe MJILandmark row to check.

IsMKDLoreUnlocked(MKDLore)

Determines whether the specified MKDLore (Occult Record) is unlocked.

Declaration
bool IsMKDLoreUnlocked(MKDLore row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.MKDLorerowThe MKDLore row to check.

IsMountUnlocked(Mount)

Determines whether the specified Mount is unlocked.

Declaration
bool IsMountUnlocked(Mount row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.MountrowThe Mount row to check.

IsNotebookDivisionUnlocked(NotebookDivision)

Determines whether the specified NotebookDivision (Categories in Crafting/Gathering Log) is unlocked.

Declaration
bool IsNotebookDivisionUnlocked(NotebookDivision row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.NotebookDivisionrowThe NotebookDivision row to check.

IsOrchestrionUnlocked(Orchestrion)

Determines whether the specified Orchestrion roll is unlocked.

Declaration
bool IsOrchestrionUnlocked(Orchestrion row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.OrchestrionrowThe Orchestrion row to check.

IsOrnamentUnlocked(Ornament)

Determines whether the specified Ornament (Fashion Accessories) is unlocked.

Declaration
bool IsOrnamentUnlocked(Ornament row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.OrnamentrowThe Ornament row to check.

IsPerformUnlocked(Perform)

Determines whether the specified Perform (Performance Instruments) is unlocked.

Declaration
bool IsPerformUnlocked(Perform row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.PerformrowThe Perform row to check.

IsPublicContentUnlocked(PublicContent)

Determines whether the specified PublicContent is unlocked.

Declaration
bool IsPublicContentUnlocked(PublicContent row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.PublicContentrowThe PublicContent row to check.

IsQuestCompleted(Quest)

Determines whether the specified Quest is completed.

Declaration
bool IsQuestCompleted(Quest row)
Returns

System.Boolean: true if completed; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.QuestrowThe Quest row to check.

IsRecipeUnlocked(Recipe)

Determines whether the specified Recipe is unlocked.

Declaration
bool IsRecipeUnlocked(Recipe row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.ReciperowThe Recipe row to check.

IsRowRefUnlocked(RowRef)

Determines whether the underlying RowRef type is unlocked.

Declaration
bool IsRowRefUnlocked(RowRef rowRef)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.RowRefrowRefThe RowRef to check.

IsRowRefUnlocked<T>(RowRef<T>)

Determines whether the underlying RowRef type is unlocked.

Declaration
bool IsRowRefUnlocked<T>(RowRef<T> rowRef) where T : struct, IExcelRow<T>
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.RowRef<<T>>rowRefThe RowRef to check.
Type Parameters
NameDescription
TThe type of the Excel row.

IsSecretRecipeBookUnlocked(SecretRecipeBook)

Determines whether the specified SecretRecipeBook (Master Recipe Books) is unlocked.

Declaration
bool IsSecretRecipeBookUnlocked(SecretRecipeBook row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.SecretRecipeBookrowThe SecretRecipeBook row to check.

IsTitleUnlocked(Title)

Determines whether the specified Title is unlocked.

Requires that the player requested the Titles list (can be chcked with Dalamud.Plugin.Services.IUnlockState.IsTitleListLoaded).

Declaration
bool IsTitleUnlocked(Title row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.TitlerowThe Title row to check.

IsTraitUnlocked(Trait)

Determines whether the specified Trait is unlocked.

Declaration
bool IsTraitUnlocked(Trait row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.TraitrowThe Trait row to check.

IsTripleTriadCardUnlocked(TripleTriadCard)

Determines whether the specified TripleTriadCard is unlocked.

Declaration
bool IsTripleTriadCardUnlocked(TripleTriadCard row)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
Lumina.Excel.Sheets.TripleTriadCardrowThe TripleTriadCard row to check.

IsUnlockLinkUnlocked(uint, byte)

Determines whether the specified unlock link is unlocked or quest is completed.

Declaration
bool IsUnlockLinkUnlocked(uint unlockLink, byte minimumQuestSequence = 0)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
System.UInt32unlockLinkThe unlock link id or quest id (quest ids in this case are over 65536).
System.ByteminimumQuestSequenceThe minimum progression (sequence) of a quest.

IsUnlockLinkUnlocked(ushort)

Determines whether the specified unlock link is unlocked.

Declaration
bool IsUnlockLinkUnlocked(ushort unlockLink)
Returns

System.Boolean: true if unlocked; otherwise, false.

Parameters
TypeNameDescription
System.UInt16unlockLinkThe unlock link id.

Events

Unlock

Event triggered when something was unlocked.

Declaration
event IUnlockState.UnlockDelegate? Unlock
Event Type

Dalamud.Plugin.Services.IUnlockState.UnlockDelegate