Achievement functions

AddTrackedAchievement - Adds an achievement to the objectives tracker UI
CanShowAchievementUI - Returns whether the Achievements UI should be enabled
ClearAchievementComparisonUnit - Disables comparing achievements/statistics with another player
GetAchievementCategory - Returns the numeric ID of the category to which an achievement belongs
GetAchievementComparisonInfo - Returns information about the comparison unit's achievements
GetAchievementCriteriaInfo - Gets information about criteria for an achievement or data for a statistic
GetAchievementInfo - Gets information about an achievement or statistic
GetAchievementInfoFromCriteria - Gets information about an achievement or statistic given a criterion ID
GetAchievementLink - Returns a hyperlink representing the player's progress on an achievement
GetAchievementNumCriteria - Returns the number of measured criteria for an achievement
GetAchievementNumRewards - Returns the number of point rewards for an achievement (currently always 1)
GetAchievementReward - Returns the number of achievement points awarded for earning an achievement
GetCategoryInfo - Returns information about an achievement/statistic category
GetCategoryList - Returns a list of all achievement categories
GetCategoryNumAchievements - Returns the number of achievements/statistics to display in a category
GetComparisonAchievementPoints - Returns the comparison unit's total achievement points earned
GetComparisonCategoryNumAchievements - Returns the number of achievements completed by the comparison unit within a category
GetComparisonStatistic - Returns the comparison unit's data for a statistic
GetLatestCompletedAchievements - Returns a list of the player's most recently earned achievements
GetLatestCompletedComparisonAchievements - Returns a list of the comparison unit's most recently earned achievements
GetLatestUpdatedComparisonStats - Returns a list of the comparison unit's latest updated statisticsdeprecated
GetLatestUpdatedStats - Returns a list of the player's latest updated statisticsdeprecated
GetNextAchievement - Returns the next achievement for an achievement which is part of a series
GetNumComparisonCompletedAchievements - Returns the number of achievements earned by the comparison unit
GetNumCompletedAchievements - Returns the number of achievements earned by the player
GetNumTrackedAchievements - Returns the number of achievements flagged for display in the objectives tracker UI
GetPreviousAchievement - Returns the previous achievement for an achievement which is part of a series
GetStatistic - Returns data for a statistic
GetStatisticsCategoryList - Returns a list of all statistic categories
GetTotalAchievementPoints - Returns the player's total achievement points earned
GetTrackedAchievements - Returns numeric IDs of the achievements flagged for display in the objectives tracker UI
IsTrackedAchievement - Returns whether an achievement is flagged for display in the objectives tracker UI
RemoveTrackedAchievement - Removes an achievement from the objectives tracker UI
SetAchievementComparisonUnit - Enables comparing achievements/statistics with another player
Action functions

ActionHasRange - Returns whether an action has a range restriction
CastPetAction - Casts a pet action on a specific targetprotected
GetActionAutocast - Returns information about autocast actionsdeprecated
GetActionCooldown - Returns cooldown information about an action
GetActionCount - Returns the number of uses remaining for the given action slot
GetActionInfo - Returns information about an action slot
GetActionText - Returns the text label associated with an action
GetActionTexture - Returns the icon texture for an action
GetPetActionCooldown - Returns cooldown information about a given pet action slot
GetPetActionInfo - Returns information about a pet action
GetPetActionSlotUsable - Returns whether a pet action can be used
GetPetActionsUsable - Returns whether the pet's actions are usable
HasAction - Returns whether an action slot contains an action
IsActionInRange - Returns whether the player's target is in range of an action
IsAttackAction - Returns whether an action is the standard melee Attack action
IsAutoRepeatAction - Returns whether an action is an automatically repeating action
IsConsumableAction - Returns whether using an action consumes an item
IsCurrentAction - Returns whether an action is currently being used
IsEquippedAction - Returns whether an action contains an equipped item
IsStackableAction - Returns whether an action uses stackable items
IsUsableAction - Returns whether an action is usable
PickupAction - Puts the contents of an action bar slot onto the cursor or the cursor contents into an action bar slotnocombat
PickupPetAction - Puts the contents of a pet action slot onto the cursor or the cursor contents into a pet action slot
PlaceAction - Puts the contents of the cursor into an action bar slotnocombat
TogglePetAutocast - Turns autocast on or off for a pet actionprotected
UseAction - Uses an actionprotected
ActionBar functions

ChangeActionBarPage - Changes the current action bar pagenocombat
GetActionBarPage - Returns the current action bar page
GetActionBarToggles - Returns the current visibility settings for the four secondary action bars
GetBonusBarOffset - Returns the current "stance" offset for use with the bonus action bar
GetPossessInfo - Returns information about special actions available while the player possesses another unit
IsPossessBarVisible - Returns whether a special action bar should be shown while the player possesses another unit
SetActionBarToggles - Configures display of additional ActionBars in the default UI
Addon-related functions

DisableAddOn - Marks an addon as disabled
DisableAllAddOns - Marks all addons as disabled
EnableAddOn - Marks an addon as enabled
EnableAllAddOns - Marks all addons as enabled
GetAddOnDependencies - Returns a list of addons a given addon is dependent upon
GetAddOnInfo - Returns information about an addon
GetAddOnMetadata - Returns the value of certain fields in an addon's TOC file
GetNumAddOns - Returns the number of addons in the addon listing
InterfaceOptionsFrame_OpenToCategory - Opens the Interface Options window and displays a given panel within itblizzardui
InterfaceOptions_AddCategory - Registers a panel to be displayed in the Interface Options windowblizzardui
IsAddOnLoadOnDemand - Returns whether an addon can be loaded without restarting the UI
IsAddOnLoaded - Returns whether an addon is currently loaded
LoadAddOn - Loads a LoadOnDemand-capable addon
ResetDisabledAddOns - Reverts changes to the enabled/disabled state of addons
SendAddonMessage - Sends a chat-like message receivable by other addons
Arena functions

AcceptArenaTeam - Accepts an invitation to join an arena team
ArenaTeamDisband - Disbands an arena team
ArenaTeamInviteByName - Invites a character to one of the player's arena teams
ArenaTeamLeave - Leaves an arena teamconfirmation
ArenaTeamRoster - Requests arena team roster information from the server
ArenaTeamSetLeaderByName - Promotes an arena team member to team captainconfirmation
ArenaTeamUninviteByName - Removes a member from an arena teamconfirmation
ArenaTeam_GetTeamSizeID - Converts an arena team size to the appropriate numeric arena team identifier
CloseArenaTeamRoster - Ends interaction with the Arena Team Roster
DeclineArenaTeam - Declines an arena team invitation
GetArenaCurrency - Returns the player's amount of arena points
GetArenaTeam - Returns information about one of the player's arena teams
GetArenaTeamGdfInfo - This is a Blizzard internal functioninternal
GetArenaTeamRosterInfo - Returns information about an arena team member
GetArenaTeamRosterSelection - Returns the currently selected member in an arena team roster
GetArenaTeamRosterShowOffline - Returns whether arena team roster listings should include offline membersdeprecated
GetCurrentArenaSeason - Returns a number identifying the current arena season
GetMaxArenaCurrency - Returns the maximum amount of arena points the player can accrue
GetNumArenaOpponents - Returns the number of enemy players in an arena match
GetNumArenaTeamMembers - Returns the number of members in an arena team
GetPreviousArenaSeason - Returns a number identifying the previous arena season
IsActiveBattlefieldArena - Returns whether the player is currently in an arena match
IsArenaTeamCaptain - Returns whether the player is the captain of an arena team
IsBattlefieldArena - Returns whether the player is interacting with an entity that allows queueing for arena matches
IsInArenaTeam - Returns whether the player is on an arena team
SetArenaTeamRosterSelection - Selects a member in an arena team roster
SetArenaTeamRosterShowOffline - Enables or disables the inclusion of offline members in arena team roster listingsdeprecated
SortArenaTeamRoster - Sorts the selected arena team's roster
TurnInArenaPetition - Turns in a petition creating an arena team
Auction functions

CalculateAuctionDeposit - Returns the deposit amount for the item currently being set up for auction
CanCancelAuction - Returns whether one of the player's auctions can be canceled
CanSendAuctionQuery - Returns whether the player can perform an auction house query
CancelAuction - Cancels an auction created by the playerconfirmation
ClickAuctionSellItemButton - Picks up an item from or puts an item into the "Create Auction" slot
CloseAuctionHouse - Ends interaction with the Auction House UI
GetAuctionHouseDepositRate - Returns the deposit rate for the current auction housedeprecated
GetAuctionInvTypes - Returns a list of the inventory subtypes for a given auction house item subclass
GetAuctionItemClasses - Returns a list of localized item class (category) names
GetAuctionItemInfo - Returns information about an auction listing
GetAuctionItemLink - Returns a hyperlink for an item in an auction listing
GetAuctionItemSubClasses - Returns a list of localized subclass names for a given item class
GetAuctionItemTimeLeft - Returns the time remaining before an auction listing expires
GetAuctionSellItemInfo - Returns information about the item currently being set up for auction
GetAuctionSort - Returns the current sort settings for auction data
GetBidderAuctionItems - Requests data from the server for the list of auctions bid on by the player
GetInboxInvoiceInfo - Returns auction house invoice information for a mail message
GetNumAuctionItems - Returns the number of auction items in a listing
GetOwnerAuctionItems - Requests data from the server for the list of auctions created by the player
GetSelectedAuctionItem - Returns the index of the currently selected item in an auction listing
IsAuctionSortReversed - Returns whether a sort criterion is applied in reverse orderdeprecated
PlaceAuctionBid - Places a bid on (or buys out) an auction itemconfirmation
QueryAuctionItems - Requests data from the server for the list of auctions meeting given search criteria
SetSelectedAuctionItem - Selects an item in an auction listing
SortAuctionApplySort - Applies a set of auction listing sort criteria set via [[docs/api/SortAuctionSetSort|`SortAuctionSetSort`]]
SortAuctionClearSort - Clears any current sorting rules for an auction house listing
SortAuctionItems - Sorts the auction house listingdeprecated
SortAuctionSetSort - Builds a list of sort criteria for auction listings
StartAuction - Creates an auction for the item currently in the "auction item" slot
Bank functions

BankButtonIDToInvSlotID - Returns the [[docs/api_types#inventoryID|`inventoryID`]] corresponding to a bank item or bag slot
CloseBankFrame - Ends interaction with the bank
EquipmentManager_UnpackLocation - Unpacks an inventory location bitfield into usable components
GetBankSlotCost - Returns the cost of the next purchasable bank bag slot
GetNumBankSlots - Returns information about purchased bank bag slots
PurchaseSlot - Purchases the next available bank slotconfirmation
Barbershop functions

ApplyBarberShopStyle - Purchases the selected barber shop style changes
BarberShopReset - Resets barber shop options to the currently worn styles
CanAlterSkin - Lets you check if the player can change their skin color
CancelBarberShop - Exits a barber shop session
GetBarberShopStyleInfo - Returns information about the selected barber shop style option
GetBarberShopTotalCost - Returns the total price of selected barber shop style changes
GetFacialHairCustomization - Returns a token used for displaying facial feature customization options
GetHairCustomization - Returns a token used for displaying "hair" customization options
SetNextBarberShopStyle - Selects the next style for a barber shop style option
Battlefield functions

AcceptAreaSpiritHeal - Accepts the next upcoming periodic resurrection from a battleground spirit healer
AcceptBattlefieldPort - Accepts the offered teleport to a battleground/arena or leaves the battleground/arena or queuehardware
CanJoinBattlefieldAsGroup - Returns whether the battleground for which the player is queueing supports joining as a group
CancelAreaSpiritHeal - Declines the next upcoming periodic resurrection from a battleground spirit healer
CloseBattlefield - Ends interaction with the battleground queueing UI
GetAreaSpiritHealerTime - Returns the time remaining until a nearby battleground spirit healer resurrects all players in its area
GetBattlefieldArenaFaction - This function is deprecated and should no longer be useddeprecated
GetBattlefieldEstimatedWaitTime - Returns the estimated wait time on a battleground or arena queue
GetBattlefieldFlagPosition - Returns the position of a flag in a battleground
GetBattlefieldInfo - Returns information about a battleground for which the player can queue
GetBattlefieldInstanceExpiration - Returns the amount of time remaining before all players are removed from the instance, if in a battleground instance where the match has completed
GetBattlefieldInstanceInfo - Returns a numeric ID for a battleground instance in the battleground queueing list
GetBattlefieldInstanceRunTime - Returns the amount of time since the current battleground instance opened
GetBattlefieldMapIconScale - Returns the scale to be used for displaying battleground map icons
GetBattlefieldPortExpiration - Returns the time left on a battleground or arena invitation
GetBattlefieldPosition - Returns the position of a battleground team member not in the player's group
GetBattlefieldScore - Returns basic scoreboard information for a battleground/arena participant
GetBattlefieldStatData - Returns battleground-specific scoreboard information for a battleground participant
GetBattlefieldStatInfo - Returns information about a battleground-specific scoreboard column
GetBattlefieldStatus - Returns information about an active or queued battleground/arena instance
GetBattlefieldTeamInfo - Returns info about teams and their ratings in a rated arena match.
GetBattlefieldTimeWaited - Returns the amount of time elapsed since the player joined the queue for a battleground/arena
GetBattlefieldVehicleInfo - Returns information about special vehicles in the current zone
GetBattlefieldWinner - Returns the winner of the current battleground or arena match
GetBattlegroundInfo - Returns information about available battlegrounds
GetNumBattlefieldFlagPositions - Returns the number of battleground flags for which map position information is available
GetNumBattlefieldPositions - Returns the number of team members in the battleground not in the player's group
GetNumBattlefieldScores - Returns the number of participant scores available in the current battleground
GetNumBattlefieldStats - Returns the number of battleground-specific statistics on the current battleground's scoreboard
GetNumBattlefieldVehicles - Returns the number of special vehicles in the current zone
GetNumBattlefields - Returns the number of instances available for a battleground
GetNumBattlegroundTypes - Returns the number of different battlegrounds available
GetRealNumPartyMembers - Returns the number of members in the player's non-battleground party
GetRealNumRaidMembers - Returns the number of members in the player's non-battleground raid
GetSelectedBattlefield - Returns the index of the selected battleground instance in the queueing list
IsActiveBattlefieldArena - Returns whether the player is currently in an arena match
IsBattlefieldArena - Returns whether the player is interacting with an entity that allows queueing for arena matches
IsRealPartyLeader - Returns whether the player is the leader of a non-battleground party
IsRealRaidLeader - Returns whether the player is the leader of a non-battleground raid
JoinBattlefield - Joins the queue for a battleground instance
LeaveBattlefield - Immediately exits the current battleground instance
PlayerIsPVPInactive - Returns whether a battleground participant is inactive (and eligible for reporting as AFK)
ReportPlayerIsPVPAFK - Reports a battleground participant as AFK
RequestBattlefieldPositions - Requests information from the server about team member positions in the current battleground
RequestBattlefieldScoreData - Requests battlefield score data from the server
RequestBattlegroundInstanceInfo - Requests information about available instances of a battleground from the server
SetBattlefieldScoreFaction - Filters the battleground scoreboard by faction/team
SetSelectedBattlefield - Selects a battleground instance in the queueing list
ShowBattlefieldList - Requests to change instances for a battleground to which the player is already queued
ShowMiniWorldMapArrowFrame - Shows or hides the battlefield minimap's player arrow
SortBattlefieldScoreData - Sorts the battleground scoreboard
UnitInBattleground - Returns whether a unit is in same battleground instance as the player
Blizzard internal functions

AppendToFile - This is a Blizzard internal functioninternal
CreateMiniWorldMapArrowFrame - This is a Blizzard internal functioninternal
CreateWorldMapArrowFrame - This is a Blizzard internal functioninternal
DeleteFile - This is a Blizzard internal functioninternal
DetectWowMouse - Detects the presence of a "WoW" compatible multi-button mouse
GMRequestPlayerInfo - This is a Blizzard internal functioninternal
GetDebugStats - This is a Blizzard internal functioninternal
GetDebugZoneMap - This is a Blizzard internal functioninternal
GetGMStatus - This is a Blizzard internal functioninternal
GetMapDebugObjectInfo - This is a Blizzard internal functioninternal
GetNumMapDebugObjects - This is a Blizzard internal functioninternal
GetTexLodBias - This is a Blizzard internal functioninternal
HasDebugZoneMap - This is a Blizzard internal functioninternal
IsDebugBuild - This is a Blizzard internal functioninternal
PlayDance - This is a Blizzard internal functioninternal
PositionMiniWorldMapArrowFrame - This is a Blizzard internal functioninternal
PositionWorldMapArrowFrame - This is a Blizzard internal functioninternal
ReadFile - This is a Blizzard internal functioninternal
ResetPerformanceValues - This is a Blizzard internal functioninternal
SetChannelWatch - This is a Blizzard internal functioninternal
SetConsoleKey - This is a Blizzard internal functioninternal
SetLayoutMode - This is a Blizzard internal functioninternal
ShowWorldMapArrowFrame - This is a Blizzard internal functioninternal
TargetDirectionEnemy - This is a Blizzard internal functioninternalprotected
TargetDirectionFinished - This is a Blizzard internal functioninternalprotected
TargetDirectionFriend - This is a Blizzard internal functioninternalprotected
TeleportToDebugObject - This is a Blizzard internal functioninternal
ToggleCollision - This is a Blizzard internal functioninternal
ToggleCollisionDisplay - This is a Blizzard internal functioninternal
TogglePerformanceDisplay - This is a Blizzard internal functioninternal
TogglePerformancePause - This is a Blizzard internal functioninternal
TogglePerformanceValues - This is a Blizzard internal functioninternal
TogglePlayerBounds - This is a Blizzard internal functioninternal
TogglePortals - This is a Blizzard internal functioninternal
ToggleTris - This is a Blizzard internal functioninternal
UpdateWorldMapArrowFrames - This is a Blizzard internal functioninternal
debugbreak - This is a Blizzard internal functioninternal
debugdump - This is a Blizzard internal functioninternal
debuginfo - This is a Blizzard internal functioninternal
debugload - This is a Blizzard internal functioninternal
debugprint - This is a Blizzard internal functioninternal
debugtimestamp - This is a Blizzard internal functioninternal
newproxy - Creates a zero-length userdata with an optional metatable.luaapi
Buff functions

CancelItemTempEnchantment - Cancels a temporary weapon enchant
CancelShapeshiftForm - Cancels the current shapeshift form
CancelUnitBuff - Cancels a buff on the player
GetWeaponEnchantInfo - Returns information about temporary enchantments on the player's weapons
UnitAura - Returns information about buffs/debuffs on a unit
UnitBuff - Returns information about a buff on a unit
UnitDebuff - Returns information about a debuff on a unit
CVar functions

GetCVar - Returns the value of a configuration variable
GetCVarAbsoluteMax - Returns the absolute maximum value allowed for a configuration variable
GetCVarAbsoluteMin - Returns the absolute minimum value allowed for a configuration variable
GetCVarBool - Returns the value of a configuration variable in a format compatible with Lua conditional expressions
GetCVarDefault - Returns the default value of a configuration variable
GetCVarInfo - Returns information about a configuration variable
GetCVarMax - Returns the maximum recommended value for a configuration variable
GetCVarMin - Returns the minimum recommended value for a configuration variable
RegisterCVar - Registers a configuration variable to be saved
SetCVar - Sets the value of a configuration variable
Calendar functions

CalendarAddEvent - Saves the event recently created (and selected for editing) to the calendar
CalendarCanAddEvent - Returns whether the player can add an event to the calendar
CalendarCanSendInvite - Returns whether the player can invite others to a calendar event
CalendarCloseEvent - Deselects (ends viewing/editing on) an event
CalendarContextDeselectEvent - Clears the event selection used only for `CalendarContext` functions
CalendarContextEventCanComplain - Returns whether the player can report an event invitation as spam
CalendarContextEventCanEdit - Returns whether the player can edit an event
CalendarContextEventClipboard - Returns whether the player can paste an event
CalendarContextEventComplain - Reports an event invitation as spam
CalendarContextEventCopy - Copies an event for later pasting
CalendarContextEventGetCalendarType - Returns the type of a calendar event
CalendarContextEventPaste - Pastes a copied event into a given date
CalendarContextEventRemove - Deletes an event from the calendarconfirmation
CalendarContextEventSignUp - Signs the player up for a guild event
CalendarContextGetEventIndex - Returns the month, day, and index of the event selection used only for `CalendarContext` functions
CalendarContextInviteAvailable - Accepts an event invitation
CalendarContextInviteDecline - Declines an event invitation
CalendarContextInviteIsPending - Returns whether the player has been invited to an event and not yet responded
CalendarContextInviteModeratorStatus - Returns the player's moderator status for an event
CalendarContextInviteRemove - Removes an invitation from the player's calendar or removes the player from a guild event's signup list
CalendarContextInviteStatus - Returns the player's invite status for an event
CalendarContextInviteType - Returns the invite type for an event
CalendarContextSelectEvent - Selects an event for use only with other `CalendarContext` functions
CalendarDefaultGuildFilter - Returns default options for the guild member Mass Invite filter
CalendarEventAvailable - Accepts invitation to the selected calendar event
CalendarEventCanEdit - Returns whether the player can edit the selected calendar event
CalendarEventCanModerate - Returns whether an event invitee can be granted moderator authority
CalendarEventClearAutoApprove - Disables the auto-approve feature (currently unused) for the selected calendar event
CalendarEventClearLocked - Unlocks the selected calendar event
CalendarEventClearModerator - Removes moderator status from a character on the selected event's invite/signup list
CalendarEventDecline - Declines invitation to the selected calendar event
CalendarEventGetCalendarType - Returns the type of the selected calendar event
CalendarEventGetInvite - Returns information about an entry in the selected event's invite/signup list
CalendarEventGetInviteResponseTime - Returns the time at which a character on the selected event's invite/signup list responded
CalendarEventGetInviteSortCriterion - Returns the current sort mode for the event invite/signup list
CalendarEventGetNumInvites - Returns the number of characters on the selected calendar event's invite/signup list
CalendarEventGetRepeatOptions - Returns a list of localized event repetition option labels (currently unused)
CalendarEventGetSelectedInvite - Returns the index of the selected entry on the selected event's invite/signup list
CalendarEventGetStatusOptions - Returns a list of localized invite status labels
CalendarEventGetTextures - Returns a list of instance names and icons for dungeon or raid events
CalendarEventGetTypes - Returns a list of event display style labels
CalendarEventHasPendingInvite - Returns whether the player has been invited to the selected event and not yet responded
CalendarEventHaveSettingsChanged - Returns whether the selected event has unsaved changes
CalendarEventInvite - Attempts to invite a character to the selected event
CalendarEventIsModerator - Returns whether the player has moderator status for the selected calendar event
CalendarEventRemoveInvite - Removes a character from the selected event's invite/signup list
CalendarEventSelectInvite - Selects an entry in the selected event's invite/signup list
CalendarEventSetAutoApprove - Enables the auto-approve feature (currently unused) for the selected calendar event
CalendarEventSetDate - Changes the scheduled date of the selected calendar event
CalendarEventSetDescription - Changes the descriptive text for the selected event
CalendarEventSetLocked - Locks the selected calendar event
CalendarEventSetLockoutDate - Changes the lockout date associated with the selected event (currently unused)
CalendarEventSetLockoutTime - Changes the lockout time associated with the selected event (currently unused)
CalendarEventSetModerator - Grants moderator status to a character on the selected event's invite/signup list
CalendarEventSetRepeatOption - Changes the repetition option for the selected event (currently unused)
CalendarEventSetSize - Changes the maximum number of invites/signups for the selected event (currently unused)
CalendarEventSetStatus - Sets the status of a character on the selected event's invite/signup list
CalendarEventSetTextureID - Changes the raid or dungeon instance for the selected event
CalendarEventSetTime - Changes the scheduled time of the selected event
CalendarEventSetTitle - Changes the title for the selected event
CalendarEventSetType - Changes the display type of the selected event
CalendarEventSignUp - Signs the player up for the selected calendar event
CalendarEventSortInvites - Sorts the event invite/signup list
CalendarGetAbsMonth - Returns date information for a given month and year
CalendarGetDate - Returns the current date (in the server's time zone)
CalendarGetDayEvent - Returns information about a calendar event on a given day
CalendarGetEventIndex - Returns the month, day, and index of the selected calendar event
CalendarGetEventInfo - Returns information about the selected calendar event (for player/guild events)
CalendarGetFirstPendingInvite - Returns the index of the first invitation on a given day to which the player has not responded
CalendarGetHolidayInfo - Returns additional information about a holiday event
CalendarGetMaxCreateDate - Returns the latest date for which events may be scheduled
CalendarGetMaxDate - Returns the latest date usable in the calendar system
CalendarGetMinDate - Returns the earliest date usable in the calendar system
CalendarGetMinHistoryDate - Returns the earliest date for which information about past player events is available
CalendarGetMonth - Returns information about a calendar month
CalendarGetMonthNames - Returns a list of localized month names
CalendarGetNumDayEvents - Returns the number of calendar events on a given day
CalendarGetNumPendingInvites - Returns the number of calendar invitations to which the player has yet to respond
CalendarGetRaidInfo - Returns information about a raid lockout or scheduled raid reset event
CalendarGetWeekdayNames - Returns a list of localized weekday names
CalendarIsActionPending - Returns whether an update to calendar information is in progress
CalendarMassInviteArenaTeam - Repopulates the current event's invite list with members of one of the player's arena teams
CalendarMassInviteGuild - Repopulates the selected event's invite list with members of the player's guild
CalendarNewEvent - Creates a new event and selects it for viewing/editing
CalendarNewGuildAnnouncement - Creates a new guild announcement and selects it for viewing/editing
CalendarNewGuildEvent - Creates a new guild event and selects it for viewing/editing
CalendarOpenEvent - Selects a calendar event for viewing/editing
CalendarRemoveEvent - Removes the selected event invitation from the player's calendar or removes the player from the selected guild event's signup list
CalendarSetAbsMonth - Set's the calendar's month to an absolute date
CalendarSetMonth - Sets the calendar's month relative to its current month
CalendarUpdateEvent - Saves changes made to the selected event
CanEditGuildEvent - Returns whether the player is allowed to edit guild-wide calendar events
OpenCalendar - Queries the server for calendar status information
Camera functions

CameraOrSelectOrMoveStart - Begins camera movement or selection (equivalent to left-clicking in the 3-D world)protected
CameraOrSelectOrMoveStop - Ends action initiated by [[docs/api/CameraOrSelectOrMoveStart|`CameraOrSelectOrMoveStart`]]protected
CameraZoomIn - Zooms the camera in by a specified distance
CameraZoomOut - Zooms the camera out by a specified distance
FlipCameraYaw - Rotates the camera around the player
IsMouselooking - Returns whether mouselook mode is active
MouselookStart - Enables mouselook mode, in which cursor movement rotates the camera
MouselookStop - Disables mouselook mode
MoveViewDownStart - Begins orbiting the camera downward (to look upward)
MoveViewDownStop - Ends camera movement initiated by [[docs/api/MoveViewDownStart|`MoveViewDownStart`]]
MoveViewInStart - Begins zooming the camera inward (towards/through the player character)
MoveViewInStop - Ends camera movement initiated by [[docs/api/MoveViewInStart|`MoveViewInStart`]]
MoveViewLeftStart - Begins orbiting the camera around the player character to the left
MoveViewLeftStop - Ends camera movement initiated by [[docs/api/MoveViewLeftStart|`MoveViewLeftStart`]]
MoveViewOutStart - Begins zooming the camera outward (away from the player character)
MoveViewOutStop - Ends camera movement initiated by [[docs/api/MoveViewOutStart|`MoveViewOutStart`]]
MoveViewRightStart - Begins orbiting the camera around the player character to the right
MoveViewRightStop - Ends camera movement initiated by [[docs/api/MoveViewRightStart|`MoveViewRightStart`]]
MoveViewUpStart - Begins orbiting the camera upward (to look down)
MoveViewUpStop - Ends camera movement initiated by [[docs/api/MoveViewUpStart|`MoveViewUpStart`]]
NextView - Moves the camera to the next predefined setting
PrevView - Moves the camera to the previous predefined setting
ResetView - Resets a saved camera setting to default values
SaveView - Saves the current camera settings
SetView - Moves the camera to a saved camera setting
Channel functions

AddChatWindowChannel - Adds a chat channel to the saved list of those displayed in a chat window
ChannelBan - Bans a character from a chat channel
ChannelInvite - Invites a character to join a chat channel
ChannelKick - Removes a player from the channel
ChannelModerator - Grants a character moderator status in a chat channel
ChannelMute - Grants a character ability to speak in a moderated chat channel
ChannelSilenceAll - Silences a character for chat and voice on a channel
ChannelSilenceVoice - Silences the given character for voice chat on the channel
ChannelToggleAnnouncements - Enables or disables printing of join/leave announcements for a channel
ChannelUnSilenceAll - Unsilences a character for chat and voice on a channel
ChannelUnSilenceVoice - Unsilences a character on a chat channel
ChannelUnban - Lifts the ban preventing a character from joining a chat channel
ChannelUnmoderator - Revokes moderator status from a character on a chat channel
ChannelUnmute - Removes a character's ability to speak in a moderated chat channel
ChannelVoiceOff - Disables voice chat in a channel
ChannelVoiceOn - Enables voice chat in a channel
ClearChannelWatch - This function is deprecated and should no longer be useddeprecated
CollapseChannelHeader - Collapses a group header in the chat channel listing
DeclineInvite - Declines an invitation to a chat channel
DisplayChannelOwner - Requests information from the server about a channel's owner
DisplayChannelVoiceOff - Disables voice in a channel specified by its position in the channel list display
DisplayChannelVoiceOn - Enables voice in a channel specified by its position in the channel list display
EnumerateServerChannels - Returns the available server channel names
ExpandChannelHeader - Expands a group header in the chat channel listing
GetActiveVoiceChannel - Returns the currently active voice channel
GetChannelDisplayInfo - Returns information about an entry in the channel list display
GetChannelList - Returns the list of the channels the player has joined
GetChannelName - Returns information about a chat channel
GetChannelRosterInfo - Returns information about a character in a chat channel in the channel list display
GetChatWindowChannels - Returns the saved list of channels to which a chat window is subscribed
GetNumChannelMembers - Returns the number of members in a chat channel
GetNumDisplayChannels - Returns the number of entries in the channel list display
GetSelectedDisplayChannel - Returns the selected channel in the channel list display
IsDisplayChannelModerator - Returns whether the player is a moderator of the selected channel in the channel list display
IsDisplayChannelOwner - Returns whether the player is the owner of the selected channel in the channel list display
IsSilenced - Returns whether a character is silenced on a chat channel
JoinChannelByName - This function is deprecated and should no longer be useddeprecated
JoinPermanentChannel - Joins a channel, saving associated chat window settings
JoinTemporaryChannel - Joins a channel, but does not save associated chat window settings
LeaveChannelByName - Leaves a chat channel
ListChannelByName - Requests the list of participants in a chat channel
ListChannels - Requests a list of channels joined by the player
RemoveChatWindowChannel - Removes a channel from a chat window's list of saved channel subscriptions
SetActiveVoiceChannel - Sets the currently active voice channel
SetActiveVoiceChannelBySessionID - Sets the currently active voice chat channel
SetChannelOwner - Gives channel ownership to another character
SetChannelPassword - Sets a password on a custom chat channel
SetSelectedDisplayChannel - Selects a channel in the channel list display
SilenceMember - This function is deprecated and should no longer be useddeprecated
UnSilenceMember - This function is deprecated and should no longer be useddeprecated
Chat functions

AddChatWindowChannel - Adds a chat channel to the saved list of those displayed in a chat window
AddChatWindowMessages - Adds a message type to the saved list of those displayed in a chat window
CanComplainChat - Returns whether a chat message can be reported as spam
ChangeChatColor - Changes the color associated with a chat message type
ChatFrame_AddMessageEventFilter - Adds a function to filter or alter messages to the chat display systemblizzardui
ChatFrame_GetMessageEventFilters - Returns the list of filters registered for a chat eventblizzardui
ChatFrame_RemoveMessageEventFilter - Removes a previously set chat message filterblizzardui
ComplainChat - Reports a chat message as spam
DoEmote - Performs a preset emote (with optional target)
GetChatTypeIndex - Returns the numeric index corresponding to a chat message type
GetChatWindowChannels - Returns the saved list of channels to which a chat window is subscribed
GetChatWindowInfo - Returns the saved settings for a chat window
GetChatWindowMessages - Returns the saved list of messages to which a chat window is subscribed
GetDefaultLanguage - Returns the name of the player character's default language
GetLanguageByIndex - Returns the localized name of a player character language
GetNumLanguages - Returns the number of languages the player character can speak
LoggingChat - Enables or disables saving chat text to a file
LoggingCombat - Enables or disables saving combat log data to a file
RandomRoll - Initiates a public, server-side "dice roll"
RemoveChatWindowChannel - Removes a channel from a chat window's list of saved channel subscriptions
RemoveChatWindowMessages - Removes a message type from a chat window's list of saved message subscriptions
ResetChatColors - Removes all saved color settings for chat message types, resetting them to default values
ResetChatWindows - Removes all saved chat window settings, resetting them to default values
SendChatMessage - Sends a chat message
SetChatWindowAlpha - Saves a chat window's background opacity setting
SetChatWindowColor - Saves a chat window's background color setting
SetChatWindowDocked - Saves whether a chat window should be docked with the main chat window
SetChatWindowLocked - Saves whether a chat window is locked
SetChatWindowName - Saves a chat window's display name setting
SetChatWindowShown - Saves whether a chat window should be shown
SetChatWindowSize - Saves a chat window's font size setting
SetChatWindowUninteractable - Saves whether a chat window is marked as non-interactive
Class resource functions

DestroyTotem - Destroys a specific totem (or ghoul)
GetRuneCooldown - Returns cooldown information about one of the player's rune resources
GetRuneCount - Returns the number of available rune resources in one of the player's rune slots
GetRuneType - Returns the type of one of the player's rune resources
GetTotemInfo - Returns information on a currently active totem (or ghoul)
GetTotemTimeLeft - Returns the time remaining before a totem (or ghoul) automatically disappears
TargetTotem - Targets one of the player's totems (or a Death Knight's ghoul)protected
Client control and information functions

CancelLogout - Cancels a pending logout or quit
DownloadSettings - Restores game settings from a backup stored on the server
ForceLogout - Forces the client to logoutinternal
ForceQuit - Immediately exits World of Warcraft
GetAccountExpansionLevel - Returns the most recent of WoW's retail expansion packs for which the player's account is authorized
GetBuildInfo - Returns the version information about the client
GetExistingLocales - Returns a list of installed localization packs for the WoW client
GetGameTime - Returns the current realm (server) time
GetLocale - Returns a code indicating the localization currently in use by the client
GetNetStats - Returns information about current network connection performance
IsLinuxClient - Returns whether the player is using the Linux game client
IsMacClient - Returns whether the player is using the Mac OS X game client
IsWindowsClient - Returns whether the player is using the Windows game client
Logout - Attempts to log out and return to the character selection screen
NotWhileDeadError - Causes the default UI to display an error message indicating that actions are disallowed while the player is dead
Quit - Attempts to exit the World of Warcraft client
ReloadUI - Reloads the user interfacehardware
Screenshot - Saves an image of the current game display
SetEuropeanNumbers - Sets the decimal separator for displayed numbers
SetUIVisibility - Enables or disables display of UI elements in the 3-D world
UploadSettings - Stores a backup of game settings on the server
Combat functions

AttackTarget - Begins auto-attack against the player's current targetprotected
StartAttack - Begins auto-attack against a specified targetprotected
StopAttack - Stops auto-attack if activeprotected
UnitAffectingCombat - Returns whether a unit is currently in combat
CombatLog functions

CombatLogAddFilter - Adds a filter to the combat log system
CombatLogAdvanceEntry - Advances the "cursor" position used by other CombatLog functions
CombatLogClearEntries - Removes all entries from the combat log
CombatLogGetCurrentEntry - Returns the combat log event information for the current entry and advances to the next entry
CombatLogGetNumEntries - Returns the number of available combat log events
CombatLogGetRetentionTime - Returns the amount of time combat log entries are stored
CombatLogResetFilter - Removes any filters applied to the combat log
CombatLogSetCurrentEntry - Sets the "cursor" position used by other CombatLog functions
CombatLogSetRetentionTime - Sets the amount of time combat log entries will be stored
CombatLog_Object_IsA - Returns whether an entity from the combat log matches a given filter
LoggingCombat - Enables or disables saving combat log data to a file
UnitGUID - Returns a unit's globally unique identifier
Commentator functions

CommentatorAddPlayer - This is a Blizzard internal functioninternal
CommentatorEnterInstance - This is a Blizzard internal functioninternal
CommentatorExitInstance - This is a Blizzard internal functioninternal
CommentatorFollowPlayer - This is a Blizzard internal functioninternal
CommentatorGetCamera - This is a Blizzard internal functioninternal
CommentatorGetCurrentMapID - This is a Blizzard internal functioninternal
CommentatorGetInstanceInfo - This is a Blizzard internal functioninternal
CommentatorGetMapInfo - This is a Blizzard internal functioninternal
CommentatorGetMode - This is a Blizzard internal functioninternal
CommentatorGetNumMaps - This is a Blizzard internal functioninternal
CommentatorGetNumPlayers - This is a Blizzard internal functioninternal
CommentatorGetPlayerInfo - This is a Blizzard internal functioninternal
CommentatorLookatPlayer - This is a Blizzard internal functioninternal
CommentatorRemovePlayer - This is a Blizzard internal functioninternal
CommentatorSetBattlemaster - This is a Blizzard internal functioninternal
CommentatorSetCamera - This is a Blizzard internal functioninternal
CommentatorSetCameraCollision - This is a Blizzard internal functioninternal
CommentatorSetMapAndInstanceIndex - This is a Blizzard internal functioninternal
CommentatorSetMode - This is a Blizzard internal functioninternal
CommentatorSetMoveSpeed - This is a Blizzard internal functioninternal
CommentatorSetPlayerIndex - This is a Blizzard internal functioninternal
CommentatorSetTargetHeightOffset - This is a Blizzard internal functioninternal
CommentatorStartInstance - This is a Blizzard internal functioninternal
CommentatorToggleMode - This is a Blizzard internal functioninternal
CommentatorUpdateMapInfo - This is a Blizzard internal functioninternal
CommentatorUpdatePlayerInfo - This is a Blizzard internal functioninternal
CommentatorZoomIn - This is a Blizzard internal functioninternal
CommentatorZoomOut - This is a Blizzard internal functioninternal
Companion functions

CallCompanion - Summons a non-combat pet or mount
DismissCompanion - Unsummons the current non-combat pet or mount
GetCompanionCooldown - Returns cooldown information for a non-combat pet or mount
GetCompanionInfo - Returns information about a non-combat pet or mount
GetNumCompanions - Returns the number of mounts or non-combat pets the player can summon
PickupCompanion - Puts a non-combat pet or mount onto the cursor
Complaint functions

CalendarContextEventCanComplain - Returns whether the player can report an event invitation as spam
CalendarContextEventComplain - Reports an event invitation as spam
CanComplainChat - Returns whether a chat message can be reported as spam
CanComplainInboxItem - Returns whether a mail message can be reported as spam
ComplainChat - Reports a chat message as spam
ComplainInboxItem - Reports a mail message as spam
PlayerIsPVPInactive - Returns whether a battleground participant is inactive (and eligible for reporting as AFK)
ReportPlayerIsPVPAFK - Reports a battleground participant as AFK
Container functions

ContainerIDToInventoryID - Returns the [[docs/api_types#inventoryID|`inventoryID`]] corresponding to a given [[docs/api_types#containerID|`containerID`]]
ContainerRefundItemPurchase - Sells an item purchased with alternate currency back to a vendor
EquipmentManager_UnpackLocation - Unpacks an inventory location bitfield into usable components
GetBagName - Returns the name of one of the player's bags
GetContainerFreeSlots - Returns a list of open slots in a container
GetContainerItemCooldown - Returns cooldown information about an item in the player's bags
GetContainerItemDurability - Returns durability status for an item in the player's bags
GetContainerItemGems - Returns the gems socketed in an item in the player's bags
GetContainerItemID - Returns the item ID of an item in the player's bags
GetContainerItemInfo - Returns information about an item in the player's bags
GetContainerItemLink - Returns a hyperlink for an item in the player's bags
GetContainerItemPurchaseInfo - Returns information about alternate currencies refunded for returning an item to vendors
GetContainerItemPurchaseItem - Returns information about a specific currency refunded for returning an item to vendors
GetContainerNumFreeSlots - Returns the number of free slots in a container and the types of items it can hold
GetContainerNumSlots - Returns the number of slots in one of the player's bags
GetItemFamily - Returns information about special bag types that can hold a given item
PickupBagFromSlot - Puts an equipped container onto the cursor
PickupContainerItem - Picks up an item from or puts an item into a slot in one of the player's bags or other containers
PutItemInBackpack - Puts the item on the cursor into the player's backpack
PutItemInBag - Puts the item on the cursor into the one of the player's bags or other containers
SetBagPortraitTexture - Sets a Texture object to display the icon of one of the player's bags
SocketContainerItem - Opens an item from the player's bags for socketing
SplitContainerItem - Picks up only part of a stack of items from one of the player's bags or other containers
UseContainerItem - Activate (as with right-clicking) an item in one of the player's bagsprotected
Currency functions

ExpandCurrencyList - Expands or collapses a list header in the Currency UI
GetArenaCurrency - Returns the player's amount of arena points
GetBackpackCurrencyInfo - Returns information about a currency marked for watching on the Backpack UI
GetContainerItemPurchaseInfo - Returns information about alternate currencies refunded for returning an item to vendors
GetContainerItemPurchaseItem - Returns information about a specific currency refunded for returning an item to vendors
GetCurrencyListInfo - Returns information about a currency type (or headers in the Currency UI)
GetCurrencyListSize - Returns the number of list entries to show in the Currency UI
GetHonorCurrency - Returns the player's amount of honor points
GetMaxArenaCurrency - Returns the maximum amount of arena points the player can accrue
SetCurrencyBackpack - Sets a currency type to be watched on the Backpack UI
SetCurrencyUnused - Moves a currency type to or from the Unused currencies list
Cursor functions

AddTradeMoney - Adds the money currently on the cursor to the trade window
AutoEquipCursorItem - Equips the item on the cursor
ClearCursor - Clears any contents attached to the cursor
ClickAuctionSellItemButton - Picks up an item from or puts an item into the "Create Auction" slot
ClickSendMailItemButton - Picks up an item from or puts an item into an attachment slot for sending mail
ClickSocketButton - Picks up or places a gem in the Item Socketing UI
ClickTargetTradeButton - Interacts with an item in a slot offered for trade by the target
ClickTradeButton - Picks up an item from or puts an item in a slot offered for trade by the player
CursorCanGoInSlot - Returns whether the item on the cursor can be equipped in an inventory slot
CursorHasItem - Returns whether an item is on the cursor
CursorHasMacro - Returns whether a macro is on the cursor
CursorHasMoney - Returns whether an amount of the player's money is on the cursor
CursorHasSpell - Returns whether a spell is on the cursor
DeleteCursorItem - Destroys the item on the cursorconfirmation
DropCursorMoney - Drops any money currently on the cursor, returning it to where it was taken from
DropItemOnUnit - "Gives" the item on the cursor to another unit; results vary by context
EquipCursorItem - Puts the item on the cursor into a specific equipment slot
GetCursorInfo - Returns information about the contents of the cursor
GetCursorMoney - Returns the amount of money currently on the cursor
GetCursorPosition - Returns the absolute position of the mouse cursor
GetMouseFocus - Returns the frame that is currently under the mouse, and has mouse input enabled.
HideRepairCursor - Returns the cursor to normal mode after use of [[docs/events/ShowRepairCursor|`ShowRepairCursor()`]]
InRepairMode - Returns whether the item repair cursor mode is currently active
PickupAction - Puts the contents of an action bar slot onto the cursor or the cursor contents into an action bar slotnocombat
PickupBagFromSlot - Puts an equipped container onto the cursor
PickupCompanion - Puts a non-combat pet or mount onto the cursor
PickupContainerItem - Picks up an item from or puts an item into a slot in one of the player's bags or other containers
PickupGuildBankItem - Picks up an item from or puts an item into the guild bank
PickupGuildBankMoney - Puts money from the guild bank onto the cursor
PickupInventoryItem - Picks up an item from or puts an item into an equipment slot
PickupItem - Puts an arbitrary item onto the cursor
PickupMacro - Puts a macro onto the cursor
PickupMerchantItem - Puts an item available for purchase from a vendor onto the cursor
PickupPetAction - Puts the contents of a pet action slot onto the cursor or the cursor contents into a pet action slot
PickupPlayerMoney - Puts an amount of the player's money onto the cursor
PickupSpell - Puts a spell from the player's or pet's spellbook onto the cursor
PickupStablePet - Puts a pet from the stables onto the cursor
PickupTradeMoney - Puts money offered by the player for trade onto the cursor
PlaceAction - Puts the contents of the cursor into an action bar slotnocombat
PutItemInBackpack - Puts the item on the cursor into the player's backpack
PutItemInBag - Puts the item on the cursor into the one of the player's bags or other containers
ResetCursor - Returns the cursor to its normal appearance (the glove pointer) and behavior
SetCursor - Changes the mouse cursor image
ShowBuybackSellCursor - Changes the cursor to prepare for repurchasing an item recently sold to a vendor
ShowContainerSellCursor - Changes the cursor to prepare for selling an item in the player's bags to a vendor
ShowInventorySellCursor - Changes the cursor to prepare for selling an equipped item to a vendor
ShowMerchantSellCursor - Changes the cursor to prepare for buying an item from a vendor
ShowRepairCursor - Puts the cursor in item repair mode
SplitContainerItem - Picks up only part of a stack of items from one of the player's bags or other containers
SplitGuildBankItem - Picks up only part of a stack of items from the guild bank
Debugging and Profiling functions

FrameXML_Debug - Enables or disables logging of XML loading
GetAddOnCPUUsage - Returns the amount of CPU time used by an addon
GetAddOnMemoryUsage - Returns the amount of memory used by an addon
GetEventCPUUsage - Returns information about the CPU usage of an event
GetFrameCPUUsage - Returns information about CPU usage by a frame's script handlers
GetFramerate - Returns the number of frames per second rendered by the client
GetFunctionCPUUsage - Returns information about CPU usage by a function
GetNetStats - Returns information about current network connection performance
GetScriptCPUUsage - Returns the total CPU time used by the scripting system
GetTaxiBenchmarkMode - Returns whether flight path benchmark mode is enabled
ResetCPUUsage - Resets CPU usage statistics
SetTaxiBenchmarkMode - Enables or disables flight path benchmark mode
UpdateAddOnCPUUsage - Updates addon CPU profiling information
UpdateAddOnMemoryUsage - Updates addon memory usage information
debugprofilestart - Starts/resets the high resolution profiling timer
debugprofilestop - Returns the value of the profiling timer
debugstack - Returns information about the current function call stack
geterrorhandler - Returns the current error handler function
issecurevariable - Returns whether a variable is secure (and if not, which addon tainted it)
seterrorhandler - Changes the error handler to a specified function
Deprecated functions

AcceptSkillUps - This function is deprecated and should no longer be useddeprecated
AddSkillUp - This function is deprecated and should no longer be useddeprecated
BuySkillTier - This function is deprecated and should no longer be useddeprecated
CancelSkillUps - This function is deprecated and should no longer be useddeprecated
GetAdjustedSkillPoints - This function is deprecated and should no longer be useddeprecated
GetExtendedItemInfo - This function is deprecated and should no longer be useddeprecated
RemoveSkillUp - This function is deprecated and should no longer be useddeprecated
ReportBug - This function is deprecated and should no longer be useddeprecated
ReportSuggestion - This function is deprecated and should no longer be useddeprecated
Duel functions

AcceptDuel - Accepts a proposed duel
CancelDuel - Cancels a proposed duel, or declines an offered duel
StartDuel - Challenges another player to a duel
Equipment Manager functions

CanUseEquipmentSets - Returns whether the player has enabled the equipment manager
DeleteEquipmentSet - Deletes an equipment setconfirmation
EquipmentManagerClearIgnoredSlotsForSave - Clears the list of equipment slots to be ignored when saving sets
EquipmentManagerIgnoreSlotForSave - Adds an equipment slot to the list of those ignored when saving sets
EquipmentManagerIsSlotIgnoredForSave - Returns whether the contents of an equipment slot will be included when saving sets
EquipmentManagerUnignoreSlotForSave - Removes an equipment slot from the list of those ignored when saving sets
EquipmentManager_UnpackLocation - Unpacks an inventory location bitfield into usable components
EquipmentSetContainsLockedItems - Returns whether an equipment set contains locked items
GetEquipmentSetInfo - Returns information about an equipment set (specified by index)
GetEquipmentSetInfoByName - Returns information about an equipment set
GetEquipmentSetItemIDs - Returns a table listing the items in an equipment set
GetEquipmentSetLocations - Returns a table listing the locations of the items in an equipment set
GetNumEquipmentSets - Returns the number of saved equipment sets
PickupEquipmentSet - Puts an equipment set (specified by index) on the cursor
PickupEquipmentSetByName - Puts an equipment set on the cursor
RenameEquipmentSet - Changes the name of a saved equipment set
SaveEquipmentSet - Saves or creates an equipment set with the player's currently equipped itemsconfirmation
UseEquipmentSet - Equips the items in an equipment set
Faction functions

CollapseAllFactionHeaders - Collapses all headers and sub-headers in the Reputation UI
CollapseFactionHeader - Collapses a given faction header or sub-header in the Reputation UI
ExpandAllFactionHeaders - Expands all headers and sub-headers in the Reputation UI
ExpandFactionHeader - Expands a given faction header or sub-header in the Reputation UI
FactionToggleAtWar - Toggles "at war" status for a faction
GetFactionInfo - Returns information about a faction or header listing
GetNumFactions - Returns the number of entries in the reputation UI
GetSelectedFaction - Returns which faction entry is selected in the reputation UI
GetWatchedFactionInfo - Returns information about the "watched" faction (displayed on the XP bar in the default UI)
IsFactionInactive - Returns whether a faction is flagged as "inactive"
SetFactionActive - Removes the "inactive" status from a faction
SetFactionInactive - Flags a faction as inactive
SetSelectedFaction - Selects a faction in the reputation UI
SetWatchedFactionIndex - Makes a faction the "watched" faction (displayed on the XP bar in the default UI)
GM Survey functions

GMSurveyAnswer - Returns text of multiple-choice question answers in a GM survey
GMSurveyAnswerSubmit - Submits an answer to a GM survey question
GMSurveyCommentSubmit - Submits a comment to the current GM survey
GMSurveyNumAnswers - Returns the number of possible answers for a GM Survey questiondeprecated
GMSurveyQuestion - Returns the text of a specific question from a GM survey
GMSurveySubmit - Submits the current GM survey
GM Ticket functions

DeleteGMTicket - Abandons the currently pending GM ticketconfirmation
GMResponseNeedMoreHelp - Requests further GM interaction on a ticket to which a GM has already responded
GMResponseResolve - Notifies the server that the player's GM ticket issue has been resolved
GetGMStatus - This is a Blizzard internal functioninternal
GetGMTicket - Requests GM ticket status from the server
GetGMTicketCategories - Returns a list of available GM ticket categoriesdeprecated
NewGMTicket - Opens a new GM support ticketprotected
Stuck - Uses the auto-unstuck featureprotected
UpdateGMTicket - Updates the open GM ticket with new textprotected
Glyph functions

GetGlyphLink - Gets a hyperlink for the contents of a glyph socket
GetGlyphSocketInfo - Returns information about a glyph socket and its contents
GetNumGlyphSockets - Currently unuseddeprecated
GlyphMatchesSocket - Returns whether a socket is eligible for the glyph currently awaiting a target
PlaceGlyphInSocket - Applies the glyph currently awaiting a target to a socketconfirmation
RemoveGlyphFromSocket - Removes the glyph from a socketconfirmation
SpellCanTargetGlyph - Returns whether the spell currently awaiting a target requires a glyph slot to be chosen
Guild bank functions

AutoStoreGuildBankItem - Withdraws the item(s) from a slot in the guild bank, automatically adding to the player's bags
BuyGuildBankTab - Purchases the next available guild bank tabconfirmation
CanEditGuildTabInfo - Returns whether the player is allowed to edit a guild bank tab's information
CanGuildBankRepair - Returns whether the player is allowed to pay for repairs using guild bank funds
CanWithdrawGuildBankMoney - Returns whether the player is allowed to withdraw money from the guild bank
CloseGuildBankFrame - Ends interaction with the guild bank vault
DepositGuildBankMoney - Deposits money into the guild bankconfirmation
GetCurrentGuildBankTab - Returns the currently selected guild bank tab
GetGuildBankItemInfo - Returns information about the contents of a guild bank item slot
GetGuildBankItemLink - Returns a hyperlink for an item in the guild bank
GetGuildBankMoney - Returns the amount of money in the guild bank
GetGuildBankMoneyTransaction - Returns information about a transaction in the guild bank money log
GetGuildBankTabCost - Returns the cost of the next available guild bank tab
GetGuildBankTabInfo - Returns information about a guild bank tab
GetGuildBankTabPermissions - Returns information about guild bank tab privileges for the guild rank currently being edited
GetGuildBankText - Returns text associated with a guild bank tab
GetGuildBankTransaction - Returns information about a transaction in the log for a guild bank tab
GetGuildBankWithdrawLimit - Returns the guild bank money withdrawal limit for the guild rank currently being edited
GetGuildBankWithdrawMoney - Returns the amount of money the player is allowed to withdraw from the guild bank per day
GetNumGuildBankMoneyTransactions - Returns the number of transactions in the guild bank money log
GetNumGuildBankTabs - Returns the number of purchased tabs in the guild bank
GetNumGuildBankTransactions - Returns the number of entries in a guild bank tab's transaction log
PickupGuildBankItem - Picks up an item from or puts an item into the guild bank
PickupGuildBankMoney - Puts money from the guild bank onto the cursor
QueryGuildBankLog - Requests the item transaction log for a guild bank tab from the server
QueryGuildBankTab - Requests information about the contents of a guild bank tab from the server
QueryGuildBankText - Requests guild bank tab info text from the server
SetCurrentGuildBankTab - Selects a tab in the guild bank
SetGuildBankTabInfo - Sets the name and icon for a guild bank tab
SetGuildBankTabPermissions - Changes guild bank tab permissions for the guild rank being edited
SetGuildBankTabWithdraw - Sets the number of item withdrawals allowed per day for the guild rank being edited
SetGuildBankText - Sets the info text for a guild bank tab
SetGuildBankWithdrawLimit - Sets the maximum amount of money withdrawals per day allowed for the guild rank being edited
SplitGuildBankItem - Picks up only part of a stack of items from the guild bank
WithdrawGuildBankMoney - Attempts to withdraw money from the guild bankconfirmation
Guild functions

AcceptGuild - Accepts an invitation to join a guild
BuyGuildCharter - Purchases a guild charter
CanEditGuildEvent - Returns whether the player is allowed to edit guild-wide calendar events
CanEditGuildInfo - Returns whether the player is allowed to edit the guild information text
CanEditMOTD - Returns whether the player is allowed to edit the guild Message of the Day
CanEditOfficerNote - Returns whether the player is allowed to edit guild officer notes
CanEditPublicNote - Returns whether the player is allowed to edit guild public notes
CanGuildDemote - Returns whether the player is allowed to demote lower ranked guild members
CanGuildInvite - Returns whether the player is allowed to invite new members to his or her guild
CanGuildPromote - Returns whether the player is allowed to promote other guild members
CanGuildRemove - Returns whether the player is allowed to remove members from his or her guild
CanViewOfficerNote - Returns whether the player is allowed to view guild officer notes
CloseGuildRegistrar - Ends interaction with a guild registrar
CloseGuildRoster - This function is deprecated and should no longer be useddeprecated
CloseTabardCreation - Ends interaction with the guild tabard creator
DeclineGuild - Declines an offered guild invitation
GetGuildCharterCost - Returns the cost to purchase a guild charter
GetGuildEventInfo - Returns information about an entry in the guild event log
GetGuildInfo - Returns a unit's guild affiliation
GetGuildInfoText - Returns guild information text
GetGuildRosterInfo - Returns information about the selected player in your guild roster.
GetGuildRosterLastOnline - Returns the amount of time since a guild member was last online
GetGuildRosterMOTD - Returns the Message of the Day for the player's guild
GetGuildRosterSelection - Returns the index of the selected member in the guild roster
GetGuildRosterShowOffline - Returns whether the guild roster lists offline members
GetGuildTabardFileNames - Returns the textures that comprise the player's guild tabard
GetNumGuildEvents - Returns the number of entries in the guild event log
GetNumGuildMembers - Returns the number of members in the guild roster
GetTabardCreationCost - Returns the cost to create a guild tabard
GetTabardInfo - This function is deprecated and should no longer be useddeprecated
GuildControlAddRank - Adds a new rank to the player's guild
GuildControlDelRank - Deletes a guild rank
GuildControlGetNumRanks - Returns the number of ranks in the guild
GuildControlGetRankFlags - Returns the list of privileges for the guild rank being edited
GuildControlGetRankName - Returns the name of a guild rank
GuildControlSaveRank - Saves changes to the guild rank being edited
GuildControlSetRank - Chooses a guild rank to edit
GuildControlSetRankFlag - Enables or disables a privilege for the guild rank being edited
GuildDemote - Reduces a guild member's rank by one
GuildDisband - Disbands the player's guildconfirmation
GuildInfo - Requests guild information from the server
GuildInvite - Invites a character to join the player's guild
GuildLeave - Leaves the player's current guildconfirmation
GuildPromote - Increases a guild member's rank by one
GuildRoster - Requests guild roster information from the server
GuildRosterSetOfficerNote - Sets the officer note for a guild member
GuildRosterSetPublicNote - Sets the public note for a guild member
GuildSetLeader - Promotes a member to guild leader
GuildSetMOTD - Sets the guild Message of the Day
GuildUninvite - Removes a character from the player's guild
IsGuildLeader - Returns whether or player is leader of his or her guild
IsInGuild - Returns whether the player is in a guild
QueryGuildEventLog - Requests guild event log information from the server
SetGuildInfoText - Sets the guild information text.
SetGuildRosterSelection - Selects a member in the guild roster
SetGuildRosterShowOffline - Enables or disables inclusion of offline members in the guild roster listing
SortGuildRoster - Sorts the guild roster
TurnInGuildCharter - Turns in a completed guild charter
UnitIsInMyGuild - Returns whether a unit is in the player's guild
Hyperlink functions

GetAchievementLink - Returns a hyperlink representing the player's progress on an achievement
GetAuctionItemLink - Returns a hyperlink for an item in an auction listing
GetBuybackItemLink - Returns a hyperlink for an item recently sold to a vendor and available to be repurchased
GetContainerItemLink - Returns a hyperlink for an item in the player's bags
GetCursorInfo - Returns information about the contents of the cursor
GetExistingSocketLink - Returns a hyperlink for a permanently socketed gem
GetGlyphLink - Gets a hyperlink for the contents of a glyph socket
GetGuildBankItemLink - Returns a hyperlink for an item in the guild bank
GetGuildBankTransaction - Returns information about a transaction in the log for a guild bank tab
GetInboxItemLink - Returns a hyperlink for an item attached to a message in the player's inbox
GetInventoryItemLink - Returns an item link for an equipped item
GetItemGem - Returns information about gems socketed in an item
GetLootRollItemLink - Returns a hyperlink for an item currently up for loot rolling
GetLootSlotLink - Returns a hyperlink for an item available as loot
GetMacroItem - Returns information about the item used by a macro
GetMerchantItemLink - Returns a hyperlink for an item available for purchase from a vendor
GetNewSocketLink - Returns a hyperlink for a gem added to a socket
GetQuestItemLink - Returns a hyperlink for an item in a questgiver dialog
GetQuestLink - Returns a hyperlink for an entry in the player's quest log
GetQuestLogItemLink - Returns a hyperlink for an item related to the selected quest in the quest log
GetSendMailItemLink - Returns a hyperlink for an item attached to the outgoing message
GetSpellLink - Returns a hyperlink for a spell
GetTalentLink - Returns a hyperlink for a talent
GetTradePlayerItemLink - Returns a hyperlink for an item offered for trade by the player
GetTradeSkillItemLink - Returns a hyperlink for the item created by a tradeskill recipe
GetTradeSkillListLink - Returns a hyperlink to the player's list of recipes for the current trade skill
GetTradeSkillReagentItemLink - Returns a hyperlink for a reagent in a tradeskill recipe
GetTradeSkillRecipeLink - Returns hyperlink for a tradeskill recipe
GetTradeTargetItemLink - Returns a hyperlink for an item offered for trade by the target
GetTrainerServiceItemLink - Returns a hyperlink for the item associated with a trainer service
In-game movie playback functions

GameMovieFinished - Ends in-game movie playback
GetMovieResolution - Returns the horizontal resolution available for displaying movie content
InCinematic - Returns whether an in-game cinematic is playing
OpeningCinematic - Displays the introductory cinematic for the player's race
StopCinematic - Exits a currently playing in-game cinematic
Inspect functions

CanInspect - Returns whether a unit can be inspected
ClearInspectPlayer - Ends inspection of another character
GetInspectArenaTeamData - Returns arena team information about the currently inspected unit
GetInspectHonorData - Returns PvP honor information about the currently inspected unit
HasInspectHonorData - Returns whether PvP honor and arena data for the currently inspected unit has been downloaded from the server
NotifyInspect - Marks a unit for inspection and requests talent data from the server
RequestInspectHonorData - Requests PvP honor and arena data from the server for the currently inspected unit
Instance functions

CanShowResetInstances - Returns whether the player can reset instances
GetDungeonDifficulty - Returns the 5 player selected dungeon difficulty
GetInstanceBootTimeRemaining - Returns the amount of time left until the player is removed from the current instance
GetInstanceDifficulty - Returns difficulty setting for the current dungeon/raid instance
GetInstanceInfo - Returns instance information about the current area
GetInstanceLockTimeRemaining - Returns time remaining before the player is saved to a recently entered instance
GetNumSavedInstances - Returns the number of instances to which the player is saved
GetNumWorldStateUI - Returns the number of world state UI elements
GetSavedInstanceInfo - Returns information on a specific instance to which the player is saved
GetWorldStateUIInfo - Returns information about a world state UI element
IsInInstance - Returns whether the player is in an instance (and its type if applicable)
RequestRaidInfo - Requests information about saved instances from the server
ResetInstances - Resets all non-saved instances associated with the player
RespondInstanceLock - Allows leaving a recently entered instance to which the player would otherwise be saved
SetDungeonDifficulty - Sets the player's 5 player dungeon difficulty preference
SetRaidDifficulty - Sets the player's raid dungeon difficulty preference
Inventory functions

AutoEquipCursorItem - Equips the item on the cursor
BankButtonIDToInvSlotID - Returns the [[docs/api_types#inventoryID|`inventoryID`]] corresponding to a bank item or bag slot
CancelPendingEquip - Cancels equipping a bind-on-equip item
ContainerIDToInventoryID - Returns the [[docs/api_types#inventoryID|`inventoryID`]] corresponding to a given [[docs/api_types#containerID|`containerID`]]
CursorCanGoInSlot - Returns whether the item on the cursor can be equipped in an inventory slot
EquipCursorItem - Puts the item on the cursor into a specific equipment slot
EquipItemByName - Attempts to equip an arbitrary item
EquipPendingItem - Confirms equipping a bind-on-equip itemconfirmation
EquipmentManager_UnpackLocation - Unpacks an inventory location bitfield into usable components
GetInventoryAlertStatus - Returns the durability warning status of an equipped item
GetInventoryItemBroken - Returns whether an equipped item is broken
GetInventoryItemCooldown - Returns cooldown information about an equipped item
GetInventoryItemCount - Returns the number of items stacked in an inventory slot
GetInventoryItemDurability - Returns the current durability level of an equipped item
GetInventoryItemGems - Returns the gems socketed in an equipped item
GetInventoryItemID - Returns the item ID of an equipped item
GetInventoryItemLink - Returns an item link for an equipped item
GetInventoryItemQuality - Returns the quality level of an equipped item
GetInventoryItemTexture - Returns the icon texture for an equipped item
GetInventoryItemsForSlot - Returns a list of items that can be equipped in a given inventory slot
GetInventorySlotInfo - Returns information about an inventory slot
IsEquippedItem - Returns whether an item is currently equipped
IsEquippedItemType - Returns whether any items of a given type are currently equipped
IsInventoryItemLocked - Returns whether an inventory slot is locked
KeyRingButtonIDToInvSlotID - Returns the [[docs/api_types#inventoryID|`inventoryID`]] corresponding to a slot in the keyring
PickupInventoryItem - Picks up an item from or puts an item into an equipment slot
SetInventoryPortraitTexture - Sets a Texture object to display the icon of an equipped item
SocketInventoryItem - Opens an equipped item for socketing
UpdateInventoryAlertStatus - This is a Blizzard internal functioninternal
UseInventoryItem - Activate (as with right-clicking) an equipped itemprotected
Item Text functions

CloseItemText - Ends interaction with a text object or item
ItemTextGetCreator - Returns the original author of the currently viewed text item
ItemTextGetItem - Returns the name of the currently viewed text item
ItemTextGetMaterial - Returns display style information for the currently viewed text item
ItemTextGetPage - Returns the current page number in the currently viewed text item
ItemTextGetText - Returns the text of the currently viewed text item
ItemTextHasNextPage - Returns whether the currently viewed text item has additional pages
ItemTextNextPage - Moves to the next page in the currently viewed text item
ItemTextPrevPage - Moves to the previous page in the currently viewed text item
Item functions

BindEnchant - Confirms enchanting an item (when the item will become soulbound as a result)confirmation
CancelPendingEquip - Cancels equipping a bind-on-equip item
ConfirmBindOnUse - Confirms using an item, if using the item causes it to become soulboundconfirmation
CursorHasItem - Returns whether an item is on the cursor
DeleteCursorItem - Destroys the item on the cursorconfirmation
EndBoundTradeable - Confirms taking an action which renders a looted Bind on Pickup item non-tradeableconfirmation
EndRefund - Confirms taking an action which renders a purchased item non-refundableconfirmation
EquipItemByName - Attempts to equip an arbitrary item
EquipPendingItem - Confirms equipping a bind-on-equip itemconfirmation
GetItemCooldown - Returns cooldown information about an arbitrary item
GetItemCount - Returns information about how many of a given item the player has or on remaining item charges
GetItemFamily - Returns information about special bag types that can hold a given item
GetItemGem - Returns information about gems socketed in an item
GetItemIcon - Returns the path to an icon texture for the item
GetItemInfo - Returns information about an item, by name, link or id
GetItemQualityColor - Returns color values for use in displaying items of a given quality
GetItemSpell - Returns information about the spell cast by an item's "Use:" effect
GetItemStatDelta - Returns a summary of the difference in stat bonuses between two items
GetItemStats - Returns a summary of an item's stat bonuses
GetItemUniqueness - Returns information about uniqueness restrictions for equipping an item
IsConsumableItem - Returns whether an item is consumable
IsCurrentItem - Returns whether an item is being used
IsDressableItem - Returns whether an item's appearance can be previewed using the Dressing Room feature
IsEquippableItem - Returns whether an item can be equipped
IsEquippedItem - Returns whether an item is currently equipped
IsEquippedItemType - Returns whether any items of a given type are currently equipped
IsHarmfulItem - Returns whether an item can be used against hostile units
IsHelpfulItem - Returns whether an item can be used on the player or friendly units
IsItemInRange - Returns whether the player is in range to use an item on a unit
IsUsableItem - Returns whether an item can currently be used
ItemHasRange - Returns whether an item has a range limitation for its use
PickupItem - Puts an arbitrary item onto the cursor
ReplaceEnchant - Confirms replacing an existing enchantmentconfirmation
SpellCanTargetItem - Returns whether the spell currently awaiting a target requires an item to be chosen
SpellTargetItem - Casts the spell currently awaiting a target on an itemprotected
UseItemByName - Uses an arbitrary item (optionally on a specified unit)protected
Keybind functions

ClearOverrideBindings - Clears any registered override bindings for a given owner
GetBinding - Returns information about a key binding
GetBindingAction - Returns the action bound to a key or key combination
GetBindingByKey - Returns the action bound to a key or key combination
GetBindingKey - Returns the key combinations for a given binding command
GetCurrentBindingSet - Returns which set of key bindings is currently in use
GetNumBindings - Returns the number of entries in the key bindings list
LoadBindings - Loads a set of key bindings
RunBinding - Runs the script associated with a key binding action
SaveBindings - Saves the current set of key bindings
SetBinding - Binds a key combination to a binding command
SetBindingClick - Binds a key combination to "click" a Button object
SetBindingItem - Binds a key combination to use an item in the player's possession
SetBindingMacro - Binds a key combination to run a macro
SetBindingSpell - Binds a key combination to cast a spell
SetMouselookOverrideBinding - Overrides the default mouselook bindings to perform another binding with the mouse buttons
SetOverrideBinding - Sets an override binding for a binding command
SetOverrideBindingClick - Sets an override binding to "click" a Button object
SetOverrideBindingItem - Sets an override binding to use an item in the player's possession
SetOverrideBindingMacro - Sets an override binding to run a macro
SetOverrideBindingSpell - Set an override binding to a specific spell
Keyboard functions

GetCurrentKeyBoardFocus - Returns the frame currently handling keyboard input
IsAltKeyDown - Returns whether an Alt key on the keyboard is held down.
IsControlKeyDown - Returns whether a Control key on the keyboard is held down
IsLeftAltKeyDown - Returns whether the left Alt key is currently held down
IsLeftControlKeyDown - Returns whether the left Control key is held down
IsLeftShiftKeyDown - Returns whether the left Shift key on the keyboard is held down
IsModifierKeyDown - Returns whether a modifier key is held down
IsRightAltKeyDown - Returns whether the right Alt key is currently held down
IsRightControlKeyDown - Returns whether the right Control key on the keyboard is held down
IsRightShiftKeyDown - Returns whether the right shift key on the keyboard is held down
IsShiftKeyDown - Returns whether a Shift key on the keyboard is held down
Knowledge-base functions

KBArticle_BeginLoading - Requests a specific knowledge base article from the server
KBArticle_GetData - Returns information about the last requested knowledge base article
KBArticle_IsLoaded - Returns whether the requested knowledge base article has been loaded
KBQuery_BeginLoading - Queries the knowledge base server for articles
KBQuery_GetArticleHeaderCount - Returns the number of articles on the current knowledge base search result page
KBQuery_GetArticleHeaderData - Returns information about an article returned in a knowledge base query
KBQuery_GetTotalArticleCount - Returns the total number of articles returned for the given query
KBQuery_IsLoaded - Returns whether results of a knowledge base query have been loaded
KBSetup_BeginLoading - Loads a maximum number of "Top Issues" from a given page
KBSetup_GetArticleHeaderCount - Returns the number of "Top Issues" articles on the current page
KBSetup_GetArticleHeaderData - Returns header information about a "Top Issue" article
KBSetup_GetCategoryCount - Returns the number of available knowledge base categories
KBSetup_GetCategoryData - Returns information about a knowledge base category
KBSetup_GetLanguageCount - Returns the number of available knowledge base languages
KBSetup_GetLanguageData - Returns information about a given knowledge base language
KBSetup_GetSubCategoryCount - Returns the number of available subcategories for a given category
KBSetup_GetSubCategoryData - Returns information a knowledge base subcategory
KBSetup_GetTotalArticleCount - Returns the number of "Top Issues" articles
KBSetup_IsLoaded - Returns whether the knowledge base default query has completed successfully
KBSystem_GetMOTD - Returns the currently knowledge base MOTD
KBSystem_GetServerNotice - Returns the text of the knowledge base server system notice
KBSystem_GetServerStatus - Returns the knowledge base server system status message
Limited play time functions

GetBillingTimeRested - Returns the amount of time for which the player must be offline in order to lift play time restrictions
NoPlayTime - Returns whether the player has exceeded the allowed play time limit
PartialPlayTime - Returns whether the player is near the allowed play time limit
Locale-specific functions

DeclineName - Returns suggested declensions for a name
FillLocalizedClassList - Fills a table with localized class names keyed by non-localized class tokens
GetNumDeclensionSets - Returns the number of suggested declension sets for a name
Looking for group functions

GetLFGRoles - Returns the group roles for which the player has signed up in the LFG system
GetLFGTypes - Returns a list of LFG query types
SetLFGComment - Associates a brief text comment with the player's listing in the LFG system
SetLFGRoles - Sets group roles for which to advertise the player in the LFG system
Loot functions

CloseLoot - Ends interaction with a lootable corpse or object
ConfirmLootRoll - Confirms the player's intent regarding an item up for loot rollingconfirmation
ConfirmLootSlot - Confirms picking up an item available as lootconfirmation
GetLootMethod - Returns information about the current loot method in a party or raid
GetLootRollItemInfo - Returns information about an item currently up for loot rolling
GetLootRollItemLink - Returns a hyperlink for an item currently up for loot rolling
GetLootRollTimeLeft - Returns the amount of time remaining before loot rolling for an item expires
GetLootSlotInfo - Returns a hyperlink for an item available as loot
GetLootSlotLink - Returns a hyperlink for an item available as loot
GetLootThreshold - Returns the threshold used for Master Looter, Group Loot, and Need Before Greed loot methods
GetMasterLootCandidate - Returns information about a given loot candidate
GetNumLootItems - Returns the number of items available to be looted
GetOptOutOfLoot - Returns whether the player has opted out of loot rolls
GiveMasterLoot - Awards a loot item to a group member
IsFishingLoot - Returns whether the currently displayed loot came from fishing
LootSlot - Attempts to pick up an item available as loot
LootSlotIsCoin - Returns whether a loot slot contains money
LootSlotIsItem - Returns whether a loot slot contains an item
RollOnLoot - Register the player's intent regarding an item up for loot rolling
SetLootMethod - Sets the loot method for a party or raid group
SetLootPortrait - Sets a Texture object to show the appropriate portrait image when looting
SetLootThreshold - Sets the threshold used for Master Looter, Group Loot, and Need Before Greed loot methods
SetOptOutOfLoot - Changes the player's preference to opt out of loot rolls
Lua library functions

abs - Returns the absolute value of a numberluaapi
assert - Causes a Lua error if a condition is failedluaapi
ceil - Returns the smallest integer larger than or equal to a numberluaapi
collectgarbage - Interface to the Lua garbage collectorluaapi
date - Returns a formatted date/time string for a date (or the current date)luaapi
deg - Converts an angle measurement in radians to degreesluaapi
difftime - Returns the number of seconds between two time valuesluaapi
error - Causes a Lua error messageluaapi
exp - Returns the value of the exponential function for a numberluaapi
floor - Returns the largest integer smaller than or equal to a numberluaapi
foreach - This function is deprecated and should no longer be useddeprecatedluaapi
foreachi - This function is deprecated and should no longer be useddeprecatedluaapi
format - Returns a formatted string containing specified valuesluaapi
frexp - Returns the normalized fraction and base-2 exponent for a numberluaapi
gcinfo - Returns the total Lua memory usagedeprecatedluaapi
getfenv - Returns the environment for a function (or the global environment)luaapi
getmetatable - Returns an object's metatableluaapi
getn - This function is deprecated and should no longer be useddeprecatedluaapi
gmatch - Returns an iterator function for finding pattern matches in a stringluaapi
gsub - Returns a string in which occurrences of a pattern are replacedluaapi
ipairs - Returns an iterator function for integer keys in a tableluaapi
ldexp - Returns the number generated by a normalized fraction and base-2 exponentluaapi
loadstring - Loads and compiles Lua source codeluaapi
log - Returns the natural logarithm of a numberluaapi
log10 - Returns the base-10 logarithm of a numberluaapi
max - Returns the greatest of a list of numbersluaapi
min - Returns the least of a list of numbersluaapi
mod - Returns the remainder from division of two numbersluaapi
next - Returns the next key/value pair in a tableluaapi
pairs - Returns an iterator function for a tableluaapi
pcall - Executes a function in protected modeluaapi
rad - Converts an angle specified in degrees to radiansluaapi
random - Generates a pseudo-random numberluaapi
rawequal - Returns whether two values are equal without invoking any metamethodsluaapi
rawget - Returns the real value associated with a key in a table without invoking any metamethodsluaapi
rawset - Sets the value associated with a key in a table without invoking any metamethodsluaapi
select - Returns one or more values from a list (`...`), or the number of values in a listluaapi
setfenv - Sets the environment to be used by a functionluaapi
setmetatable - Sets the metatable for a tableluaapi
sort - Sorts a tableluaapi
sqrt - Returns the square root of a numberluaapi
strbyte - Returns the numeric code for one or more characters in a stringluaapi
strchar - Returns the character(s) for one or more numeric codesluaapi
strfind - Returns information about matches for a pattern in a stringluaapi
strlen - Returns the number of characters in a stringluaapi
strlower - Returns a copy of a string with all uppercase letters converted to lowercaseluaapi
strmatch - Returns the matches for a for a pattern in a stringluaapi
strrep - Returns a string produced by a number of repetitions of another stringluaapi
strrev - Returns the reverse of a stringluaapi
strsub - Returns a substring of a stringluaapi
strupper - Returns a copy of a string with all lowercase letters converted to uppercaseluaapi
time - Returns the numeric time value for a described date/time (or the current time)luaapi
tinsert - Inserts a value into a tableluaapi
tonumber - Returns the numeric value of a stringluaapi
tostring - Returns a string representation of a valueluaapi
tremove - Removes an element from a tableluaapi
type - Returns a string describing the data type of a valueluaapi
unpack - Returns the list of elements in a tableluaapi
xpcall - Executes a function in protected mode with a custom error handlerluaapi
Mac client functions

IsMacClient - Returns whether the player is using the Mac OS X game client
MovieRecording_Cancel - Cancels video recording and compressionmaconly
MovieRecording_DataRate - Returns the data rate required for a given set of video recording parametersmaconly
MovieRecording_DeleteMovie - Deletes an uncompressed moviemaconly
MovieRecording_GetAspectRatio - Returns the aspect ratio of the game displaymaconly
MovieRecording_GetMovieFullPath - Returns a path to the movie currently being recorded or compressedmaconly
MovieRecording_GetProgress - Returns information about movie compression progressmaconly
MovieRecording_GetTime - Returns the amount of time since video recording was last startedmaconly
MovieRecording_GetViewportWidth - Returns the current width of the game displaymaconly
MovieRecording_IsCodecSupported - Returns whether a video codec is supported on the current systemmaconly
MovieRecording_IsCompressing - Returns whether a movie file is currently being compressedmaconly
MovieRecording_IsCursorRecordingSupported - Returns whether the current system supports recording the mouse cursor in moviesmaconly
MovieRecording_IsRecording - Returns whether movie recording is currently in progressmaconly
MovieRecording_IsSupported - Returns whether movie recording is supported on the current system
MovieRecording_MaxLength - Returns the maximum length of recorded video for a given set of video recording parametersmaconly
MovieRecording_QueueMovieToCompress - Queues an uncompressed movie for compressionmaconly
MovieRecording_SearchUncompressedMovie - Enables or disables a search for uncompressed moviesmaconly
MovieRecording_Toggle - Begins or ends video recordingmaconly
MovieRecording_ToggleGUI - Enables or disables inclusion of UI elements in a video recordingmaconly
MusicPlayer_BackTrack - Causes iTunes to return to the previous track playedprotectedmaconly
MusicPlayer_NextTrack - Causes iTunes to play the next track in sequenceprotectedmaconly
MusicPlayer_PlayPause - Causes iTunes to start or pause playbackprotectedmaconly
MusicPlayer_VolumeDown - Causes iTunes to lower its playback volumeprotectedmaconly
MusicPlayer_VolumeUp - Causes iTunes to raise its playback volumeprotectedmaconly
Macro functions

CreateMacro - Creates a new macro
CursorHasMacro - Returns whether a macro is on the cursor
DeleteMacro - Deletes a macro
EditMacro - Changes the name, icon, and/or body of a macronocombat
GetMacroBody - Returns the body text of a macro
GetMacroIconInfo - Returns the texture for a macro icon option
GetMacroIndexByName - Returns the index of a macro specified by name
GetMacroInfo - Returns information about a macro
GetMacroItem - Returns information about the item used by a macro
GetMacroItemIconInfo - Returns the texture for an item icon
GetMacroSpell - Returns information about the spell cast by a macro
GetNumMacroIcons - Returns the number of available macro icons
GetNumMacroItemIcons - Returns the number of available item icons
GetNumMacros - Returns the number of macros the player has stored
GetRunningMacro - Returns the index of the currently running macro.
GetRunningMacroButton - Returns the mouse button that was used to activate the running macro
PickupMacro - Puts a macro onto the cursor
RunMacro - Runs a macroprotected
RunMacroText - Runs arbitrary text as a macroprotected
SecureCmdOptionParse - Returns the action (and target, if applicable) for a secure macro command
SetMacroItem - Changes the item used for dynamic feedback for a macro
SetMacroSpell - Changes the spell used for dynamic feedback for a macro
StopMacro - Stops execution of a running macroprotected
Mail functions

AutoLootMailItem - Automatically takes any attached items and money from a mail message
CanComplainInboxItem - Returns whether a mail message can be reported as spam
CheckInbox - Requests information on the player's mailbox contents from the server
ClearSendMail - Clears any text, items, or money from the mail message to be sent
ClickSendMailItemButton - Picks up an item from or puts an item into an attachment slot for sending mail
CloseMail - Ends interaction with a mailbox
ComplainInboxItem - Reports a mail message as spam
DeleteInboxItem - Deletes a message from the player's inboxconfirmation
GetInboxHeaderInfo - Returns information about a message in the player's inbox
GetInboxInvoiceInfo - Returns auction house invoice information for a mail message
GetInboxItem - Returns information for an item attached to a message in the player's inbox
GetInboxItemLink - Returns a hyperlink for an item attached to a message in the player's inbox
GetInboxNumItems - Returns the number of messages in the player's inbox
GetInboxText - Returns information about the text of an inbox message
GetLatestThreeSenders - Returns the names of the last three senders of new mail
GetNumPackages - This function is deprecated and should no longer be useddeprecated
GetNumStationeries - Returns the number of available stationery typesinternal
GetPackageInfo - This function is deprecated and should no longer be useddeprecated
GetSelectedStationeryTexture - Returns the currently selected stationery typeinternal
GetSendMailCOD - Returns the Cash-On-Delivery cost of the outgoing message
GetSendMailItem - Returns information for an item attached to the outgoing message
GetSendMailItemLink - Returns a hyperlink for an item attached to the outgoing message
GetSendMailMoney - Returns the amount of money to be sent with the outgoing message
GetSendMailPrice - Returns the cost to send the outgoing mail message
GetStationeryInfo - Returns information about a stationery typeinternal
HasNewMail - Returns whether the player has received new mail since last visiting a mailbox
InboxItemCanDelete - Returns whether a message in the player's inbox can be deleted
ReturnInboxItem - Returns a message in the player's inbox to its sender
SelectPackage - This function is deprecated and should no longer be useddeprecated
SelectStationery - Selects a given stationery for usage when sending mailinternal
SendMail - Sends the outgoing message
SetSendMailCOD - Sets the Cash-On-Delivery cost of the outgoing message
SetSendMailMoney - Sets the amount of money to be sent with the outgoing message
SetSendMailShowing - Enables or disables shortcuts for attaching items to outgoing mail
TakeInboxItem - Retrieves an item attachment from a message in the player's inbox (accepting COD charges if applicable)confirmation
TakeInboxMoney - Retrieves any money attached to a message in the player's inbox
TakeInboxTextItem - Requests a copy of a message's body text as an item
Map functions

ClickLandmark - Processes a hyperlink associated with a map landmark
GetBattlefieldVehicleInfo - Returns information about special vehicles in the current zone
GetCorpseMapPosition - Returns the position of the player's corpse on the world map
GetCurrentMapAreaID - Returns an ID number for the current map zone
GetCurrentMapContinent - Returns the current world map continent
GetCurrentMapDungeonLevel - Returns which map image is currently selected on the world map (for zones which use more than one map image)
GetCurrentMapZone - Returns the current world map zone
GetDeathReleasePosition - Returns the location of the graveyard where the player's spirit will appear upon release
GetMapContinents - Returns a list of map continents names
GetMapInfo - Returns information about the current world map texture
GetMapLandmarkInfo - Returns information about a map landmark
GetMapOverlayInfo - Returns information about a world map overlay
GetMapZones - Returns the map zones for a given continent
GetNumBattlefieldVehicles - Returns the number of special vehicles in the current zone
GetNumDungeonMapLevels - Returns the number of map images for the world map's current zone
GetNumMapLandmarks - Returns the number of landmarks on the world map
GetNumMapOverlays - Returns the number of overlays for the current world map zone
GetPlayerFacing - Returns the player's orientation (heading)
GetPlayerMapPosition - Returns the position of the player's corpse on the world map
GetWintergraspWaitTime - Returns the amount of time remaining until the next PvP event in the Wintergrasp zone
InitWorldMapPing - Initializes the frame used to display the character location "ping" on the World Mapinternal
ProcessMapClick - Possibly changes the WorldMap based on a mouse click
SetDungeonMapLevel - Sets the world map to display a certain map image (for zones that use multiple map images)
SetMapToCurrentZone - Sets the world map to show the zone in which the player is located
SetMapZoom - Sets the world map to show a specific zone or continent
UpdateMapHighlight - Returns information about the texture used for highlighting zones in a continent map on mouseover
ZoomOut - Sets the world map to show the area containing its current area
Merchant functions

BuyMerchantItem - Purchases an item available from a vendorconfirmation
BuybackItem - Repurchases an item recently sold to a vendor
CanMerchantRepair - Returns whether the vendor with whom the player is currently interacting can repair equipment
CloseMerchant - Ends interaction with a vendor
ContainerRefundItemPurchase - Sells an item purchased with alternate currency back to a vendor
EndBoundTradeable - Confirms taking an action which renders a looted Bind on Pickup item non-tradeableconfirmation
EndRefund - Confirms taking an action which renders a purchased item non-refundableconfirmation
GetBuybackItemInfo - Returns information about an item recently sold to a vendor and available to be repurchased
GetBuybackItemLink - Returns a hyperlink for an item recently sold to a vendor and available to be repurchased
GetContainerItemPurchaseInfo - Returns information about alternate currencies refunded for returning an item to vendors
GetContainerItemPurchaseItem - Returns information about a specific currency refunded for returning an item to vendors
GetMerchantItemCostInfo - Returns information about alternate currencies required to purchase an item from a vendor
GetMerchantItemCostItem - Returns information about currency items required to purchase an item from a vendor
GetMerchantItemInfo - Returns information about an item available for purchase from a vendor
GetMerchantItemLink - Returns a hyperlink for an item available for purchase from a vendor
GetMerchantItemMaxStack - Returns the maximum number of an item allowed in a single purchase
GetMerchantNumItems - Returns the number of different items available for purchase from a vendor
GetNumBuybackItems - Returns the number of items recently sold to a vendor and available to be repurchased
GetRepairAllCost - Returns the cost to repair all of the player's damaged items
InRepairMode - Returns whether the item repair cursor mode is currently active
PickupMerchantItem - Puts an item available for purchase from a vendor onto the cursor
RepairAllItems - Attempts to repair all of the player's damaged items
ShowContainerSellCursor - Changes the cursor to prepare for selling an item in the player's bags to a vendor
ShowRepairCursor - Puts the cursor in item repair mode
Minigame functions

GetMinigameState - This is a Blizzard internal functioninternal
GetMinigameType - This is a Blizzard internal functioninternal
MakeMinigameMove - This is a Blizzard internal functioninternal
Modified click functions

GetModifiedClick - Returns the keys/buttons bound for a modified click action
GetModifiedClickAction - Returns the token identifying a modified click action
GetNumModifiedClickActions - Returns the number of modified click actions registered
IsModifiedClick - Determines if the modifiers specified in the click-type had been held down while the button click occurred.
SetModifiedClick - Sets a modified click for a given action
Money functions

AddTradeMoney - Adds the money currently on the cursor to the trade window
CanWithdrawGuildBankMoney - Returns whether the player is allowed to withdraw money from the guild bank
CursorHasMoney - Returns whether an amount of the player's money is on the cursor
DepositGuildBankMoney - Deposits money into the guild bankconfirmation
DropCursorMoney - Drops any money currently on the cursor, returning it to where it was taken from
GetCoinIcon - Returns an icon representing an amount of money
GetCoinText - Returns a localized string describing an amount of money
GetCoinTextureString - Returns a string with embedded coin icons describing an amount of money
GetCursorMoney - Returns the amount of money currently on the cursor
GetMoney - Returns the total amount of money currently in the player's possession
GetPlayerTradeMoney - Returns the amount of money offered for trade by the player
GetQuestLogRequiredMoney - Returns the amount of money required for the selected quest in the quest log
GetQuestLogRewardMoney - Returns the money reward for the selected quest in the quest log
GetSendMailMoney - Returns the amount of money to be sent with the outgoing message
GetTargetTradeMoney - Returns the amount of money offered for trade by the target
PickupGuildBankMoney - Puts money from the guild bank onto the cursor
PickupPlayerMoney - Puts an amount of the player's money onto the cursor
PickupTradeMoney - Puts money offered by the player for trade onto the cursor
SetSendMailMoney - Sets the amount of money to be sent with the outgoing message
SetTradeMoney - Offers an amount of money for trade
WithdrawGuildBankMoney - Attempts to withdraw money from the guild bankconfirmation
Movement functions

AscendStop - Stops movement initiated by [[docs/api/JumpOrAscendStart|`JumpOrAscendStart`]]protected
DescendStop - Stops movement initiated by [[docs/api/SitStandOrDescendStart|`SitStandOrDescendStart`]]protected
FollowUnit - Causes the player character to automatically follow another unit
InteractUnit - Interacts with (as with right-clicking on) a unitprotected
JumpOrAscendStart - Causes the player character to jump (or begins ascent if swimming or flying)protected
MoveAndSteerStart - Begins moving the player character forward while steering via mouse movementprotected
MoveAndSteerStop - Ends movement initiated by [[docs/api/MoveAndSteerStart|`MoveAndSteerStart`]]protected
MoveBackwardStart - Begins moving the player character backwardprotected
MoveBackwardStop - Ends movement initiated by [[docs/api/MoveBackwardStart|`MoveBackwardStart`]]protected
MoveForwardStart - Begins moving the player character forwardprotected
MoveForwardStop - Ends movement initiated by [[docs/api/MoveForwardStart|`MoveForwardStart`]]protected
PitchDownStart - Begins adjusting the player character's angle of vertical movement downwardprotected
PitchDownStop - Ends movement initiated by [[docs/api/PitchDownStart|`PitchDownStart`]]protected
PitchUpStart - Begins adjusting the player character's angle of vertical movement upwardprotected
PitchUpStop - Ends movement initiated by [[docs/api/PitchUpStart|`PitchUpStart`]]protected
SitStandOrDescendStart - Causes the player character to sit down if standing and vice versa (or begins descent if swimming or flying)protected
StrafeLeftStart - Begins moving the player character sideways to his or her leftprotected
StrafeLeftStop - Ends movement initiated by [[docs/api/StrafeLeftStart|`StrafeLeftStart`]]protected
StrafeRightStart - Begins moving the player character sideways to his or her rightprotected
StrafeRightStop - Ends movement initiated by [[docs/api/StrafeRightStart|`StrafeRightStart`]]protected
ToggleAutoRun - Starts or stops the player character automatically moving forwardprotected
ToggleRun - Switches the character's ground movement mode between running and walkingprotected
TurnLeftStart - Begins turning the player character to the leftprotected
TurnLeftStop - Ends movement initiated by [[docs/api/TurnLeftStart|`TurnLeftStart`]]protected
TurnOrActionStart - Begins character steering or interaction (equivalent to right-clicking in the 3-D world)protected
TurnOrActionStop - Ends action initiated by [[docs/api/TurnOrActionStart|`TurnOrActionStart`]]protected
TurnRightStart - Begins turning the player character to the rightprotected
TurnRightStop - Ends movement initiated by [[docs/api/TurnRightStart|`TurnRightStart`]]protected
Multi-cast actions

SetMultiCastSpell - Sets a multi-cast action slot to a given spell
NPC "Gossip" Dialog functions

CloseGossip - Ends an NPC "gossip" interaction
GetGossipActiveQuests - Returns a list of quests which can be turned in to the current Gossip NPC
GetGossipAvailableQuests - Returns a list of quests available from the current Gossip NPC
GetGossipOptions - Returns a list of interaction options for the Gossip NPC
GetGossipText - Returns greeting or other text to be displayed in an NPC dialog
GetNumGossipActiveQuests - Returns the number of quests which can be turned in to the current Gossip NPC
GetNumGossipAvailableQuests - Returns the number of quests available from the current Gossip NPC
GetNumGossipOptions - Returns the number of non-quest dialog options for the current Gossip NPC
SelectGossipActiveQuest - Chooses a quest which can be turned in to the current Gossip NPC
SelectGossipAvailableQuest - Chooses a quest available from the current Gossip NPC
SelectGossipOption - Chooses and activates an NPC dialog option
Objectives tracking functions

AddQuestWatch - Adds a quest to the objectives tracker
AddTrackedAchievement - Adds an achievement to the objectives tracker UI
GetNumQuestWatches - Returns the number of quests included in the objectives tracker
GetNumTrackedAchievements - Returns the number of achievements flagged for display in the objectives tracker UI
GetQuestIndexForWatch - Returns the quest log index of a quest in the objectives tracker
GetQuestLogSpecialItemCooldown - Returns cooldown information about an item associated with a current quest
GetQuestLogSpecialItemInfo - Returns information about a usable item associated with a current quest
GetTrackedAchievements - Returns numeric IDs of the achievements flagged for display in the objectives tracker UI
IsQuestLogSpecialItemInRange - Returns whether the player's target is in range for using an item associated with a current quest
IsQuestWatched - Returns whether a quest from the quest log is listed in the objectives tracker
IsTrackedAchievement - Returns whether an achievement is flagged for display in the objectives tracker UI
RemoveQuestWatch - Removes a quest from the objectives tracker
RemoveTrackedAchievement - Removes an achievement from the objectives tracker UI
UseQuestLogSpecialItem - Uses the item associated with a current questprotected
Party functions

AcceptGroup - Accepts an invitation to join a party or raid
ClearPartyAssignment - Removes a group role assignment from a member of the player's party or raidprotected
ConfirmReadyCheck - Responds to a ready check
ConvertToRaid - Converts a party to a raid
DeclineGroup - Declines an invitation to join a party or raid
DoReadyCheck - Initiates a ready check
GetNumPartyMembers - Returns the number of additional members in the player's party
GetPartyAssignment - Returns whether a party/raid member is assigned a specific group role
GetPartyLeaderIndex - Returns the index of the current party leader
GetPartyMember - Returns whether a party member exists at a given index
GetReadyCheckStatus - Returns a unit's status during a ready check
GetReadyCheckTimeLeft - Returns the amount of time left on the current ready check
GetRealNumPartyMembers - Returns the number of members in the player's non-battleground party
InviteUnit - Invites a character to the player's party or raid
IsPartyLeader - Returns whether the player is the party leader
IsRealPartyLeader - Returns whether the player is the leader of a non-battleground party
LeaveParty - Exits the current party or raid
PromoteToLeader - Promotes a player to party/raid leader
SetPartyAssignment - Assigns a group role to a member of the player's party or raidprotected
UninviteUnit - Removes a character from the player's party or raid
UnitInParty - Returns whether a unit is a player unit in the player's party
UnitIsPartyLeader - Returns whether a unit is the leader of the player's party
UnitPlayerOrPetInParty - Returns whether a unit is in the player's party or belongs to a party member
Pet Stable functions

BuyStableSlot - Purchases the next available stable slot, without confirmationconfirmation
ClickStablePet - Inspects or moves a pet in the Pet Stable UI
ClosePetStables - Ends use of the Pet Stables UI/API
GetNextStableSlotCost - Returns the cost of the next available stable slot
GetNumStablePets - Returns the number of stabled pets
GetNumStableSlots - Returns the number of stable slots the player has purchased.
GetSelectedStablePet - Returns the index of the selected stable pet
GetStablePetFoodTypes - Returns the types of food that a stabled pet will eat
GetStablePetInfo - Returns information about a stabled pet
IsAtStableMaster - Returns whether the player is interacting with a Stable Master NPC
PickupStablePet - Puts a pet from the stables onto the cursor
SetPetStablePaperdoll - Sets the given Model to show the selected stabled pet
StablePet - Puts the player's current pet into the stables
UnstablePet - Makes a pet from the stables the active pet
Pet functions

CastPetAction - Casts a pet action on a specific targetprotected
DestroyTotem - Destroys a specific totem (or ghoul)
DisableSpellAutocast - Disables automatic casting of a pet spell
EnableSpellAutocast - Enables automatic casting of a pet spell
GetPetActionCooldown - Returns cooldown information about a given pet action slot
GetPetActionInfo - Returns information about a pet action
GetPetActionSlotUsable - Returns whether a pet action can be used
GetPetActionsUsable - Returns whether the pet's actions are usable
GetPetExperience - Returns information about experience points for the player's pet
GetPetFoodTypes - Returns a list of the food types the player's pet will eat
GetPetHappiness - Returns information about the player's pet's happiness
GetPetIcon - Returns an icon representing the current pet
GetPetTalentTree - Returns the name of the talent tree used by the player's current pet
GetPetTimeRemaining - Returns the time remaining before a temporary pet is automatically dismissed
GetTotemInfo - Returns information on a currently active totem (or ghoul)
GetTotemTimeLeft - Returns the time remaining before a totem (or ghoul) automatically disappears
HasPetSpells - Returns whether the player's current pet has a spellbook
HasPetUI - Returns whether the pet UI should be displayed for the player's pet
IsPetAttackActive - Returns whether the pet's attack action is currently active
PetAbandon - Releases the player's petconfirmation
PetAggressiveMode - Enables aggressive mode for the player's petprotected
PetAttack - Instructs the pet to attackprotected
PetCanBeAbandoned - Returns whether the player's pet can be abandoned
PetCanBeDismissed - Returns whether a Dismiss Pet command should be available for the player's pet
PetCanBeRenamed - Returns whether the player's pet can be renamed
PetDefensiveMode - Enables defensive mode for the player's petprotected
PetDismiss - Dismisses the currently controlled pet
PetFollow - Instructs the pet to follow the playerprotected
PetHasActionBar - Returns whether the player's current pet has an action bar
PetPassiveMode - Enables passive mode for the player's petprotected
PetRename - Renames the currently controlled pet
PetStopAttack - Instructs the pet to stop attackingprotected
PetWait - Instructs the pet to stay at its current locationprotected
PickupPetAction - Puts the contents of a pet action slot onto the cursor or the cursor contents into a pet action slot
TargetTotem - Targets one of the player's totems (or a Death Knight's ghoul)protected
TogglePetAutocast - Turns autocast on or off for a pet actionprotected
Petition functions

BuyGuildCharter - Purchases a guild charter
BuyPetition - Purchases an arena team charter
CanSignPetition - Returns whether the player can sign the currently offered petition
ClickPetitionButton - This function is deprecated and should no longer be useddeprecated
ClosePetition - Ends interaction with a petition
ClosePetitionVendor - Ends interaction with an arena registrar
GetGuildCharterCost - Returns the cost to purchase a guild charter
GetNumPetitionItems - This function is deprecated and should no longer be useddeprecated
GetNumPetitionNames - Returns the number of people who have signed the open petition
GetPetitionInfo - Returns information about the currently open petition
GetPetitionItemInfo - Returns information about a purchasable arena team charter
GetPetitionNameInfo - Returns the name of a character who has signed the currently offered petition
HasFilledPetition - Returns whether the player has a completed petition
OfferPetition - Requests an arena or guild charter signature from the targeted unit
RenamePetition - Renames the guild or arena team to be created by the open petition
SignPetition - Signs the currently offered petition
TurnInArenaPetition - Turns in a petition creating an arena team
TurnInGuildCharter - Turns in a completed guild charter
TurnInPetition - This function is deprecated and should no longer be useddeprecated
Player information functions

AcceptResurrect - Accepts an offered resurrection spell
AcceptXPLoss - Resurrects the player at a spirit healer, accepting possible consequencesconfirmation
CanHearthAndResurrectFromArea - Returns whether the player is in a world PvP zone offering an exit option
CheckBinderDist - Returns whether the player is in range of an NPC that can set the Hearthstone location
CheckSpiritHealerDist - Returns whether the player is in range of a spirit healer
ConfirmBinder - Sets the player's Hearthstone to the current location
DeclineResurrect - Declines an offered resurrection spell
Dismount - Dismounts from the player's summoned mount
GetBindLocation - Returns the name of the player's Hearthstone location
GetComboPoints - Returns the player's number of combo points on the current target
GetCorpseRecoveryDelay - Returns the amount of time left until the player can recover their corpse
GetCurrentTitle - Returns the currently selected player title
GetNumTitles - Returns the number of available player titles
GetPlayerFacing - Returns the player's orientation (heading)
GetQuestLogRewardTitle - Returns the title reward for the selected quest in the quest log
GetRealmName - Returns the name of the player's realm (server name)
GetReleaseTimeRemaining - Returns the amount of time remaining until the player's spirit is automatically released when dead
GetResSicknessDuration - Returns the duration of resurrection sickness at the player's current level
GetRestState - Returns the player's current rest state
GetRuneCooldown - Returns cooldown information about one of the player's rune resources
GetRuneCount - Returns the number of available rune resources in one of the player's rune slots
GetRuneType - Returns the type of one of the player's rune resources
GetTimeToWellRested - This function is deprecated and should no longer be useddeprecated
GetTitleName - Returns the text of an available player title
GetUnitPitch - Returns the player's current pitch (slope or angle of movement)
GetUnitSpeed - Returns a unit's current speed
GetXPExhaustion - Returns the amount of rested bonus experience available
HasFullControl - Returns whether the player character can be controlled
HasKey - Returns whether the player has any keys stored in the Keyring container
HasSoulstone - Returns whether the player can instantly resurrect in place
HasWandEquipped - Returns whether the player has a wand equipped
IsFalling - Returns whether the player is currently falling
IsFlyableArea - Returns whether flight is allowed on the continent where the player is currently located
IsFlying - Returns whether the player is currently flying
IsInInstance - Returns whether the player is in an instance (and its type if applicable)
IsIndoors - Returns whether the player is currently indoors
IsMounted - Returns whether the player is mounted
IsOutOfBounds - Returns whether the player is currently outside the bounds of the world
IsOutdoors - Returns whether the player is currently outdoors
IsResting - Returns whether the player is currently resting
IsStealthed - Returns whether the player is currently stealthed
IsSwimming - Returns whether the player is currently swimming
IsTitleKnown - Returns whether the player has earned the ability to display a title
IsXPUserDisabled - Returns whether experience gain has been disabled for the player
OffhandHasWeapon - Returns whether the player has an equipped weapon in the off hand slot
OpeningCinematic - Displays the introductory cinematic for the player's race
RepopMe - Releases the player's spirit to the nearest graveyard
ResurrectGetOfferer - Returns the name of a unit offering to resurrect the player
ResurrectHasSickness - Returns whether accepting an offered resurrection spell will cause the player to suffer Resurrection Sickness
ResurrectHasTimer - Returns whether the player must wait before resurrecting
RetrieveCorpse - Confirms resurrection by returning to the player's corpse
SetCurrentTitle - Changes a player's displayed title
ShowCloak - Enables or disables display of the player's cloak
ShowHelm - Enables or disables display of the player's headgear
ShowingCloak - Returns whether the player's cloak is displayed
ShowingHelm - Returns whether the player's headgear is displayed
ToggleSheath - Sheaths or unsheaths the player character's hand-held items
UnitCharacterPoints - Returns the player's number of unused talent points and profession slots
UnitXP - Returns the player's current amount of experience points
UnitXPMax - Return the total amount of experience points required for the player to gain a level
UseSoulstone - Instantly resurrects the player in place, if possible
PvP functions

CanHearthAndResurrectFromArea - Returns whether the player is in a world PvP zone offering an exit option
CanQueueForWintergrasp - Returns whether the player can queue for Wintergrasp
GetHonorCurrency - Returns the player's amount of honor points
GetNumWorldStateUI - Returns the number of world state UI elements
GetPVPDesired - Returns whether the player has manually enabled PvP status
GetPVPLifetimeStats - Returns the player's lifetime total of honorable kills and highest rank achieved
GetPVPRankInfo - Returns information about a given PvP rank index
GetPVPRankProgress - This function is deprecated and should no longer be useddeprecated
GetPVPSessionStats - Returns the number of kills and honor points scored by the player since logging in
GetPVPTimer - Returns the amount of time until the player's PVP flag expires
GetPVPYesterdayStats - Returns the number of kills and honor points scored by the player on the previous day
GetWintergraspWaitTime - Returns the amount of time remaining until the next PvP event in the Wintergrasp zone
GetWorldPVPQueueStatus - Returns information on the players queue for a world PvP zone
GetWorldStateUIInfo - Returns information about a world state UI element
GetZonePVPInfo - Returns PVP information about the current area
HearthAndResurrectFromArea - Instantly exits the current world PvP zone, returning to the player's Hearthstone location
IsPVPTimerRunning - Returns whether the player's PvP flag will expire after a period of time
IsSubZonePVPPOI - Returns whether the current area has PvP (or other) objectives to be displayed
QuestFlagsPVP - Returns whether accepting the offered quest will flag the player for PvP
SetPVP - Enables or disables the player's desired PvP status
TogglePVP - Switches the player's desired PvP status
UnitIsPVPFreeForAll - Returns whether a unit is flagged for free-for-all PvP
UnitIsPVPSanctuary - Returns whether a unit is in a Sanctuary area preventing PvP activity
UnitPVPName - Returns the name of a unit including the unit's current title
UnitPVPRank - Returns a unit's PVP rank as a numberdeprecated
Quest functions

AbandonQuest - Confirms abandoning a questconfirmation
AcceptQuest - Accepts the quest offered by a questgiver
AddQuestWatch - Adds a quest to the objectives tracker
CloseQuest - Ends interaction with a questgiver
CollapseQuestHeader - Collapses a header in the quest log
CompleteQuest - Begins turning in a quest to a questgiver
ConfirmAcceptQuest - Accepts a quest started by another group member
DeclineQuest - Declines a quest.
ExpandQuestHeader - Expands a quest header in the quest log
GetAbandonQuestItems - Returns information about items that would be destroyed by abandoning a quest
GetAbandonQuestName - Returns the name of the quest being abandoned
GetActiveLevel - Returns the level of a quest which can be turned in to the current Quest NPC
GetActiveTitle - Returns the name of a quest which can be turned in to the current Quest NPC
GetAvailableLevel - Returns the level of a quest available from the current Quest NPC
GetAvailableTitle - Returns the name of a quest available from the current Quest NPC
GetDailyQuestsCompleted - Returns the number of daily quests the player has completed today
GetGossipActiveQuests - Returns a list of quests which can be turned in to the current Gossip NPC
GetGossipAvailableQuests - Returns a list of quests available from the current Gossip NPC
GetGreetingText - Returns the greeting text displayed for quest NPCs with multiple quests
GetMaxDailyQuests - Returns the maximum number of daily quests that can be completed each day.
GetNumActiveQuests - Returns the number of quests which can be turned in to the current Quest NPC
GetNumAvailableQuests - Returns the number quests available from the current Quest NPC
GetNumGossipActiveQuests - Returns the number of quests which can be turned in to the current Gossip NPC
GetNumGossipAvailableQuests - Returns the number of quests available from the current Gossip NPC
GetNumQuestChoices - Returns the number of available quest rewards from which the player must choose one upon completing the quest presented by a questgiver
GetNumQuestItems - Returns the number of different items required to complete the quest presented by a questgiver
GetNumQuestLeaderBoards - Returns the number of quest objectives for a quest in the player's quest log
GetNumQuestLogChoices - Returns the number of available item reward choices for the selected quest in the quest log
GetNumQuestLogEntries - Returns the number of quests and headers in the quest log
GetNumQuestLogRewards - Returns the number of item rewards for the selected quest in the quest log
GetNumQuestRewards - Returns the number of different items always awarded upon completing the quest presented by a questgiver
GetNumQuestWatches - Returns the number of quests included in the objectives tracker
GetNumWorldStateUI - Returns the number of world state UI elements
GetObjectiveText - Returns a summary of objectives for the quest offered by a questgiver
GetProgressText - Returns the quest progress text presented by a questgiver
GetQuestBackgroundMaterial - Returns background display style information for a questgiver dialog
GetQuestDifficultyColor - Returns a table of color values indicating the difficulty of a quest's level as compared to the player'sblizzardui
GetQuestGreenRange - Returns the level range in which a quest below the player's level still rewards XP
GetQuestIndexForTimer - Returns the quest log index of a timed quest's timer
GetQuestIndexForWatch - Returns the quest log index of a quest in the objectives tracker
GetQuestItemInfo - Returns information about items in a questgiver dialog
GetQuestItemLink - Returns a hyperlink for an item in a questgiver dialog
GetQuestLink - Returns a hyperlink for an entry in the player's quest log
GetQuestLogChoiceInfo - Returns information about available item rewards for the selected quest in the quest log
GetQuestLogGroupNum - Returns the suggested group size for the selected quest in the quest log
GetQuestLogItemLink - Returns a hyperlink for an item related to the selected quest in the quest log
GetQuestLogLeaderBoard - Returns information about objectives for a quest in the quest log
GetQuestLogPushable - Return whether the selected quest in the quest log can be shared to party members
GetQuestLogQuestText - Returns the description and objective text for the selected quest in the quest log
GetQuestLogRequiredMoney - Returns the amount of money required for the selected quest in the quest log
GetQuestLogRewardHonor - Returns the honor reward for the selected quest in the quest log
GetQuestLogRewardInfo - Returns information about item rewards for the selected quest in the quest log
GetQuestLogRewardMoney - Returns the money reward for the selected quest in the quest log
GetQuestLogRewardSpell - Returns information about the spell reward for the selected quest in the quest log
GetQuestLogRewardTalents - Returns the talent point reward for the selected quest in the quest log
GetQuestLogRewardTitle - Returns the title reward for the selected quest in the quest log
GetQuestLogSelection - Returns the index of the selected quest in the quest log
GetQuestLogSpecialItemCooldown - Returns cooldown information about an item associated with a current quest
GetQuestLogSpecialItemInfo - Returns information about a usable item associated with a current quest
GetQuestLogSpellLink - Returns a hyperlink for a spell in the selected quest in the quest log
GetQuestLogTimeLeft - Returns time remaining for the selected quest in the quest log
GetQuestLogTitle - Returns information about an entry in the player's quest log
GetQuestMoneyToGet - Returns the amount of money required to complete the quest presented by a questgiver
GetQuestResetTime - Returns the amount of time remaining until the daily quest period resets
GetQuestReward - Finishes turning in a quest to a questgiver, selecting an item reward if applicable
GetQuestSpellLink - Returns a hyperlink for a spell in a questgiver dialog
GetQuestText - Returns the text for the quest offered by a questgiver
GetQuestTimers - Returns a list of the times remaining for any active timed quests
GetRewardHonor - Returns the amount of honor points awarded when completing a quest
GetRewardMoney - Returns the amount of money awarded when completing a quest
GetRewardSpell - Returns information about a spell awarded when completing a quest
GetRewardTalents - Returns the talent points awarded when completing a quest
GetRewardText - Returns questgiver dialog to be displayed when completing a quest
GetRewardTitle - Returns the title awarded when completing a quest
GetSuggestedGroupNum - Returns the suggested group size for attempting the quest currently offered by a questgiver
GetTitleText - Returns the title text for the quest presented by a questgiver
GetWorldStateUIInfo - Returns information about a world state UI element
IsActiveQuestTrivial - Returns whether a quest which can be turned in to the current Quest NPC is trivial at the player's level
IsAvailableQuestTrivial - Returns whether a quest available from the current Quest NPC is trivial at the player's level
IsCurrentQuestFailed - Returns whether the player has failed the selected quest in the quest log
IsQuestCompletable - Returns whether the player can complete the quest presented by a questgiver
IsQuestLogSpecialItemInRange - Returns whether the player's target is in range for using an item associated with a current quest
IsQuestWatched - Returns whether a quest from the quest log is listed in the objectives tracker
IsUnitOnQuest - Returns whether a unit is on one of the quests in the player's quest log
QuestChooseRewardError - Causes the default UI to display an error message indicating that the player must choose a reward to complete the quest presented by a questgiver
QuestFlagsPVP - Returns whether accepting the offered quest will flag the player for PvP
QuestLogPushQuest - Shares a quest with other group members
RemoveQuestWatch - Removes a quest from the objectives tracker
SelectActiveQuest - Selects a quest which can be turned in to the current Quest NPC
SelectAvailableQuest - Chooses a quest available from the current Quest NPC
SelectGossipActiveQuest - Chooses a quest which can be turned in to the current Gossip NPC
SelectGossipAvailableQuest - Chooses a quest available from the current Gossip NPC
SelectQuestLogEntry - Selects a quest from the quest log
SetAbandonQuest - Begins the process of abandoning a quest in the player's quest log
UseQuestLogSpecialItem - Uses the item associated with a current questprotected
Raid functions

AcceptGroup - Accepts an invitation to join a party or raid
ClearPartyAssignment - Removes a group role assignment from a member of the player's party or raidprotected
ConfirmReadyCheck - Responds to a ready check
ConvertToRaid - Converts a party to a raid
DeclineGroup - Declines an invitation to join a party or raid
DemoteAssistant - Demotes the given player from raid assistant status
DoReadyCheck - Initiates a ready check
GetNumRaidMembers - Returns the number of members in the player's raid
GetPartyAssignment - Returns whether a party/raid member is assigned a specific group role
GetRaidRosterInfo - Returns information about a member of the player's raid
GetRaidRosterSelection - Returns the index of the selected unit in the raid roster
GetRaidTargetIndex - Returns the index of the raid target marker on a unit
GetReadyCheckStatus - Returns a unit's status during a ready check
GetReadyCheckTimeLeft - Returns the amount of time left on the current ready check
GetRealNumRaidMembers - Returns the number of members in the player's non-battleground raid
InviteUnit - Invites a character to the player's party or raid
IsRaidLeader - Returns whether the player is the raid leader
IsRaidOfficer - Returns whether the player is a raid assistant
IsRealRaidLeader - Returns whether the player is the leader of a non-battleground raid
LeaveParty - Exits the current party or raid
PromoteToAssistant - Promotes a raid member to raid assistant
PromoteToLeader - Promotes a player to party/raid leader
SetPartyAssignment - Assigns a group role to a member of the player's party or raidprotected
SetRaidRosterSelection - Selects a unit in the raid roster
SetRaidSubgroup - Moves a raid member to a non-full raid subgroup
SetRaidTarget - Puts a raid target marker on a unit
SwapRaidSubgroup - Swaps two raid members between subgroups in the raid
UninviteUnit - Removes a character from the player's party or raid
UnitInRaid - Returns whether a unit is in the player's raid
UnitIsPartyLeader - Returns whether a unit is the leader of the player's party
UnitIsRaidOfficer - Returns whether a unit is a raid assistant in the player's raid
UnitPlayerOrPetInRaid - Returns whether a unit is in the player's raid or belongs to a raid member
UnitTargetsVehicleInRaidUI - Returns whether attempts to target a unit should target its vehicle
Recruit-a-friend functions

AcceptLevelGrant - Accepts a level offered by the player's Recruit-a-Friend partner
CanGrantLevel - Returns whether the player can give levels to a Recruit-a-Friend partner
CanSummonFriend - Returns whether a unit can be summoned via Recruit-a-Friend
DeclineLevelGrant - Refuses a level offered by the player's Recruit-a-Friend partner
GetSummonFriendCooldown - Returns cooldown information about the player's Summon Friend ability
GrantLevel - Grants a level to the player's Recruit-a-Friend partner
IsReferAFriendLinked - Returns whether a unit's account is linked to the player's via the Recruit-a-Friend program
SummonFriend - Summons a unit whose account is linked to the player's via the Recruit-a-Friend program
Secure execution utility functions

InCombatLockdown - Returns whether the user interface is protected due to combat
forceinsecure - Causes the current execution path to continue outside the secure environment
hooksecurefunc - Add a function to be called after execution of a secure function
issecure - Returns whether the current execution path is secure
issecurevariable - Returns whether a variable is secure (and if not, which addon tainted it)
newproxy - Creates a zero-length userdata with an optional metatable.luaapi
securecall - Calls a function without tainting the execution path
Skill functions

AbandonSkill - Unlearns a skill (used only for professions)confirmation
CollapseSkillHeader - Collapses a group header in the Skills UI
ExpandSkillHeader - Expands a group header in the Skills UI
GetNumSkillLines - Returns the number of entries in the Skills UI list
GetSelectedSkill - Returns the index of the selected skill in the Skills UI
GetSkillLineInfo - Returns information about an entry in the Skills UI list
SetSelectedSkill - Selects a skill in the Skills UI
Social functions

AddFriend - Adds a character to the friends list
AddIgnore - Adds a character to the ignore list
AddOrDelIgnore - Adds the named character to the ignore list, or removes the character if already in the ignore list
AddOrRemoveFriend - Adds the named character to the friends list, or removes the character if already in the friends list
DelIgnore - Removes a player from the ignore list
GetFriendInfo - Returns information about a character on the player's friends list
GetIgnoreName - Returns the name of a character on the ignore list
GetNumFriends - Returns the number of characters on the player's friends list
GetNumIgnores - Returns the number of characters on the player's ignore list
GetNumWhoResults - Returns the number of results from a Who system query
GetSelectedFriend - Returns the index of the selected character in the player's friends list
GetSelectedIgnore - Returns the index of the selected character in the player's ignore list
GetWhoInfo - Returns information about a character in the Who system query results
IsIgnored - Returns whether a unit is on the player's ignore list
RemoveFriend - Removes a character from the friends list
SendWho - Requests a list of characters meeting given search criteria from the server
SetFriendNotes - Sets note text associated with a friends list entry
SetSelectedFriend - Selects a character in the player's friends list
SetSelectedIgnore - Selects a character in the player's ignore list
SetWhoToUI - Changes the delivery method for results from [[docs/api/SendWho|`SendWho()`]] queries
ShowFriends - Requests friends/ignore list information from the server
SortWho - Sorts the Who system query results list
Socketing functions

AcceptSockets - Accepts changes made in the Item Socketing UIconfirmation
ClickSocketButton - Picks up or places a gem in the Item Socketing UI
CloseSocketInfo - Ends interaction with the Item Socketing UI, discarding any changes made
GetExistingSocketInfo - Returns information about a permanently socketed gem
GetExistingSocketLink - Returns a hyperlink for a permanently socketed gem
GetItemGem - Returns information about gems socketed in an item
GetNewSocketInfo - Returns information about a gem added to a socket
GetNewSocketLink - Returns a hyperlink for a gem added to a socket
GetNumSockets - Returns the number of sockets on the item currently being socketed
GetSocketItemBoundTradeable - Returns whether the item open for socketing is temporarily tradeable
GetSocketItemInfo - Returns information about the item currently being socketed
GetSocketItemRefundable - Returns whether the item open for socketing is temporarily refundable
GetSocketTypes - Returns information about the gem types usable in a socket
SocketContainerItem - Opens an item from the player's bags for socketing
SocketInventoryItem - Opens an equipped item for socketing
Sound functions

PlayMusic - Plays an audio file as background music
PlaySound - Plays one of WoW's built-in sound effects
PlaySoundFile - Plays an audio file at a given path
Sound_ChatSystem_GetInputDriverNameByIndex - Returns the name of the given chat system sound input driver
Sound_ChatSystem_GetNumInputDrivers - Returns the number of chat system sound input drivers
Sound_ChatSystem_GetNumOutputDrivers - Returns the number of chat system sound output drivers
Sound_ChatSystem_GetOutputDriverNameByIndex - Returns the name of the given chat system sound output driver
Sound_GameSystem_GetInputDriverNameByIndex - Returns the name of the given game sound input driver
Sound_GameSystem_GetNumInputDrivers - Returns the number of game sound input drivers
Sound_GameSystem_GetNumOutputDrivers - Returns the number of game sound output drivers
Sound_GameSystem_GetOutputDriverNameByIndex - Returns the name of the given game sound output driver
Sound_GameSystem_RestartSoundSystem - Restarts the game's sound systems
StopMusic - Stops currently playing in-game music
VoiceEnumerateCaptureDevices - Returns the name of an audio input device for voice chat
VoiceEnumerateOutputDevices - Returns the name of an audio output device for voice chat
VoiceGetCurrentCaptureDevice - Returns the index of the current voice capture device
VoiceGetCurrentOutputDevice - Returns the index of the current voice output device
VoiceSelectCaptureDevice - Selects an audio input device for voice chat
VoiceSelectOutputDevice - Selects an audio output device for voice chat
Spell functions

CastSpell - Casts a from the spellbookprotected
CastSpellByID - Casts a spell specified by id (optionally on a specified unit)protected
CastSpellByName - Casts a spell specified by name (optionally on a specified unit)protected
CursorHasSpell - Returns whether a spell is on the cursor
DisableSpellAutocast - Disables automatic casting of a pet spell
EnableSpellAutocast - Enables automatic casting of a pet spell
GetItemSpell - Returns information about the spell cast by an item's "Use:" effect
GetKnownSlotFromHighestRankSlot - Returns the spellbook slot for the player's highest known rank of a spell
GetNumSpellTabs - Returns the number of tabs in the player's spellbook
GetQuestLogRewardSpell - Returns information about the spell reward for the selected quest in the quest log
GetRewardSpell - Returns information about a spell awarded when completing a quest
GetSpellAutocast - Returns information about automatic casting for a spell in the spellbook
GetSpellCooldown - Returns cooldown information about a spell in the spellbook
GetSpellCount - Returns the number of times a spell can be cast
GetSpellInfo - Returns information about a spell
GetSpellLink - Returns a hyperlink for a spell
GetSpellName - Returns the name and secondary text for a spell in the spellbook
GetSpellTabInfo - Returns information about a tab in the spellbook
GetSpellTexture - Returns the icon texture path for a spell
HasPetSpells - Returns whether the player's current pet has a spellbook
IsAttackSpell - Returns whether a spell is the standard melee Attack spell
IsAutoRepeatSpell - Returns whether a spell is an automatically repeating spell
IsConsumableSpell - Returns whether casting a spell consumes a reagent item
IsCurrentSpell - Returns whether a spell is currently being used
IsHarmfulSpell - Returns whether a spell can be used against hostile units
IsHelpfulSpell - Returns whether an item can be used on the player or friendly units
IsPassiveSpell - Returns whether a spell is passive (cannot be cast)
IsSelectedSpell - Returns whether a spell is currently selected in the spellbook
IsSpellInRange - Returns whether the player is in range to cast a spell on a unit
IsSpellKnown - Returns whether the player (or pet) knows a spell
IsUsableSpell - Returns whether or not a given spell is usable or cannot be used due to lack of mana
PickupSpell - Puts a spell from the player's or pet's spellbook onto the cursor
SetMultiCastSpell - Sets a multi-cast action slot to a given spell
SpellCanTargetGlyph - Returns whether the spell currently awaiting a target requires a glyph slot to be chosen
SpellCanTargetItem - Returns whether the spell currently awaiting a target requires an item to be chosen
SpellCanTargetUnit - Returns whether the spell currently awaiting a target can target a given unit
SpellHasRange - Returns whether an item has a range limitation for its use
SpellIsTargeting - Returns whether a spell is currently awaiting a target
SpellStopCasting - Stops casting or targeting the spell in progressprotected
SpellStopTargeting - Cancels the spell currently awaiting a targetprotected
SpellTargetItem - Casts the spell currently awaiting a target on an itemprotected
SpellTargetUnit - Casts the spell currently awaiting a target on a unitprotected
ToggleSpellAutocast - Enables or disables automatic casting of a spell
UnitCastingInfo - Returns information about the spell a unit is currently casting
UnitChannelInfo - Returns information about the spell a unit is currently channeling
UpdateSpells - Requests spellbook information from the server
Stance/Shapeshift functions

CancelShapeshiftForm - Cancels the current shapeshift form
CastShapeshiftForm - Casts an ability on the stance/shapeshift barprotected
GetNumShapeshiftForms - Returns the number of abilities to be presented on the stance/shapeshift bar
GetShapeshiftForm - Returns the index of the active ability on the stance/shapeshift bar
GetShapeshiftFormCooldown - Returns cooldown information about an ability on the stance/shapeshift bar
GetShapeshiftFormInfo - Returns information about an ability on the stance/shapeshift bar
Stat information functions

GetArmorPenetration - Returns the percentage of enemy armor ignored due to the player's Armor Penetration Rating
GetAttackPowerForStat - Returns the attack power bonus provided by one of the player's basic statistics
GetBlockChance - Returns the player's percentage chance to block with a shield
GetCombatRating - Returns the value of a combat rating for the player
GetCombatRatingBonus - Returns the percentage effect for the player's current value of a given combat rating
GetCritChance - Returns the player's melee critical strike chance
GetCritChanceFromAgility - Returns additional critical strike chance provided by Agility
GetDamageBonusStat - Returns the index of the basic statistic that provides increased physical damage
GetDodgeChance - Returns the player's chance to dodge melee attacks
GetExpertise - Returns the player's current expertise value
GetExpertisePercent - Returns the reduction in chance to be dodged or parried conferred by the player's expertise value
GetManaRegen - Returns information about the player's mana regeneration rate
GetMaxCombatRatingBonus - Returns the maximum possible percentage bonus for a given combat rating
GetParryChance - Returns the player's parry chance
GetPowerRegen - Returns information about the player's mana/energy/etc regeneration rate
GetRangedCritChance - Returns the player's ranged critical strike chance
GetShieldBlock - Returns the amount of damage prevented when the player blocks with a shield
GetSpellBonusDamage - Returns the player's spell damage bonus for a spell school
GetSpellBonusHealing - Returns the player's amount of bonus healing
GetSpellCritChance - Returns the player's spell critical strike chance for a spell school
GetSpellCritChanceFromIntellect - Returns additional spell critical strike chance provided by Intellect
GetSpellPenetration - Returns the amount of enemy magic resistance ignored due to the player's Spell Penetration Rating
GetUnitHealthModifier - Returns the health modifier for the player's pet
GetUnitHealthRegenRateFromSpirit - Returns the increase in health regeneration rate provided by Spirit
GetUnitManaRegenRateFromSpirit - Returns the increase in mana regeneration rate provided by Spirit
GetUnitMaxHealthModifier - Returns the maximum health modifier for the player's pet
GetUnitPowerModifier - Returns the mana modifier for the player's pet
UnitArmor - Returns the player's or pet's armor value
UnitAttackBothHands - Returns information about the player's or pet's weapon skill
UnitAttackPower - Returns the player's or pet's melee attack power
UnitAttackSpeed - Returns information about the player's or pet's melee attack speed
UnitDamage - Returns information about the player's or pet's melee attack damage
UnitDefense - Returns the player's or pet's Defense skill
UnitRangedAttack - Returns information about the player's or pet's ranged weapon skill
UnitRangedAttackPower - Returns the player's or pet's ranged attack power
UnitRangedDamage - Returns information about the player's or pet's ranged attack damage and speed
UnitResistance - Returns information about the player's or pet's magic resistance
UnitStat - Returns information about a basic character statistic for the player or pet
Summoning functions

CancelSummon - Declines an offered summons
ConfirmSummon - Accepts an offered summons, teleporting the player to the summoner's location
GetSummonConfirmAreaName - Returns the destination area of an offered summons
GetSummonConfirmSummoner - Returns the name of the unit offering a summons to the player
GetSummonConfirmTimeLeft - Returns the amount of time remaining before an offered summons expires
PlayerCanTeleport - Returns whether the player can accept a summons
Talent functions

AddPreviewTalentPoints - Spends (or unspends) talent points in the Talent UI's preview mode
CheckTalentMasterDist - Returns whether the player is in range of an NPC that can reset talents
ConfirmTalentWipe - Resets the player's talentsconfirmation
GetActiveTalentGroup - Returns the index of the active talent specialization
GetGroupPreviewTalentPointsSpent - Returns the total number of points spent in the Talent UI's preview mode
GetNumTalentGroups - Returns the number of talent specs a character can switch among
GetNumTalentTabs - Returns the number of talent tabs for the player, pet, or inspect target
GetNumTalents - Returns the number of options in a talent tab
GetPetTalentTree - Returns the name of the talent tree used by the player's current pet
GetPreviewTalentPointsSpent - This function is deprecated and should no longer be useddeprecated
GetTalentInfo - Returns information about a talent option
GetTalentLink - Returns a hyperlink for a talent
GetTalentPrereqs - Returns information about prerequisites to learning a talent
GetTalentTabInfo - Returns information about a talent tab
GetUnspentTalentPoints - Returns the number of unused talent points
LearnPreviewTalents - Commits changes made in the Talent UI's preview modeconfirmation
LearnTalent - Learns a talent, spending one talent point
ResetGroupPreviewTalentPoints - Reverts all changes made in the Talent UI's preview mode
ResetPreviewTalentPoints - Reverts changes made within a specific tab in the Talent UI's preview mode
SetActiveTalentGroup - Switches the player's active talent specialization
UnitCharacterPoints - Returns the player's number of unused talent points and profession slots
Targeting functions

AssistUnit - Targets the unit targeted by another unitprotected
ClearFocus - Clears the player's focus unitprotected
ClearTarget - Clears the player's current targetprotected
FocusUnit - Changes the `focus` unitID to refer to a new unitprotected
SpellCanTargetUnit - Returns whether the spell currently awaiting a target can target a given unit
SpellTargetUnit - Casts the spell currently awaiting a target on a unitprotected
TargetLastEnemy - Targets the most recently targeted enemy unitprotected
TargetLastFriend - Targets the most recently targeted friendly unitprotected
TargetLastTarget - Targets the most recently targeted unitprotected
TargetNearest - Cycles targets through nearest units regardless of reaction/affiliationprotected
TargetNearestEnemy - Cycles your target through the nearest enemy unitsprotected
TargetNearestEnemyPlayer - Cycles targets through nearby enemy player unitsprotected
TargetNearestFriend - Cycles targets through nearby friendly unitsprotected
TargetNearestFriendPlayer - Cycles targets through nearby friendly player unitsprotected
TargetNearestPartyMember - Cycles targets through nearby party membersprotected
TargetNearestRaidMember - Cycles targets through nearby raid membersprotected
TargetUnit - Targets a unitprotected
Taxi/Flight functions

CloseTaxiMap - Ends interaction with the Taxi (flight master) UI
GetNumRoutes - Returns the number of hops from the current location to another taxi node
GetTaxiBenchmarkMode - Returns whether flight path benchmark mode is enabled
NumTaxiNodes - Returns the number of flight points on the taxi map
SetTaxiBenchmarkMode - Enables or disables flight path benchmark mode
SetTaxiMap - Sets a Texture object to show the appropriate flight map texture
TakeTaxiNode - Embarks on a taxi flight to a given destination
TaxiGetDestX - Returns the horizontal coordinate of a taxi flight's destination node
TaxiGetDestY - Returns the vertical coordinate of a taxi flight's destination node
TaxiGetSrcX - Returns the horizontal coordinate of a taxi flight's source node
TaxiGetSrcY - Returns the vertical coordinate of a taxi flight's source node
TaxiNodeCost - Returns the cost to fly to a given taxi node
TaxiNodeGetType - Returns the type of a flight pont
TaxiNodeName - Returns the name of a flight point
TaxiNodePosition - Returns the position of a flight point on the taxi map
TaxiNodeSetCurrent - Sets the "current" flight path node
UnitOnTaxi - Returns whether a unit is currently riding a flight path (taxi)
Threat functions

GetThreatStatusColor - Returns color values for a given threat status
IsThreatWarningEnabled - Returns whether the default Aggro Warning UI should currently be shown
UnitDetailedThreatSituation - Returns detailed information about the threat status of one unit against another
UnitThreatSituation - Returns the general threat status of a unit
Tracking functions

GetNumTrackingTypes - Returns the number of available minimap object/unit tracking abilities
GetTrackingInfo - Returns information about a given tracking option
GetTrackingTexture - Returns the texture of the active tracking ability
SetTracking - Enables a given minimap object/unit tracking ability
Trade functions

AcceptTrade - Accepts a proposed trade
AddTradeMoney - Adds the money currently on the cursor to the trade window
BeginTrade - This function is deprecated and should no longer be useddeprecated
CancelTrade - Cancels a trade in progress
CancelTradeAccept - Cancels the player's acceptance of a trade
ClickTargetTradeButton - Interacts with an item in a slot offered for trade by the target
ClickTradeButton - Picks up an item from or puts an item in a slot offered for trade by the player
CloseTrade - Ends interaction with the Trade UI, canceling any trade in progress
GetPlayerTradeMoney - Returns the amount of money offered for trade by the player
GetTargetTradeMoney - Returns the amount of money offered for trade by the target
GetTradePlayerItemInfo - Returns information about an item offered for trade by the player
GetTradePlayerItemLink - Returns a hyperlink for an item offered for trade by the player
GetTradeTargetItemInfo - Returns information about an item offered for trade by the target
GetTradeTargetItemLink - Returns a hyperlink for an item offered for trade by the target
InitiateTrade - Offers to trade with a given unit
PickupTradeMoney - Puts money offered by the player for trade onto the cursor
ReplaceTradeEnchant - Confirms replacement of an existing enchantment when offering an enchantment for tradeconfirmation
SetTradeMoney - Offers an amount of money for trade
Tradeskill functions

CloseTradeSkill - Ends interaction with the Trade Skill UI
CollapseTradeSkillSubClass - Collapses a group header in the trade skill listing
DoTradeSkill - Performs a trade skill recipe
ExpandTradeSkillSubClass - Expands a group header in the trade skill listing
GetFirstTradeSkill - Returns the index of the first non-header in the trade skill listing
GetNumTradeSkills - Returns the number of entries in the trade skill listing
GetTradeSkillCooldown - Returns the time remaining on a trade skill recipe's cooldown
GetTradeSkillDescription - Returns descriptive text for a tradeskill recipe
GetTradeSkillIcon - Returns the icon for a trade skill recipe
GetTradeSkillInfo - Returns information about a trade skill header or recipe
GetTradeSkillInvSlotFilter - Returns whether the trade skill listing is filtered by a given item equipment slot
GetTradeSkillInvSlots - Returns a list of recipe equipment slots for the current trade skill
GetTradeSkillItemLevelFilter - Returns the current settings for filtering the trade skill listing by required level of items produced
GetTradeSkillItemLink - Returns a hyperlink for the item created by a tradeskill recipe
GetTradeSkillItemNameFilter - Returns the current search text for filtering the trade skill listing by name
GetTradeSkillLine - Returns information about the current trade skill
GetTradeSkillListLink - Returns a hyperlink to the player's list of recipes for the current trade skill
GetTradeSkillNumMade - Returns the number of items created when performing a tradeskill recipe
GetTradeSkillNumReagents - Returns the number of different reagents required for a trade skill recipe
GetTradeSkillReagentInfo - Returns information about a reagent in a trade skill recipe
GetTradeSkillReagentItemLink - Returns a hyperlink for a reagent in a tradeskill recipe
GetTradeSkillRecipeLink - Returns hyperlink for a tradeskill recipe
GetTradeSkillSelectionIndex - Returns the index of the currently selected trade skill recipe
GetTradeSkillSubClassFilter - Returns whether the trade skill listing is filtered by a given item subclass
GetTradeSkillSubClasses - Returns a list of recipe subclasses for the current trade skill
GetTradeSkillTools - Returns a list of required tools for a trade skill recipe
GetTradeskillRepeatCount - Returns the number of times the trade skill recipe currently being performed will repeat
IsTradeSkillLinked - Returns whether the TradeSkill UI is showing another player's skill
SelectTradeSkill - Selects a recipe in the trade skill listing
SetTradeSkillInvSlotFilter - Filters the trade skill listing by equipment slot of items produced
SetTradeSkillItemLevelFilter - Filters the trade skill listing by required level of items produced
SetTradeSkillItemNameFilter - Filters the trade skill listing by name of recipe, item produced, or reagents
SetTradeSkillSubClassFilter - Filters the trade skill listing by subclass of items produced
StopTradeSkillRepeat - Cancels repetition of a trade skill recipe
TradeSkillOnlyShowMakeable - Filters the trade skill listing by whether the player currently has enough reagents for each recipe
TradeSkillOnlyShowSkillUps - Filters the trade skill listing by whether the player can gain skill ranks from each recipe
Trainer functions

BuyTrainerService - Purchases an ability or recipe available from a trainer
CheckTalentMasterDist - Returns whether the player is in range of an NPC that can reset talents
CloseTrainer - Ends interaction with a trainer
CollapseTrainerSkillLine - Collapses a group header in the trainer service listing
ExpandTrainerSkillLine - Expands a group header in the trainer service listing
GetNumTrainerServices - Returns the number of entries in the trainer service listing
GetTrainerGreetingText - Returns the current trainer's greeting text
GetTrainerSelectionIndex - Returns the index of the currently selected trainer service
GetTrainerServiceAbilityReq - Returns information about an ability required for purchasing a trainer service
GetTrainerServiceCost - Returns the cost to purchase a trainer service
GetTrainerServiceDescription - Returns the description of a trainer service
GetTrainerServiceIcon - Returns the icon for a trainer service
GetTrainerServiceInfo - Returns information about an entry in the trainer service listing
GetTrainerServiceItemLink - Returns a hyperlink for the item associated with a trainer service
GetTrainerServiceLevelReq - Returns the character level required to purchase a trainer service
GetTrainerServiceNumAbilityReq - Returns the number of ability requirements for purchasing a trainer service
GetTrainerServiceSkillLine - Returns the name of the skill line associated with a trainer service
GetTrainerServiceSkillReq - Returns information about the skill requirement for a trainer service
GetTrainerServiceStepIncrease - This function is deprecated and should no longer be useddeprecated
GetTrainerServiceStepReq - This function is deprecated and should no longer be useddeprecated
GetTrainerServiceTypeFilter - Returns whether the trainer service listing is filtered by a service status
GetTrainerSkillLineFilter - Returns whether the trainer service listing is filtered by a skill line
GetTrainerSkillLines - Returns the list of service group names available at a trainer
IsTradeskillTrainer - Returns whether the player is interacting with a trade skill trainer (as opposed to a class trainer)
IsTrainerServiceSkillStep - Returns whether a trainer service is a trade skill level
OpenTrainer - This function is deprecated and should no longer be useddeprecated
SelectTrainerService - Selects an entry in the trainer service listing
SetTrainerServiceTypeFilter - Filters the trainer service listing by service status
SetTrainerSkillLineFilter - Filters the trainer service listing by skill line
UnitCharacterPoints - Returns the player's number of unused talent points and profession slots
Tutorial functions

ClearTutorials - Disables contextual tutorial display
FlagTutorial - Marks a contextual tutorial as displayed so it doesn't appear again
ResetTutorials - Enables contextual tutorial display and clears the list of already displayed tutorials
UI/Visual functions

ConsoleAddMessage - Prints text to the debug console
ConsoleExec - Runs a console command
SetupFullscreenScale - Sizes a frame to take up the entire screen regardless of screen resolution
ShowCloak - Enables or disables display of the player's cloak
ShowHelm - Enables or disables display of the player's headgear
ShowingCloak - Returns whether the player's cloak is displayed
ShowingHelm - Returns whether the player's headgear is displayed
Unit functions

CanInspect - Returns whether a unit can be inspected
CheckInteractDistance - Returns whether the player is close enough to a unit for certain types of interaction
GetGuildInfo - Returns a unit's guild affiliation
GetMuteStatus - Returns whether a character is muted or silenced
GetPlayerInfoByGUID - Returns information about a player character identified by globally unique identifier
GetUnitName - Returns a string summarizing a unit's name and serverblizzardui
GetUnitSpeed - Returns a unit's current speed
IsIgnoredOrMuted - Returns whether a unit can be heard due to ignored/muted status
IsMuted - Returns whether a character has been muted by the player
IsUnitOnQuest - Returns whether a unit is on one of the quests in the player's quest log
SetPortraitTexture - Sets a Texture object to show a portrait of a unit
UnitAffectingCombat - Returns whether a unit is currently in combat
UnitAura - Returns information about buffs/debuffs on a unit
UnitBuff - Returns information about a buff on a unit
UnitCanAssist - Returns whether one unit can assist another
UnitCanAttack - Returns whether one unit can attack another
UnitCanCooperate - Returns whether two units can cooperate
UnitCastingInfo - Returns information about the spell a unit is currently casting
UnitChannelInfo - Returns information about the spell a unit is currently channeling
UnitClass - Returns a unit's class
UnitClassBase - Returns a unit's class
UnitClassification - Returns a unit's classification
UnitCreatureFamily - Returns the creature family of the unit
UnitCreatureType - Returns the creature type of a unit
UnitDebuff - Returns information about a debuff on a unit
UnitExists - Returns whether a unit exists
UnitFactionGroup - Returns a unit's primary faction allegiance
UnitGUID - Returns a unit's globally unique identifier
UnitHasRelicSlot - Returns whether a unit has a relic slot instead of a ranged weapon slot
UnitHealth - Returns a unit's current amount of health
UnitHealthMax - Returns a unit's maximum health value
UnitInBattleground - Returns whether a unit is in same battleground instance as the player
UnitInParty - Returns whether a unit is a player unit in the player's party
UnitInRaid - Returns whether a unit is in the player's raid
UnitInRange - Returns whether a party/raid member is nearby
UnitIsAFK - Returns whether a unit is marked AFK (Away From Keyboard)
UnitIsCharmed - Returns whether a unit is currently charmed
UnitIsConnected - Returns whether a unit is connected (i.e. not Offline)
UnitIsControlling - Returns whether a unit is controlling another unit
UnitIsCorpse - Returns whether a unit is a corpse
UnitIsDND - Returns whether a unit is marked DND (Do Not Disturb)
UnitIsDead - Returns whether a unit is dead
UnitIsDeadOrGhost - Returns whether a unit is either dead or a ghost
UnitIsEnemy - Returns whether two units are enemies
UnitIsFeignDeath - Returns whether a unit is feigning death
UnitIsFriend - Returns whether two units are friendly
UnitIsGhost - Returns whether a unit is currently a ghost
UnitIsInMyGuild - Returns whether a unit is in the player's guild
UnitIsPVP - Returns whether a unit is flagged for PvP activity
UnitIsPVPFreeForAll - Returns whether a unit is flagged for free-for-all PvP
UnitIsPVPSanctuary - Returns whether a unit is in a Sanctuary area preventing PvP activity
UnitIsPartyLeader - Returns whether a unit is the leader of the player's party
UnitIsPlayer - Returns whether a unit is a player unit (not an NPC)
UnitIsPossessed - Returns whether a unit is possessed by another
UnitIsRaidOfficer - Returns whether a unit is a raid assistant in the player's raid
UnitIsSameServer - Returns whether two units are from the same server
UnitIsTapped - Returns whether a unit is tapped
UnitIsTappedByAllThreatList - Returns whether a unit allows all players on its threat list to receive kill credit
UnitIsTappedByPlayer - Returns whether a unit is tapped by the player or the player's group
UnitIsTrivial - Returns whether a unit is trivial at the player's level
UnitIsUnit - Returns whether two unit references are to the same unit
UnitIsVisible - Returns whether a unit is in the player's area of interest
UnitLevel - Returns a unit's level
UnitMana - This function is deprecated and should no longer be useddeprecated
UnitManaMax - This function is deprecated and should no longer be useddeprecated
UnitName - Returns the name of a unit
UnitOnTaxi - Returns whether a unit is currently riding a flight path (taxi)
UnitPVPName - Returns the name of a unit including the unit's current title
UnitPVPRank - Returns a unit's PVP rank as a numberdeprecated
UnitPlayerControlled - Returns whether a unit is controlled by a player
UnitPlayerOrPetInParty - Returns whether a unit is in the player's party or belongs to a party member
UnitPlayerOrPetInRaid - Returns whether a unit is in the player's raid or belongs to a raid member
UnitPower - Returns a unit's current level of mana, rage, energy or other power type
UnitPowerMax - Returns a unit's maximum mana, rage, energy or other power type
UnitPowerType - Returns the power type (energy, mana, rage) of the given unit
UnitRace - Returns the name of a unit's race
UnitReaction - Returns the reaction of one unit with regards to another as a number
UnitSelectionColor - Returns a color indicating hostility and related status of a unit
UnitSex - Returns the gender of the given unit or player
UnitUsingVehicle - Returns whether a unit is using a vehicle
Utility functions

CreateFont - Creates a new Font object
CreateFrame - Creates a new Frame object
EnumerateFrames - Returns the next frame following the frame passed, or nil if no more frames exist
GetAutoCompleteResults - Returns a list of character names which complete a given partial name prefix
GetClickFrame - Returns the Frame object associated with the given name
GetCurrentKeyBoardFocus - Returns the frame currently handling keyboard input
GetFramesRegisteredForEvent - Returns all frames registered for a given event
GetMirrorTimerInfo - Returns information about special countdown timers
GetMirrorTimerProgress - Returns a high-resolution value for a special countdown timer
GetMouseButtonClicked - Returns which mouse button triggered the current script
GetMouseButtonName - Returns the name for a mouse button specified by number
GetMouseFocus - Returns the frame that is currently under the mouse, and has mouse input enabled.
GetMuteName - Returns the name of a character on the mute list
GetNumFrames - Returns the number of existing Frame objects (and derivatives)
GetText - Returns a localized string according to given parameters
GetTime - Returns a number representing the current time (with millisecond precision)
IsLoggedIn - Returns whether the login process has completed
IsMouseButtonDown - Returns whether a given mouse button is held down
RegisterForSave - Enables a global variable for automatic saving upon logout & UI reloadinternalprotected
RegisterForSavePerCharacter - Enables a global variable for automatic saving (on a per-character basis) upon logout & UI reloadinternalprotected
RequestTimePlayed - Requests information from the server about the player character's total time spent online
RunScript - Runs a string as a Lua script
SecondsToTime - Returns a description of an amount of time in appropriate unitsblizzardui
SetPortraitToTexture - Sets a Texture object to display an arbitrary texture, altering it to fit a circular frame
debuglocals - Returns information about the local variables at a given stack depth
getglobal - Returns the value of a global variable
scrub - Replaces non-simple values in a list with nil
setglobal - Sets a global variable to a specified value
strconcat - Joins a list of strings (with no separator)
strjoin - Joins a list of strings together with a given separator
strlenutf8 - Returns the length of a string, taking UTF-8 multi-byte characters into account
strreplace - Fast simple substring substitution
strsplit - Splits a string based on another seperator string
strtrim - Trims leading and trailing characters (whitespace by default) from a string
wipe - Removes all entries from a table
Vehicle functions

CanEjectPassengerFromSeat - Returns whether the player can eject the occupant of a seat in the player's vehicle
CanExitVehicle - Returns whether the player is in a vehicle
CanSwitchVehicleSeat - Returns whether the player can change vehicle seats
CanSwitchVehicleSeats - Returns whether the player is in a vehicle with multiple seats
CombatTextSetActiveUnit - Sets the main unit for display of floating combat text
EjectPassengerFromSeat - Ejects the occupant of a seat in the player's vehicle
IsUsingVehicleControls - This is a Blizzard internal functioninternal
IsVehicleAimAngleAdjustable - Returns whether the player is controlling a vehicle weapon with adjustable aim angle
IsVehicleAimPowerAdjustable - This is a Blizzard internal functioninternal
UnitControllingVehicle - Returns whether a unit is controlling a vehicle
UnitHasVehicleUI - Returns whether a unit is controlling a vehicle or vehicle weapon
UnitInVehicle - Returns whether a unit is in a vehicle
UnitInVehicleControlSeat - Returns whether a unit controls a vehicle
UnitIsControlling - Returns whether a unit is controlling another unit
UnitSwitchToVehicleSeat - Moves the player to another seat within his current vehicle
UnitTargetsVehicleInRaidUI - Returns whether attempts to target a unit should target its vehicle
UnitUsingVehicle - Returns whether a unit is using a vehicle
UnitVehicleSeatCount - Returns the number of seats in a unit's vehicle
UnitVehicleSeatInfo - Returns information about seats in a vehicle
UnitVehicleSkin - Returns the style of vehicle UI to display for a unit
VehicleAimDecrement - Adjusts vehicle aim downward by a specified amount
VehicleAimDownStart - Starts adjusting vehicle aim downwardprotected
VehicleAimDownStop - Stops adjusting vehicle aim downwardprotected
VehicleAimGetAngle - Returns the aim angle of a vehicle weapon
VehicleAimGetNormAngle - Returns the aim angle of a vehicle weapon relative to its minimum angle
VehicleAimGetNormPower - This is a Blizzard internal functioninternal
VehicleAimIncrement - Adjusts vehicle aim upward by a specified amount
VehicleAimRequestAngle - Attempts to set a vehicle weapon's aim angle to a specific value
VehicleAimRequestNormAngle - Attempts to set a vehicle weapon's aim angle to a specific value relative to its minimum value
VehicleAimSetNormPower - This is a Blizzard internal functioninternal
VehicleAimUpStart - Starts adjusting vehicle aim upwardprotected
VehicleAimUpStop - Stops adjusting vehicle aim upwardprotected
VehicleCameraZoomIn - Zooms the player's view in while in a vehicle
VehicleCameraZoomOut - Zooms the player's view out while in a vehicle
VehicleExit - Removes the player from the current vehicle
VehicleNextSeat - Moves the player from his current seat in a vehicle to the next sequentially numbered seat
VehiclePrevSeat - Moves the player from his current seat in a vehicle to the previous sequentially numbered seat
Video functions

GetBaseMip - Returns the level of texture resolution rendered by the clientdeprecated
GetCurrentMultisampleFormat - Returns the index of the current multisample setting
GetCurrentResolution - Returns the index of the current resolution setting
GetFarclip - Returns the maximum distance at which terrain is drawndeprecated
GetFramerate - Returns the number of frames per second rendered by the client
GetGamma - Returns the current display gamma setting
GetMultisampleFormats - Returns a list of available multisample settings
GetRefreshRates - Returns a list of available screen refresh rates
GetScreenHeight - Returns the height of the screen for UI layout purposes
GetScreenResolutions - Returns a list of available screen resolutions
GetScreenWidth - Returns the width of the screen for UI layout purposes
GetTerrainMip - Returns the level of terrain detail displayed
GetVideoCaps - Returns information about graphics capabilities of the current system
GetWaterDetail - Returns the current value of the water detail optiondeprecated
IsDesaturateSupported - Returns whether the current hardware supports desaturated textures
IsPlayerResolutionAvailable - Returns whether the current hardware supports high resolution player textures
IsStereoVideoAvailable - Returns whether the current system supports stereoscopic 3D display
RestartGx - Restart the client's graphic subsystem
RestoreVideoEffectsDefaults - Resets video effects options to default values
RestoreVideoResolutionDefaults - Resets video resolution options to default values
RestoreVideoStereoDefaults - Resets stereoscopic 3D video options to default values
SetBaseMip - Sets the level of texture resolution rendered by the clientdeprecated
SetFarclip - Changes the maximum distance at which terrain is drawndeprecated
SetGamma - Changes the display gamma setting
SetMultisampleFormat - Changes the multisample setting
SetScreenResolution - Changes the screen resolution
SetTerrainMip - Changes the level of terrain detail displayed
SetTexLodBias - This is a Blizzard internal functioninternal
SetWaterDetail - Sets the value for the water details displaydeprecated
Voice functions

AddMute - Adds a character to the muted list for voice chat
AddOrDelMute - Adds or removes a character from the voice mute list
ChannelSilenceAll - Silences a character for chat and voice on a channel
ChannelSilenceVoice - Silences the given character for voice chat on the channel
ChannelUnSilenceAll - Unsilences a character for chat and voice on a channel
ChannelUnSilenceVoice - Unsilences a character on a chat channel
ChannelVoiceOff - Disables voice chat in a channel
ChannelVoiceOn - Enables voice chat in a channel
DelMute - Removes a character from the muted list for voice chat
DisplayChannelVoiceOff - Disables voice in a channel specified by its position in the channel list display
DisplayChannelVoiceOn - Enables voice in a channel specified by its position in the channel list display
GetActiveVoiceChannel - Returns the currently active voice channel
GetMuteName - Returns the name of a character on the mute list
GetMuteStatus - Returns whether a character is muted or silenced
GetNumMutes - Returns the number of characters on the player's mute list
GetNumVoiceSessionMembersBySessionID - Returns the number of members in a voice channel
GetNumVoiceSessions - Returns the number of available voice channels
GetSelectedMute - Returns the index of the selected entry in the Muted list
GetVoiceCurrentSessionID - Returns an identifier for the active voice session
GetVoiceSessionInfo - Returns information about a voice session
GetVoiceSessionMemberInfoBySessionID - Returns information about a member of a voice channel
GetVoiceStatus - Returns whether a character has voice chat enabled
IsIgnoredOrMuted - Returns whether a unit can be heard due to ignored/muted status
IsMuted - Returns whether a character has been muted by the player
IsSilenced - Returns whether a character is silenced on a chat channel
IsVoiceChatAllowed - Returns whether the player is allowed to enable the voice chat featurereview
IsVoiceChatAllowedByServer - Returns whether voice chat is supported by the realm server
IsVoiceChatEnabled - Returns whether the voice chat system is enabled
SetActiveVoiceChannel - Sets the currently active voice channel
SetActiveVoiceChannelBySessionID - Sets the currently active voice chat channel
SetSelectedMute - Selects an entry in the Muted list
SilenceMember - This function is deprecated and should no longer be useddeprecated
UnSilenceMember - This function is deprecated and should no longer be useddeprecated
UnitIsSilenced - Returns whether a character is silenced on a voice channel
UnitIsTalking - Returns whether a unit is currently speaking in voice chat
VoiceChat_ActivatePrimaryCaptureCallback - This function is deprecated and should no longer be useddeprecated
VoiceChat_GetCurrentMicrophoneSignalLevel - Returns the current volume level of the microphone signal
VoiceChat_IsPlayingLoopbackSound - Returns whether the Microphone Test recording is playing
VoiceChat_IsRecordingLoopbackSound - Returns whether a Microphone Test is recording
VoiceChat_PlayLoopbackSound - Plays back the Microphone Test recording
VoiceChat_RecordLoopbackSound - Begins recording a Microphone Test
VoiceChat_StartCapture - This function is deprecated and should no longer be useddeprecated
VoiceChat_StopCapture - This function is deprecated and should no longer be useddeprecated
VoiceChat_StopPlayingLoopbackSound - Stops playing the Microphone Test recording
VoiceChat_StopRecordingLoopbackSound - Stops recording a Microphone Test
VoiceEnumerateCaptureDevices - Returns the name of an audio input device for voice chat
VoiceEnumerateOutputDevices - Returns the name of an audio output device for voice chat
VoiceGetCurrentCaptureDevice - Returns the index of the current voice capture device
VoiceGetCurrentOutputDevice - Returns the index of the current voice output device
VoiceIsDisabledByClient - Returns whether the voice chat system cannot be enabled
VoicePushToTalkStart - Used internally to start talking, when push-to-talk is active in voice chat.deprecated
VoicePushToTalkStop - Used internally to stop talking, when push-to-talk is active in voice chatdeprecated
VoiceSelectCaptureDevice - Selects an audio input device for voice chat
VoiceSelectOutputDevice - Selects an audio output device for voice chat
Zone information functions

GetMinimapZoneText - Returns the name of the current area (as displayed in the Minimap)
GetRealZoneText - Returns the "official" name of the zone or instance in which the player is located
GetSubZoneText - Returns the name of the minor area in which the player is located
GetZonePVPInfo - Returns PVP information about the current area
GetZoneText - Returns the name of the zone in which the player is located
IsSubZonePVPPOI - Returns whether the current area has PvP (or other) objectives to be displayed
Uncategorized functions

AcceptProposal - This function is not yet documented
BattlefieldMgrEntryInviteResponse - This function is not yet documented
BattlefieldMgrExitRequest - This function is not yet documented
BattlefieldMgrQueueInviteResponse - This function is not yet documented
BattlefieldMgrQueueRequest - This function is not yet documented
CalendarContextInviteTentative - This function is not yet documented
CalendarEventTentative - This function is not yet documented
CalendarGetDayEventSequenceInfo - This function is not yet documented
CanChangePlayerDifficulty - This function is not yet documented
CanMapChangeDifficulty - This function is not yet documented
CanPartyLFGBackfill - This function is not yet documented
CanResetTutorials - This function is not yet documented
CannotBeResurrected - This function is not yet documented
ChangePlayerDifficulty - This function is not yet documented
ClearAllLFGDungeons - This function is not yet documented
ClearLFGDungeon - This function is not yet documented
CompleteLFGRoleCheck - This function is not yet documented
DungeonUsesTerrainMap - This function is not yet documented
FindSpellBookSlotByID - This function is not yet documented
GMReportLag - This function is not yet documented
GetAvailableRoles - This function is not yet documented
GetExpansionLevel - This function is not yet documented
GetFactionInfoByID - This function is not yet documented
GetInstanceLockTimeRemainingEncounter - This function is not yet documented
GetLFDChoiceCollapseState - This function is not yet documented
GetLFDChoiceEnabledState - This function is not yet documented
GetLFDChoiceInfo - This function is not yet documented
GetLFDChoiceLockedState - This function is not yet documented
GetLFDChoiceOrder - This function is not yet documented
GetLFDLockInfo - This function is not yet documented
GetLFDLockPlayerCount - This function is not yet documented
GetLFGBootProposal - This function is not yet documented
GetLFGCompletionReward - This function is not yet documented
GetLFGCompletionRewardItem - This function is not yet documented
GetLFGDungeonInfo - This function is not yet documented
GetLFGDungeonRewardInfo - This function is not yet documented
GetLFGDungeonRewardLink - This function is not yet documented
GetLFGDungeonRewards - This function is not yet documented
GetLFGInfoLocal - This function is not yet documented
GetLFGInfoServer - This function is not yet documented
GetLFGProposal - This function is not yet documented
GetLFGProposalEncounter - This function is not yet documented
GetLFGProposalMember - This function is not yet documented
GetLFGQueueStats - This function is not yet documented
GetLFGQueuedList - This function is not yet documented
GetLFGRandomDungeonInfo - This function is not yet documented
GetLFGRoleUpdate - This function is not yet documented
GetLFGRoleUpdateMember - This function is not yet documented
GetLFGRoleUpdateSlot - This function is not yet documented
GetLFRChoiceOrder - This function is not yet documented
GetLastQueueStatusIndex - This function is not yet documented
GetMultiCastBarOffset - This function is not yet documented
GetMultiCastTotemSpells - This function is not yet documented
GetNextCompleatedTutorial - This function is not yet documented
GetNumQuestItemDrops - This function is not yet documented
GetNumQuestLogRewardFactions - This function is not yet documented
GetNumRandomDungeons - This function is not yet documented
GetPartyLFGBackfillInfo - This function is not yet documented
GetPrevCompleatedTutorial - This function is not yet documented
GetQuestLogCompletionText - This function is not yet documented
GetQuestLogItemDrop - This function is not yet documented
GetQuestLogRewardArenaPoints - This function is not yet documented
GetQuestLogRewardFactionInfo - This function is not yet documented
GetQuestLogRewardXP - This function is not yet documented
GetQuestPOILeaderBoard - This function is not yet documented
GetQuestSortIndex - This function is not yet documented
GetQuestWorldMapAreaID - This function is not yet documented
GetQuestsCompleted - This function is not yet documented
GetRaidDifficulty - This function is not yet documented
GetRandomDungeonBestChoice - This function is not yet documented
GetRewardArenaPoints - This function is not yet documented
GetRewardXP - This function is not yet documented
GetVehicleUIIndicator - This function is not yet documented
GetVehicleUIIndicatorSeat - This function is not yet documented
HasCompletedAnyAchievement - This function is not yet documented
HasLFGRestrictions - This function is not yet documented
IsInLFGDungeon - This function is not yet documented
IsLFGDungeonJoinable - This function is not yet documented
IsListedInLFR - This function is not yet documented
IsPartyLFG - This function is not yet documented
IsPetAttackAction - This function is not yet documented
IsTutorialFlagged - This function is not yet documented
IsZoomOutAvailable - This function is not yet documented
JoinLFG - This function is not yet documented
LFGTeleport - This function is not yet documented
LeaveLFG - This function is not yet documented
PartyLFGStartBackfill - This function is not yet documented
ProcessQuestLogRewardFactions - This function is not yet documented
QueryQuestsCompleted - This function is not yet documented
QuestGetAutoAccept - This function is not yet documented
QuestMapUpdateAllQuests - This function is not yet documented
QuestPOIGetIconInfo - This function is not yet documented
QuestPOIGetQuestIDByIndex - This function is not yet documented
QuestPOIGetQuestIDByVisibleIndex - This function is not yet documented
QuestPOIUpdateIcons - This function is not yet documented
QuestPOIUpdateTexture - This function is not yet documented
RefreshLFGList - This function is not yet documented
RegisterStaticConstants - This function is not yet documented
RejectProposal - This function is not yet documented
RequestLFDPartyLockInfo - This function is not yet documented
RequestLFDPlayerLockInfo - This function is not yet documented
RespondMailLockSendItem - This function is not yet documented
SearchLFGGetEncounterResults - This function is not yet documented
SearchLFGGetJoinedID - This function is not yet documented
SearchLFGGetNumResults - This function is not yet documented
SearchLFGGetPartyResults - This function is not yet documented
SearchLFGGetResults - This function is not yet documented
SearchLFGJoin - This function is not yet documented
SearchLFGLeave - This function is not yet documented
SearchLFGSort - This function is not yet documented
SetChatColorNameByClass - This function is not yet documented
SetLFGBootVote - This function is not yet documented
SetLFGDungeon - This function is not yet documented
SetLFGDungeonEnabled - This function is not yet documented
SetLFGHeaderCollapsed - This function is not yet documented
SetMapByID - This function is not yet documented
SetPOIIconOverlapDistance - This function is not yet documented
SetPOIIconOverlapPushDistance - This function is not yet documented
SetSavedInstanceExtend - This function is not yet documented
Stopwatch_Clear - This function is not yet documented
Stopwatch_FinishCountdown - This function is not yet documented
Stopwatch_IsPlaying - This function is not yet documented
Stopwatch_Pause - This function is not yet documented
Stopwatch_Play - This function is not yet documented
Stopwatch_StartCountdown - This function is not yet documented
Stopwatch_Toggle - This function is not yet documented
TriggerTutorial - This function is not yet documented
UnitGroupRolesAssigned - This function is not yet documented
debughook - This function is not yet documented
