ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[CanChangePlayerDifficulty](https://wow.gamepedia.com/index.php?title=API_CanChangePlayerDifficulty&action=edit&redlink=1 "API CanChangePlayerDifficulty (page does not exist)")() [CanMapChangeDifficulty](https://wow.gamepedia.com/index.php?title=API_CanMapChangeDifficulty&action=edit&redlink=1 "API CanMapChangeDifficulty (page does not exist)")() - Unused in FrameXML. [CanShowResetInstances](https://wow.gamepedia.com/API_CanShowResetInstances "API CanShowResetInstances")() - Determine if player can reset instances at the moment. [GetDifficultyInfo](https://wow.gamepedia.com/API_GetDifficultyInfo "API GetDifficultyInfo")() - Returns information about a difficulty. [GetDungeonDifficultyID](https://wow.gamepedia.com/API_GetDungeonDifficultyID "API GetDungeonDifficultyID")() - Returns the player's current Dungeon Difficulty setting (1, 2, 8). [GetInstanceBootTimeRemaining](https://wow.gamepedia.com/index.php?title=API_GetInstanceBootTimeRemaining&action=edit&redlink=1 "API GetInstanceBootTimeRemaining (page does not exist)")() - Gets the time in seconds after which the player will be ejected from an instance. [GetInstanceInfo](https://wow.gamepedia.com/API_GetInstanceInfo "API GetInstanceInfo")() - Gets informations about the current Instance. [GetLegacyRaidDifficultyID](https://wow.gamepedia.com/index.php?title=API_GetLegacyRaidDifficultyID&action=edit&redlink=1 "API GetLegacyRaidDifficultyID (page does not exist)")() [GetRaidDifficultyID](https://wow.gamepedia.com/API_GetRaidDifficultyID "API GetRaidDifficultyID")() - Returns the player's current Raid Difficulty setting (1-14). [IsInInstance](https://wow.gamepedia.com/API_IsInInstance "API IsInInstance")() - Returns 1 if the player is in an instance, as well as the type of instance (pvp, raid, etc.). [IsLegacyDifficulty](https://wow.gamepedia.com/index.php?title=API_IsLegacyDifficulty&action=edit&redlink=1 "API IsLegacyDifficulty (page does not exist)")(difficultyID) [ResetInstances](https://wow.gamepedia.com/API_ResetInstances "API ResetInstances")() - Reset instances. [SetDungeonDifficultyID](https://wow.gamepedia.com/API_SetDungeonDifficultyID "API SetDungeonDifficultyID")(difficultyID) - Sets the player's Dungeon Difficulty setting (for the 5-man instances). See[difficultyID](https://wow.gamepedia.com/DifficultyID "DifficultyID"). [SetLegacyRaidDifficultyID](https://wow.gamepedia.com/index.php?title=API_SetLegacyRaidDifficultyID&action=edit&redlink=1 "API SetLegacyRaidDifficultyID (page does not exist)")(difficultyID\[, force\]) [SetRaidDifficultyID](https://wow.gamepedia.com/API_SetRaidDifficultyID "API SetRaidDifficultyID")(difficultyID) - Sets the players Raid Difficulty settings (for 10-man, 25-man instances). See[difficultyID](https://wow.gamepedia.com/DifficultyID "DifficultyID"). [ShowBossFrameWhenUninteractable](https://wow.gamepedia.com/index.php?title=API_ShowBossFrameWhenUninteractable&action=edit&redlink=1 "API ShowBossFrameWhenUninteractable (page does not exist)")("unit") These functions relate to[Instance Locks](https://wow.gamepedia.com/Raid_lockout "Raid lockout") [GetInstanceLockTimeRemainingEncounter](https://wow.gamepedia.com/API_GetInstanceLockTimeRemainingEncounter "API GetInstanceLockTimeRemainingEncounter")(id) - Returns information about bosses in the instance the player is about to be saved to. [GetInstanceLockTimeRemaining](https://wow.gamepedia.com/API_GetInstanceLockTimeRemaining "API GetInstanceLockTimeRemaining")() - Returns information about the instance lock timer for the instance the player is currently entering. [GetNumSavedInstances](https://wow.gamepedia.com/API_GetNumSavedInstances "API GetNumSavedInstances")() - Gets the number of instances for which the player currently has lockout data saved. [GetNumSavedWorldBosses](https://wow.gamepedia.com/API_GetNumSavedWorldBosses "API GetNumSavedWorldBosses")() [GetSavedInstanceChatLink](https://wow.gamepedia.com/API_GetSavedInstanceChatLink "API GetSavedInstanceChatLink")(index) [GetSavedInstanceEncounterInfo](https://wow.gamepedia.com/API_GetSavedInstanceEncounterInfo "API GetSavedInstanceEncounterInfo")(instanceIndex, encounterIndex) [GetSavedInstanceInfo](https://wow.gamepedia.com/API_GetSavedInstanceInfo "API GetSavedInstanceInfo")(index) - Gets information about an instance for which the player has saved lockout data. [GetSavedWorldBossInfo](https://wow.gamepedia.com/API_GetSavedWorldBossInfo "API GetSavedWorldBossInfo")(index) [RequestRaidInfo](https://wow.gamepedia.com/API_RequestRaidInfo "API RequestRaidInfo")() - Returns information about which instances you are saved to. [RespondInstanceLock](https://wow.gamepedia.com/index.php?title=API_RespondInstanceLock&action=edit&redlink=1 "API RespondInstanceLock (page does not exist)")() [SetSavedInstanceExtend](https://wow.gamepedia.com/index.php?title=API_SetSavedInstanceExtend&action=edit&redlink=1 "API SetSavedInstanceExtend (page does not exist)")(index, extend)