Achievement functions

CanShowAchievementUI - Returns whether the Achievements UI should be enabled
Action functions

ActionHasRange - Returns whether or not 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 a given action slot
GetActionCount - Returns the number of uses remaining for the given action slot
GetActionInfo - Returns information about a given actionbar slot
GetActionText - Returns the label for a given action slot.
GetActionTexture - Returns the texture for the given action slot
GetPetActionCooldown - Returns cooldown information about a given pet action slot
GetPetActionInfo - Returns information about a pet action
GetPetActionsUsable - Returns whether or not the pet's actions are usable
HasAction - Returns a flag if an action slot is occupied.
IsActionInRange - Returns whether or not the action is in range of the current target
IsAttackAction - Returns whether or not the given action flashes when engaged in melee auto-attacking.
IsAutoRepeatAction - Checks if an action is an auto-repeat action (e.g. Auto Shot).
IsConsumableAction - Returns 1 if the action id contains a consumable, otherwise nil.
IsCurrentAction - Returns whether or not a specific action is currently being cast, or awaiting targeting
IsEquippedAction - Returns whether or not an action slot contains an equipped item.
IsStackableAction - Returns whether or not a given action slot contains a stackable action.
IsUsableAction - Returns whether or not the action is usable
PickupAction - Picks up an action bar slot and holds it on the cursornocombat
PickupPetAction - Picks up the pet action in the given slot and places it under the cursor.
PlaceAction - Places the action held on the cursor in a specified action bar slot
SetActionBarToggles - Configures the display of the additional ActionBars.
TogglePetAutocast - Toggles autocast 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 bar offset for the bonus bar.
IsPossessBarVisible - Returns whether or not the PossessBar should be visible
Addon-related functions

DisableAddOn - Disables an addon by name or index
DisableAllAddOns - Flags all addons as disabled for the current characteralso
EnableAddOn - Enables an addon for the current character
EnableAllAddOns - Enables all addons for the current character (takes effect at the next UI load)
GetAddOnDependencies - Get all dependencies of the queried addon. Returns nil if no dependencies are listed.
GetAddOnInfo - Returns information about an addon in the client's addon list
GetAddOnMetadata - Returns the value of certain fields in an addon's TOC file
GetNumAddOns - Returns the number of addons in the addon listing
IsAddOnLoadOnDemand - Returns whether or not a given addon can be loaded on demand
IsAddOnLoaded - Query if an addon is loaded (running)
LoadAddOn - Loads an AddOn manually if it is Load on Demand. Will also load the dependencies of an AdddOn.
ResetDisabledAddOns - Resets the enabled status of addons before the change is committed via a reload
SendAddonMessage - Sends a chat-like message to players that will not show up in their chat windows by defaultalso
Arena functions

AcceptArenaTeam - Accept an invitation to join an arena team
ArenaTeamDisband - Disbands an arena team
ArenaTeamInviteByName - Invites a player to one of the player's arena teams
ArenaTeamLeave - Leaves an arena team
ArenaTeamRoster - Queries the server for roster information about an Arena team
ArenaTeamSetLeaderByName - Promotes an arena team member to team leader
ArenaTeamUninviteByName - Uninvites a player from an arena team
CloseArenaTeamRoster - Closes the Arena Team Roster frame
DeclineArenaTeam - Declines an arena team invitation
GetArenaCurrency - Returns the number of available arena currency points
GetArenaTeam - Returns information about one of the player's arena teams.
GetArenaTeamRosterInfo - Returns information about an arena team member
GetArenaTeamRosterSelection - Returns the currently selected arena team member for a given team
GetArenaTeamRosterShowOffline - Returns whether or not the "Show Offline Members" filter for arena teams is enabled
GetCurrentArenaSeason - Returns the current arena season.
GetNumArenaTeamMembers - Returns the number of members in a given arena team
IsActiveBattlefieldArena - Returns whether or not the current battlefield is an arena match
IsArenaTeamCaptain - Returns whether or not the player is the team captain for a given arena team
IsBattlefieldArena - Returns whether or not the npc the player is interacting with can queue for arenas
SetArenaTeamRosterSelection - Selects a specific member from an arena team roster
SetArenaTeamRosterShowOffline - Enables or disables the showing of offline arena team membersdeprecated
SortArenaTeamRoster - Sorts the selected arena team's roster by the given sort type
TurnInArenaPetition - Turns in an arena petition
Auction functions

CalculateAuctionDeposit - Returns the cost of an auction house deposit for a given runtime
CanSendAuctionQuery - Returns whether or not the player can perform a given auction house query
CancelAuction - Cancels an auction that has been placed by the player
ClickAuctionSellItemButton - Causes the item currently being held by the cursor to be placed in the Auction House "Create Auction" item slot
CloseAuctionHouse - Closes the auction house UI and stops all data retrieval.
GetAuctionHouseDepositRate - Returns the current auction house deposit rate
GetAuctionInvTypes - Returns a list of the inventory subtypes for a given auction house item subclass .
GetAuctionItemClasses - Returns a list of top level item classes used to categorize auction items (e.g. Weapons, Armor, Container, Consumable, Trade Goods, etc.).
GetAuctionItemInfo - Returns information about an item up for auction
GetAuctionItemLink - Returns an item link for a given auction item
GetAuctionItemSubClasses - Returns a list of subclasses that are valid for a specific auction item class (e.g. One-Handed Axes, Two-Handed Axes, Bows, Guns under Weapons; Miscellaneous, Cloth, Leather and others under Amor, etc.).
GetAuctionItemTimeLeft - Returns the time left for a given auction listing
GetAuctionSellItemInfo - Returns information about the item being placed on auction
GetAuctionSort - Returns the current sort settings for auction data
GetBidderAuctionItems - Retrieves bidding data for items you are bidding on
GetInboxInvoiceInfo - Returns information about an auction house invoice
GetNumAuctionItems - Returns the number of auction items for a given type of listing
GetOwnerAuctionItems - Queries the server for a page of self-posted auctions.
GetSelectedAuctionItem - Returns the index of the currently selected auction house item
IsAuctionSortReversed - Returns whether or not a column in the auction house interface is reverse sorted or not.
PlaceAuctionBid - Places a bid on an auction item
QueryAuctionItems - Queries the auction house's listings for the attributes specified
SetSelectedAuctionItem - Selects a specific item in the auction house
SortAuctionApplySort - Applys the currently configured sort for the given auction type
SortAuctionClearSort - Clears any current sorting rules for the given auction house listing
SortAuctionItems - Sorts the auction house listing
SortAuctionSetSort - Sets the server-side sort to be applied to the items returned by an Auction House Query
StartAuction - Starts a new auction
Bank functions

BankButtonIDToInvSlotID - Returns an inventory slot Id mapped from a bank location
CloseBankFrame - Closes the bank frame
GetBankSlotCost - Returns the cost of a bank slot.
GetNumBankSlots - Returns information about purchased bank bag slots
PurchaseSlot - Purchases a bank slot without confirmation.
Barber shop functions

ApplyBarberShopStyle - Applies the currently selected barber shop options to the player's character
BarberShopReset - Resets the barber shop options to the currently worn styles
CancelBarberShop - Cancels the player's session at the barber shop, causing them to stand up
GetBarberShopStyleInfo - Returns information about the currently selected barber shop style option
Battlefield functions

AcceptAreaSpiritHeal - Notifies the server that you are ready to accept the periodic area resurrection from a battleground spirit healer
AcceptBattlefieldPort - Accepts the offered teleport to a battleground, or leaves the queue for a given battleground.
CanJoinBattlefieldAsGroup - Returns whether or not the currently displayed battlefield supports joining as a group
CancelAreaSpiritHeal - Cancels resurrection if one is pending from a battleground spirit healer
CheckSpiritHealerDist - Returns whether or not the player is in range of a spirit healer
CloseBattlefield - Closes the battlefield selection UI.
GetAreaSpiritHealerTime - Returns the amount of time until a nearby battleground spirit healer resurrects all players in its area.
GetBattlefieldArenaFaction - This function is deprecateddeprecated
GetBattlefieldEstimatedWaitTime - Returns the estimated wait time on a battleground or arena queue
GetBattlefieldFlagPosition - Returns positioning information on the given flag
GetBattlefieldInfo - Returns information about a battleground when speaking to a battlemaster NPC or attempting to enter a battleground instance portal
GetBattlefieldInstanceExpiration - When a battleground match is over, returns the amount of time remaining before the instance is closed and all players are returned to the locations from which they entered it.
GetBattlefieldInstanceInfo - Returns a numeric ID for a battleground instance listed in the battleground instance selection window.
GetBattlefieldInstanceRunTime - Returns how long the current battleground instance has been running in milliseconds
GetBattlefieldMapIconScale - Returns the scale of the battleground map icons
GetBattlefieldPortExpiration - Returns the time left on a battleground or arena invitationalso
GetBattlefieldPosition - Returns information on the queried players position in a battlegroundalso
GetBattlefieldScore - Returns information about a specific line in the battleground or arena score list
GetBattlefieldStatData - Returns battleground-specific statistics for a given player
GetBattlefieldStatInfo - Used to retrieve a list of custom scoreboard columns inside a battleground
GetBattlefieldStatus - Returns information about an active or queued battleground instance
GetBattlefieldTeamInfo - Returns info about teams and their ratings in a rated arena match.
GetBattlefieldTimeWaited - Returns the amount of time the player has queued for the given battleground, in milliseconds
GetBattlefieldWinner - Returns the winner of the current battleground or arena match
GetNumBattlefieldFlagPositions - Returns the number of battlefield flags in the current zone.
GetNumBattlefieldPositions - Returns the number of team members currently on the battlefield
GetNumBattlefieldScores - Returns the number of scores available in the current battlefield
GetNumBattlefieldStats - Returns the number of battlefield specific columns to be displayed in the final score frame
GetNumBattlefields - Returns the number of available battlefields
GetSelectedBattlefield - Returns the currently selected battlefield index
IsActiveBattlefieldArena - Returns whether or not the current battlefield is an arena match
IsBattlefieldArena - Returns whether or not the npc the player is interacting with can queue for arenas
IsRealPartyLeader - Returns whether or not the player is the leader of their "real party"
JoinBattlefield - Queues for a specific battlefield, optionally as a group
LeaveBattlefield - Exits the current battleground
ReportPlayerIsPVPAFK - Reports a player or unit as AFK in a PVP battleground
RequestBattlefieldPositions - Requests new battlefield position information from the server
RequestBattlefieldScoreData - Requests the latest battlefield score from the server. The score is not directly returned by the function call, it'll dispatch the UPDATE_BATTLEFIELD_SCORE event instead.
SetBattlefieldScoreFaction - Sets the faction of the battlefield scoreboard.
SetSelectedBattlefield - Selects a given battlefield in the battlemaster window
ShowBattlefieldList - Displays the battlefield list window for a previously queued battlefield
SortBattlefieldScoreData - Sorts the battlefield data based on a specific sortType
UnitInBattleground - Returns whether or not a unit is in the player's battleground
Blizzard internal functions

AppendToFile - This is an internal functioninternal
CreateMiniWorldMapArrowFrame - This is an internal functioninternal
CreateWorldMapArrowFrame - This is an internal functioninternal
DeleteFile - This is an internal function, calling it gives an "Access Denied" error message.internal
GMRequestPlayerInfo - This is an internal functioninternal
GetDebugStats - This is an internal functioninternal
GetGMStatus - This is an internal functioninternal
GetTexLodBias - This is an internal functioninternal
PositionMiniWorldMapArrowFrame - This is an internal functioninternal
PositionWorldMapArrowFrame - This is an internal functioninternal
ReadFile - This is an internal functioninternal
ResetPerformanceValues - This is an internal functioninternal
SetChannelWatch - This is an internal functioninternal
SetLayoutMode - This is an internal functioninternal
ShowWorldMapArrowFrame - This is an internal functioninternal
ToggleCollision - This is an internal functioninternal
ToggleCollisionDisplay - This is an internal functioninternal
TogglePerformanceDisplay - This is an internal functioninternal
TogglePerformanceValues - This is an internal functioninternal
TogglePlayerBounds - This is an internal functioninternal
TogglePortals - This is an internal functioninternal
ToggleTris - This is an internal functioninternal
UpdateWorldMapArrowFrames - This is an internal functioninternal
debugbreak - This is an internal functioninternal
debugdump - This is an internal functioninternal
debuginfo - This is an internal functioninternal
debugload - This is an internal functioninternal
debugprint - This is an internal functioninternal
debugtimestamp - This is an internal functioninternal
Buff functions

GetWeaponEnchantInfo - Returns information about temporary item enchants on the player's weapons
UnitAura - Returns information about the buffs/debuffs on a given unit
UnitBuff - Returns information about a buff on a given unit or player
UnitDebuff - Returns information about a debuff on a given unit.
CVar functions

GetCVar - Returns the value of a stored configuration variable
GetCVarAbsoluteMax - Returns the absolute maximum value allowed for a given CVar
GetCVarAbsoluteMin - Returns the absolute minimum value allowed for a given CVar
GetCVarBool - Returns the value of the CVar as 1 or nil instead of requiring you to compare the cvar value with "0" or "1"
GetCVarDefault - Query the default value for a given CVar. Will error if CVar does not exist.
GetCVarInfo - Returns information about the named CVar
GetCVarMax - Returns the maximum value allowed for a given CVar
GetCVarMin - Returns the minimum value allowed for a given CVar
RegisterCVar - Registers a configuration variable to be saved
SetCVar - Sets the value of a configuration variable in config.wtf
Camera functions

CameraOrSelectOrMoveStart - Called when left-clicking in the 3-D worldprotected
CameraOrSelectOrMoveStop - Ends a left-click in the 3-D worldprotected
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 or not mouselook mode is active
MouselookStop - Disables mouse-look mode, where cursor movement rotates the camera
MoveViewDownStart - Starts your camera orbiting downward to look up
MoveViewInStop - Stops the camera movement initiated by [[docs/api/MoveViewInStart|MoveViewInStart]]protected
MoveViewLeftStart - Starts the camera orbiting around you to the left (clockwise)protected
MoveViewLeftStop - Stops the camera movement initiated by [[docs/api/MoveViewLeftStart|MoveViewLeftStart]]protected
MoveViewOutStart - Starts the camera zooming out from your characterprotected
MoveViewRightStart - Starts your camera orbiting around you to the right (counterclockwise)also
MoveViewRightStop - Stops the camera movement initiated by [[docs/api/MoveViewRightStart|MoveViewRightStart]]protected
MoveViewUpStart - Starts your camera orbiting upward to look downprotected
MoveViewUpStop - Stops the camera movement initiated by [[docs/api/MoveViewUpStart|MoveViewUpStart]]protected
NextView - Change the camera view to the next predefined camera angle.
PitchDownStop - Stops the steering initiated by [[docs/api/PitchDownStart|PitchDownStart]]protected
PrevView - Change the camera view to the previous predefined camera angle.
ResetView - Resets the given viewmode and switches to that viewmode.
SaveView - Saves the current camera view to one of the stored camera positions
SetView - Sets the camera view to one of the pre-set views
Channel functions

AddChatWindowChannel - Maps a channel in a specific chat frame to a numeric index.
ChannelBan - Bans a player from a given chat channel
ChannelInvite - Invites a player to a given channel
ChannelKick - Kicks a player from the given channel
ChannelModerator - Grants a player moderator status on the given channel
ChannelMute - Turns off the specified player's ability to speak in the channel
ChannelSilenceAll - Removes both voice and chat permissions for the given player in the specified channel
ChannelSilenceVoice - Silences the given character for voice chat on the channel. Can only be done as a raid/party/bg leader or assistant
ChannelToggleAnnouncements - Toggles channel announcements for a given channel.
ChannelUnSilenceAll - Unsilences a player for chat and voice on a given channel
ChannelUnSilenceVoice - Unsilences a player on a given channel
ChannelUnban - Unbans a player from a given channel
ChannelUnmoderator - Revokes moderator status from a given player on a specific channel
ChannelUnmute - Unmutes the specified player on that channel
ChannelVoiceOff - Disables voice chat in the given channel
ChannelVoiceOn - Enables voice chat in the given channel
ClearChannelWatch - This function is deprecateddeprecated
CollapseChannelHeader - Collapses a channel header in the chat channel listing
DeclineInvite - Declines a pending invitation to the given chat channel
DisplayChannelOwner - Fires a CHANNEL_OWNER event for the given channel
DisplayChannelVoiceOff - Disables voice chat in a given channel
DisplayChannelVoiceOn - Enables voice chat in a given channel
EnumerateServerChannels - Returns the available server channel names
ExpandChannelHeader - Collapses a channel header in the chat channel listing
GetActiveVoiceChannel - Returns the currently active voice channel
GetChannelDisplayInfo - Returns information about a given chat channel
GetChannelList - Returns the list of channels the player currently belongs to
GetChannelName - Returns information about a given chat channel.
GetChannelRosterInfo - Returns information about a user in a given channel
GetChatWindowChannels - Returns a list of all channels that a given chat window is interested in
GetNumChannelMembers - Returns the number of members in a specific chat channel.
GetNumDisplayChannels - Returns the number of channels in the channel display
GetSelectedDisplayChannel - Returns the channelID of the selected channel in the "Chat" interface
IsDisplayChannelModerator - Returns whether or not the player is a moderator of the currently selected display channel in the Chat tab
IsDisplayChannelOwner - Returns whether or not the player is the owner of the currently displayed channel
IsSilenced - Returns whether or not the given unit is silenced for Voice Chat on a channel
JoinChannelByName - Joins the given chat channel. Deprecated, see JoinPermanentChannel.deprecated
JoinPermanentChannel - Joins a channel, saving any relevant settings in chat-cache.txt
JoinTemporaryChannel - Joins a channel
LeaveChannelByName - Leaves a channel by name
ListChannelByName - Prints the members of a channel to ChatFrame1.
ListChannels - Prints a list of the channels to which the player currently belongs to DEFAULT_CHAT_FRAME
RemoveChatWindowChannel - Removes a chat chanel from the given
SetActiveVoiceChannel - Sets the currently active voice channel
SetActiveVoiceChannelBySessionID - Sets the currently active voice chat channel
SetChannelOwner - Gives channel ownership to another player.
SetChannelPassword - Sets a password on a custom chat channel
SetSelectedDisplayChannel - Selects the given display channel for use in other functions
SilenceMember - This function is deprecateddeprecated
UnSilenceMember - This function is deprecateddeprecated
Chat functions

AddChatWindowChannel - Maps a channel in a specific chat frame to a numeric index.
AddChatWindowMessages - Sets a chat frame to receive and show messages of the given message group.
CanComplainChat - Returns whether or not a given chat line can be reported
ChangeChatColor - Changes the color of a message type in the chat windows
ComplainChat - Files a complaint about a given chat message
GetChatTypeIndex - Converts a chat type string to a numeric chat type index.
GetChatWindowChannels - Returns a list of all channels that a given chat window is interested in
GetChatWindowInfo - Retrieves information about a specific Chat window
GetChatWindowMessages - Returns a list of message events (leaving the CHAT_MSG_ part out) a given chatframe is registered for.
GetLanguageByIndex - Returns the localized name of the language identified by the index being queried
GetNumLanguages - Returns the number of languages the player's character can speak
IsIgnored - Returns whether or not you are ignoring a specific unit.
LoggingChat - Toggle logging of chat to Logs/WowChatLog.txt. Toggle = true to turn on logging, Toggle = false to turn off logging, nil to query logging status.
LoggingCombat - Toggle combat logging to Logs/WoWCombatLog.txt. Toggle = true to turn on logging, Toggle = false to turn off logging, nil to query logging status.
RemoveChatWindowChannel - Removes a chat chanel from the given
RemoveChatWindowMessages - Hides a group of messages from a chat frame
ResetChatColors - Resets the colors of the chat channels back to default.
ResetChatWindows - Resets the chat windows to hardcoded defaults
SendChatMessage - Sends a chat message
SetChatWindowAlpha - Sets the value of the chat window alpha in chat-cache.txt
SetChatWindowColor - Sets the value of the chat window color in chat-cache.txt
SetChatWindowDocked - Sets the value of the docked setting for the given chat window in chat-cache.txt
SetChatWindowLocked - Locks a chat window, so it can't be dragged or resized.
SetChatWindowName - Set the name for a chat window in chat-cache.txt
SetChatWindowShown - Sets if a chat window is shown in chat-cache.txt
SetChatWindowSize - Sets the value of the chat window's font size in chat-cache.txt
Chinese client functions

GetBillingTimeRested - Returns the number of minutes offline required for full xp.chinese
NoPlayTime - Returns whether or not the player is out of playtime
PartialPlayTime - Returns whether the character gains partial xp or not.chinese
Client information functions

CancelLogout - Cancels a pending logout
ForceLogout - Forces the client to logout
ForceQuit - Immediately exits World of Warcraft
GetAccountExpansionLevel - Returns the expansion level of the player's account
GetBuildInfo - Returns the version information about the client
GetExistingLocales - Returns the locale packs currently available to the client
GetLocale - Returns the four character locale code indicating what language the client uses
IsLinuxClient - Returns whether or not the game client is running on Linux
IsMacClient - Returns whether or not the running client is a Mac
IsWindowsClient - Checks if the client's OS is Windows
Logout - Logs out of the current character, taking your back to the character selection screen
Quit - Quits the game normally.
SetEuropeanNumbers - Enables using comma as the decimal separator
Combat functions

AttackTarget - Begins melee auto-attacking against the currently selected target.protected
LoggingCombat - Toggle combat logging to Logs/WoWCombatLog.txt. Toggle = true to turn on logging, Toggle = false to turn off logging, nil to query logging status.
StartAttack - This function is used by Blizzard code to start an attack on a specific unit.protected
StopAttack - Stops auto-attack if activeprotected
UnitAffectingCombat - Returns whether or not a unit is currently in combat
Commentator functions

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

CanComplainChat - Returns whether or not a given chat line can be reported
CanComplainInboxItem - Query an inbox item for "Report Spam" availability
ComplainChat - Files a complaint about a given chat message
ComplainInboxItem - Reports an inbox item as spam
ReportPlayerIsPVPAFK - Reports a player or unit as AFK in a PVP battleground
Container functions

ContainerIDToInventoryID - Returns the inventoryId that corresponds to a given containerId
GetBagName - Returns the name of a bag
GetContainerItemCooldown - Returns information about the cooldown for an item in one of your bags
GetContainerItemDurability - Returns durability information for an item in one of your bags
GetContainerItemInfo - Returns information aboute an item in a container
GetContainerItemLink - Returns the item link of the item at a specific position in the players bags or bank.
GetContainerNumFreeSlots - Gets the number of free slots for a container and the type of items that can go into it
GetContainerNumSlots - Returns the number of slots for a given container
GetItemFamily - Returns the bag type of the given item
PickupBagFromSlot - Picks up a bag from an inventory slot, or bank bag slot and holds it on the cursor
PickupContainerItem - Picks up an item from a container and holds it on the cursor
PutItemInBackpack - Puts the currently held item into the first open slot in the player's backpack.
PutItemInBag - Attempts to place a item under the cursor inside the specified bag.
SplitContainerItem - Splits an item in a given container, placing the new stack on the cursor.
UseContainerItem - Use an item from one of your containers, optionally on a targetprotected
Crafting functions

BindEnchant - Confirms enchanting an item, when it would cause the item to become soulbound
ReplaceEnchant - Confirms replacing an existing enchant
Cursor functions

AddTradeMoney - Adds the money currently on the cursor to the trade window
AutoEquipCursorItem - Tries to equip the item currently held on the cursor.
ClearCursor - Removes whatever is currently attached to the cursor
ClickAuctionSellItemButton - Causes the item currently being held by the cursor to be placed in the Auction House "Create Auction" item slot
ClickSendMailItemButton - Causes the item currently being held by the cursor to be placed in the mailbox send item slot
ClickSocketButton - Picks up or places a gem in the Item Socketing UI
ClickTargetTradeButton - Simulates clicking on a specific slot in the target trade window.
ClickTradeButton - Clicks a specific trade window button
CursorCanGoInSlot - Returns whether or not the item on the cursor can be placed in the given slot
CursorHasItem - Indicates if the cursor is currently holding an item
CursorHasMacro - Returns whether or not the cursor currently holds a macro
CursorHasMoney - Returns whether or not the cursor is currently holding money
CursorHasSpell - Returns whether or not the cursor currently holds a spell.
DeleteCursorItem - Confirms deletion of the item currently held on the cursor
DropCursorMoney - Drops the money currently held to the cursor, returning it to where it was taken from
DropItemOnUnit - Drops the currently held item on a specific unit
EquipCursorItem - Attempts to equip the item held on the cursor into a specific inventory slot
GetCursorInfo - Returns information about the object currently held by the cursor
GetCursorMoney - Returns the amount of money currently held by the cursor, in copper
GetCursorPosition - Returns the coordinate position of the cursor on screen.
GetMouseFocus - Returns the frame that is currently under the mouse, and has mouse input enabled.
HideRepairCursor - Stops displaying the item repair cursoralso
PickupAction - Picks up an action bar slot and holds it on the cursornocombat
PickupBagFromSlot - Picks up a bag from an inventory slot, or bank bag slot and holds it on the cursor
PickupContainerItem - Picks up an item from a container and holds it on the cursor
PickupGuildBankItem - Picks up an item from the guild bank and holds it on the cursor
PickupGuildBankMoney - Withdraws money from the guild bank, placing it on the cursor
PickupInventoryItem - Picks an inventory item up and holds it on the cursor
PickupItem - Picks up an item by name or id and holds it on the cursor
PickupMacro - Simulates picking up a macro from the macro window, placing it on the cursor
PickupMerchantItem - Picks up an item from the merchant window, holding it on the cursor
PickupPetAction - Picks up the pet action in the given slot and places it under the cursor.
PickupPlayerMoney - Picks up money from the player's inventory and holds it on the cursor
PickupSpell - Picks up a spell from the spellbook, placing it on the cursor
PickupStablePet - Picks up a stabled pet, and holds it on the cursor
PickupTradeMoney - This is an internal functioninternal deprecated
PlaceAction - Places the action held on the cursor in a specified action bar slot
PutItemInBackpack - Puts the currently held item into the first open slot in the player's backpack.
PutItemInBag - Attempts to place a item under the cursor inside the specified bag.
ResetCursor - Resets the mouse cursor to the default glove pointer
SetCursor - Sets the cursor image.
ShowBuybackSellCursor - Shows the buyback/sell cursor
ShowContainerSellCursor - Displays the "sell item" cursor for a given container item
ShowInventorySellCursor - Changes the cursor to the "inventory sell" cursor
ShowMerchantSellCursor - Shows the merchant "sell item" cursor
ShowRepairCursor - Changes the cursor to show the repair cursor
SplitContainerItem - Splits an item in a given container, placing the new stack on the cursor.
SplitGuildBankItem - Splits an item in a given tab and slot, placing the new stack on the cursor.
Debug client functions

FrameXML_Debug - Enables or disables verbose XML logging
debugprofilestart - Starts and resets the high resolution debug timer
debugprofilestop - Returns the value of the running debug profile timer
debugstack - Returns information about the current function call stack
geterrorhandler - Returns a reference to the current error handler.
issecurevariable - Returns whether or not a variable is secure and if not, what addon tainted the variable
seterrorhandler - Sets the default error handler to a specific function
setprinthandler - Sets the default print handler to a specific function
Deprecated functions

AddSkillUp - This function is deprecateddeprecated
GetAdjustedSkillPoints - This function is deprecateddeprecated
RemoveSkillUp - This function is deprecateddeprecated
ReportBug - This function is deprecateddeprecated
Faction functions

CollapseFactionHeader - Collapses a given faction header
ExpandFactionHeader - Expands a given faction header
FactionToggleAtWar - Toggles the 'at war' status towards a specific faction
GetFactionInfo - Returns information about a specified faction index
GetNumFactions - Returns the number of factions the player has encountered
GetSelectedFaction - Returns the currently selected faction index
GetWatchedFactionInfo - Returns information about the faction currently being watched
IsFactionInactive - Returns whether or not a faction is flagged as "inactive"
SetFactionActive - Sets a faction as the active faction
SetFactionInactive - Flags a faction as inactive
SetSelectedFaction - Sets the current faction selection
SetWatchedFactionIndex - Sets the faction to watch reputation progress for
GM Survey functions

GMSurveyAnswerSubmit - Submits an answer to a GM Survey question
GMSurveyCommentSubmit - Submits a comment to the current GM survey
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 ticket
GetGMTicket - Requests a GM ticket update from the server
GetGMTicketCategories - Returns a list of available GM ticket categories
NewGMTicket - Opens a new GM support ticketprotected
UpdateGMTicket - Updates the current GM Ticket with the appropriate textprotected
Guild bank functions

AutoStoreGuildBankItem - Withdraws an item from the guild bank, automatically storing it in your inventory
BuyGuildBankTab - Purchases the next available guild bank tab, without confirmation
CanEditGuildTabInfo - Returns whether or not the player can edit a given guild tab info
CanGuildBankRepair - Returns whether or not the player can pay for repairs using guild bank funds
CanWithdrawGuildBankMoney - Returns whether or not the player can withdraw money from the guild bank
CloseGuildBankFrame - Closes the guild bank frame
DepositGuildBankMoney - Deposits money into the guild bank
GetCurrentGuildBankTab - Returns the currently selected guild bank tab
GetGuildBankItemInfo - Returns information about the guild bank item in a given slot
GetGuildBankItemLink - Returns the item link of the item at a specific position in the guild bank.
GetGuildBankMoney - Returns the amount of money available in the guild bank, in copper
GetGuildBankMoneyTransaction - Returns information from the guildbank money log.
GetGuildBankTabCost - Returns the cost of the next available guild bank tab
GetGuildBankTabInfo - Returns information about a given guild bank tab.
GetGuildBankTabPermissions - Returns the permissions the currently selected guild rank has for a given guild bank tab
GetGuildBankText - Returns the text from the info pane for the given guild bank tab
GetGuildBankTransaction - Returns information about a specific guild bank item transaction
GetGuildBankWithdrawLimit - Returns the guildbank gold withdraw limit for the current rank being viewed in the guild control pane.
GetGuildBankWithdrawMoney - Returns the amount of gold the player can withdraw from the bank daily
GetNumGuildBankMoneyTransactions - Returns the number of guild bank money transactions available for the money log
GetNumGuildBankTabs - Gives the number of purchased tabs for the guildbank
GetNumGuildBankTransactions - Returns the number of transactions for the specified guild bank tab.
PickupGuildBankItem - Picks up an item from the guild bank and holds it on the cursor
PickupGuildBankMoney - Withdraws money from the guild bank, placing it on the cursor
QueryGuildBankLog - Queries the server for a guild bank log for a specific tab
QueryGuildBankTab - Queries the server for the contents of the specified guildbank tabalso
QueryGuildBankText - Queries the server for the info text of the specified guild bank tab
SetCurrentGuildBankTab - Sets the currently selected guild bank tab
SetGuildBankTabInfo - Sets the name and icon for a guild bank tab
SetGuildBankTabPermissions - Enables or disabled a specific guild bank tab permission
SetGuildBankTabWithdraw - Sets the number of withdrawls allowed for the currently selected guild rank, on the given guild bank tab
SetGuildBankText - Sets the info page text on the given guild bank tab
SetGuildBankWithdrawLimit - Sets the amount of withdrawals allowed for the selected guild rank
SplitGuildBankItem - Splits an item in a given tab and slot, placing the new stack on the cursor.
WithdrawGuildBankMoney - Attempts to withdraw an amount of money in coppers from the guild bank. Does nothing on failure.
Guild functions

AcceptGuild - Accept an invitation to join a guild
BuyGuildCharter - Purchases a guild charter with a given name
CanEditGuildInfo - Returns whether or not the player can edit the guild information
CanEditMOTD - Returns whether or not the player can edit the guild MOTD
CanEditOfficerNote - Returns whether or not the player can edit officer notes
CanEditPublicNote - Returns whether or not the player can edit public notes
CanGuildDemote - Returns whether or not the player can demote lower ranked guild members
CanGuildInvite - Returns whether or not the player can invite members to their guild
CanGuildPromote - Returns whether or not the player has the ability to promote other players within the guild.
CanGuildRemove - Returns whether or not the player can remove a member from their guild
CanViewOfficerNote - Returns whether or not the player can view officer notes
CloseGuildRegistrar - Closes the guild registrar frame
CloseGuildRoster - Closes the Guild Roster UI frame
CloseTabardCreation - Closes the tabard creation window
DeclineGuild - Declines an offered guild invitation
GetGuildCharterCost - Returns the cost of a guild charter
GetGuildEventInfo - Returns information on the guild log.
GetGuildInfo - Retrieves information about a players guild.
GetGuildInfoText - Returns the information text for the player's guild.
GetGuildRosterInfo - Returns information about the selected player in your guild roster.
GetGuildRosterLastOnline - Returns the amount of time since a guild members has been seen online
GetGuildRosterMOTD - Returns the Message of the Day for your guild
GetGuildRosterSelection - Returns the raid roster index of your currently selected guild member.
GetGuildRosterShowOffline - Returns whether or not the "Show Offline" setting is enabled in the Guild tab
GetGuildTabardFileNames - Returns the filenames of the textures that comprise the player's guild tabard
GetNumGuildEvents - Returns the number of available guild events for the guild log
GetNumGuildMembers - Returns the number of members in the player's guild
GetTabardCreationCost - Returns the cost to create a guild tabard
GetTabardInfo - This function is deprecateddeprecated
GuildControlAddRank - Adds a new rank to the player's guild.
GuildControlDelRank - Deletes a guild rank.
GuildControlGetNumRanks - Returns the number of guild ranks in the guild including the guild master.
GuildControlGetRankFlags - Returns a list of permission flags for a guild rank
GuildControlGetRankName - Returns the name of the given guild rank
GuildControlSaveRank - Saves the settings for a guild rank
GuildControlSetRank - Sets the current rank in the guild control window
GuildControlSetRankFlag - Sets the current rank permission to enabled or disabled.
GuildDemote - Demotes a guild member by one guild rank
GuildDisband - Disbands your guild without confirmation. Can only be done by the guildleader.
GuildInfo - Queries the server for the player's guild information
GuildInvite - Invites a player to your guild
GuildLeave - Causes the player to leave their current guild without confirmation
GuildPromote - Promotes a given plakyer to the next highest guild rank
GuildRoster - Initiates a guild roster update
GuildRosterSetOfficerNote - Sets an officer note for a guild member
GuildRosterSetPublicNote - Sets the public note of a guild member
GuildSetLeader - Promotes the specified player to be the new guild leader.
GuildSetMOTD - Sets the guild message of the day.
GuildUninvite - Uninvites a player from the guild
IsGuildLeader - Returns whether or not the current player is guild leader
IsInGuild - Returns whether or not the player is in a guild
QueryGuildEventLog - Queries the server for the guild event log.
SaveGuildRoster - Saves the guild roster GuildRoster.txt in the Logs folder.
SetGuildInfoText - Sets the guild information text.
SetGuildRosterSelection - Sets the selection in the guild rosteralso
SetGuildRosterShowOffline - Sets the value for the "Show Offline" guild setting
SortGuildRoster - Sorts the guild roster
TurnInGuildCharter - Turns in a completed guild charter
UnitIsInMyGuild - Returns whether or not a given unit or player is in the player's guild
Inspect functions

CanInspect - This function returns if the given unit can be inspected.
ClearInspectPlayer - Clears the data for the currently inspected player
GetInspectArenaTeamData - Returns information about an inspect target's arena team
GetInspectHonorData - Returns honor information about an inspect target
HasInspectHonorData - Returns whether or not the client has honor data for the currently inspected player
NotifyInspect - Queries the server for an inspected unit's talent information
RequestInspectHonorData - Requests honor data for the currently inspected targetalso
Instance functions

CanShowResetInstances - Returns whether or not the player can reset instances
GetCurrentDungeonDifficulty - Returns the currently dungeon difficulty level
GetDefaultDungeonDifficulty - Returns the default dungeon difficulty level for the player
GetInstanceBootTimeRemaining - Returns the amount of time left until the player is removed from the current instance
GetInstanceDifficulty - Returns your group's dungeon difficulty setting
GetNumSavedInstances - Returns the number of instances the player is saved to
GetSavedInstanceInfo - Returns information on a specific instance the character is saved to.
IsInInstance - Returns whether or not the player is currently in an instance, and if so what type
ResetInstances - Resets all non-saved instances
SetDungeonDifficulty - Sets the dungeon difficulty mode
Inventory functions

BankButtonIDToInvSlotID - Returns an inventory slot Id mapped from a bank location
CancelPendingEquip - Cancels a pending equip action
GetInventoryAlertStatus - Returns the durability level of a given inventory slot
GetInventoryItemBroken - Returns whether or not the given inventory item is broken
GetInventoryItemCooldown - Returns cooldown information about a current inventory item
GetInventoryItemCount - Returns the number of items stacked in an inventory slot
GetInventoryItemDurability - Returns the durability stats for a given item
GetInventoryItemLink - Returns an item link for an inventory item
GetInventoryItemQuality - Returns the quality level of a given inventory item
GetInventoryItemTexture - Returns the item texture for a specific inventory 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 or not the supplied item is currently equipped by the player
IsEquippedItemType - Returns whether or not an item type is currently equipped
IsInventoryItemLocked - Returns whether or not the given inventory slot is locked
KeyRingButtonIDToInvSlotID - Converts a key ring slotID to an inventory slotID
PickupInventoryItem - Picks an inventory item up and holds it on the cursor
UpdateInventoryAlertStatus - This is an internal functioninternal
UseInventoryItem - Uses an item from the player's inventory
Item functions

AutoEquipCursorItem - Tries to equip the item currently held on the cursor.
CancelItemTempEnchantment - Cancels a temporary item enchant
CursorHasItem - Indicates if the cursor is currently holding an item
DeleteCursorItem - Confirms deletion of the item currently held on the cursor
DropItemOnUnit - Drops the currently held item on a specific unit
EquipCursorItem - Attempts to equip the item held on the cursor into a specific inventory slot
EquipItemByName - Equips an item by name, item link or item id
EquipPendingItem - Confirms equpping a pending bind-on-equip item
GetAbandonQuestItems - Returns any items that would be destroyed by confirming abandoning the current quest
GetContainerItemCooldown - Returns information about the cooldown for an item in one of your bags
GetContainerItemDurability - Returns durability information for an item in one of your bags
GetContainerItemInfo - Returns information aboute an item in a container
GetExtendedItemInfo - This is an internal functioninternal
GetGuildBankItemInfo - Returns information about the guild bank item in a given slot
GetInventoryItemBroken - Returns whether or not the given inventory item is broken
GetInventoryItemCooldown - Returns cooldown information about a current inventory item
GetInventoryItemCount - Returns the number of items stacked in an inventory slot
GetInventoryItemDurability - Returns the durability stats for a given item
GetInventoryItemQuality - Returns the quality level of a given inventory item
GetInventoryItemTexture - Returns the item texture for a specific inventory item
GetInventoryItemsForSlot - Returns a list of items that can be equipped in a given inventory slot
GetItemCooldown - Returns cooldown information about a given item
GetItemCount - Returns the number of a given item the player has in possession (possibly including bank)
GetItemFamily - Returns the bag type of the given item
GetItemGem - Returns the name and link for a gem in a specific item socket
GetItemIcon - Returns the texture path for the given item's icon
GetItemInfo - Returns information about an item, by name, link or id
GetItemQualityColor - Returns the red, green and blue components of the color for the given item quality index. Also returns a hex representation of the same color.
GetItemSpell - Returns information about the spell cast when using a given item
GetTradePlayerItemInfo - Returns information about an item that the player has placed in the trade window
IsConsumableItem - Whether or not a given item is consumable.
IsCurrentItem - Returns true if the item is being used and nothing if it is not
IsEquippableItem - Returns whether or not a given item is equippable
IsEquippedItem - Returns whether or not the supplied item is currently equipped by the player
IsEquippedItemType - Returns whether or not an item type is currently equipped
IsHarmfulItem - Returns whether or not an item is harmful (hostile to your target)
IsHelpfulItem - Returns whether or not the item is helpful
IsItemInRange - Returns whether or not a usable item is in range of a given unit
IsUsableItem - Determine the usability of an item.
ItemHasRange - Returns whether or not the item has a range for use.
PickupContainerItem - Picks up an item from a container and holds it on the cursor
PickupGuildBankItem - Picks up an item from the guild bank and holds it on the cursor
PickupInventoryItem - Picks an inventory item up and holds it on the cursor
PickupItem - Picks up an item by name or id and holds it on the cursor
PutItemInBackpack - Puts the currently held item into the first open slot in the player's backpack.
PutItemInBag - Attempts to place a item under the cursor inside the specified bag.
RepairAllItems - Attempts to repair all items. Requires the player to be at a merchant that repairs. Passing 1 to the function will attempt to make use of guild bank money for repairs.
SpellCanTargetItem - Return whether or not the spell on the cursor can target an item or not. Will return nil when no spell is on the cursor.
SpellTargetItem - Casts a pending spell (glowing blue cursor) on the given itemprotected
SplitContainerItem - Splits an item in a given container, placing the new stack on the cursor.
SplitGuildBankItem - Splits an item in a given tab and slot, placing the new stack on the cursor.
UseContainerItem - Use an item from one of your containers, optionally on a targetprotected
UseInventoryItem - Uses an item from the player's inventory
UseItemByName - Uses an item, optionally on a specified targetprotected
Item text functions

CloseItemText - Closes the item text display frame.
ItemTextGetCreator - Gets the creator of the text currently being viewed. Used for books, parchments and the like.
ItemTextGetItem - Returns the name of the currently viewed ItemText item
ItemTextGetMaterial - Returns the texture for the current book/parchement being displayed in the ItemTextFrame. A return value of 'nil' means 'Parchment' is being used.
ItemTextGetPage - Returns the page number of the currently item text
ItemTextGetText - Returns the test associated with the open item.
ItemTextHasNextPage - Determines if the currently open book has another page following the current one.
ItemTextNextPage - Asks the game to move the currently open book, or other readable object to the next page of text.
ItemTextPrevPage - Asks the game to move the currently open book, or other readable object to the previous page of text.
Itemlink functions

GetAuctionItemLink - Returns an item link for a given auction item
GetBuybackItemLink - Returns the item link for an item in the buyback window
GetContainerItemLink - Returns the item link of the item at a specific position in the players bags or bank.
GetCursorInfo - Returns information about the object currently held by the cursor
GetExistingSocketLink - Returns an item link for a socketed gem.also
GetGuildBankItemLink - Returns the item link of the item at a specific position in the guild bank.
GetGuildBankTransaction - Returns information about a specific guild bank item transaction
GetInboxItemLink - Returns the item link to the specified attachment.
GetInventoryItemLink - Returns an item link for an inventory item
GetItemGem - Returns the name and link for a gem in a specific item socket
GetItemInfo - Returns information about an item, by name, link or id
GetLootRollItemLink - Returns an item link for the specified item
GetLootSlotLink - Returns an item link for a given loot window slot
GetMacroItem - Returns information about a macro, if it's next action would be to use an item
GetMerchantItemLink - Returns the full link of the item in question, or nil if the index is out of range.
GetNewSocketLink - Returns an item link for a gem to be socketedalso
GetQuestItemLink - Returns an item link for a quest item (reward or requirement)
GetQuestLogItemLink - Returns the item link of a specific item in the quest log reward or progress frame.
GetSendMailItemLink - Returns an item link for an item in the send mail window.
GetTradePlayerItemLink - Returns a link for an item offered by the player in the trade window
GetTradeSkillItemLink - Returns an item link for the given tradeskill item
GetTradeSkillReagentItemLink - Returns the item link for a tradeskill's reagent
GetTradeSkillRecipeLink - Returns an item link for a tradeskill recipe
GetTradeTargetItemLink - Returns an item link for an item being offered by the target in a trade
GetTrainerServiceItemLink - Returns an item link for a given trainer service item
Keybind functions

ClearOverrideBindings - Clears all override bindings for a given owner
GetBinding - Returns information about a key binding.
GetBindingAction - Returns the action associated with the given key
GetBindingByKey - Returns the actions bound to a specific key combination
GetBindingKey - Returns the key combinations for a given binding command
GetCurrentBindingSet - Returns the type of key bindings in use
GetNumBindings - Returns the number of key binding actions listed in the Key Bindings window.
LoadBindings - Loads a set of keybindings
RunBinding - Runs a keybinding by name
SaveBindings - Saves the current keybindings set to disk
SetBinding - Sets a key combination to a given binding.
SetBindingClick - Set a key binding directly to a Button object
SetBindingItem - This funcion will bind a specific key to a specific item. Hitting that key after calling this function will cause the item to be used or activated.
SetBindingMacro - Assign a keybinding to a specific macro
SetBindingSpell - Binds a spell directly to a key combination
SetMouselookOverrideBinding - Overrides the default mouselook bindings to perform another binding with the mouse buttons
SetOverrideBinding - Set an override binding to the given command.also
SetOverrideBindingClick - Sets an override binding that acts like a mouse click on a button.also
SetOverrideBindingItem - Sets an override binding to use a specific item
SetOverrideBindingMacro - Sets an override binding to a specific macro
SetOverrideBindingSpell - Set an override binding to a specific spellalso
Keyboard functions

GetCurrentKeyBoardFocus - Returns the frame that currently has the keyboard focus
IsAltKeyDown - Returns whether or not an Alt key on the keyboard is held down.also
IsControlKeyDown - Returns whether or not a Control key on the keyboard is held downalso
IsLeftAltKeyDown - Returns whether or not the left Alt key is currently held downalso
IsLeftControlKeyDown - Returns whether or not the left Control key is held downalso
IsLeftShiftKeyDown - Returns whether or not the left Shift key on the keyboard is held downalso
IsModifierKeyDown - Returns whether or not a modifier key is held downalso
IsRightAltKeyDown - Returns whether or not the right Alt key is currently held downalso
IsRightControlKeyDown - Returns whether or not the right Control key on the keyboard is held downalso
IsRightShiftKeyDown - Returns whether or not the right shift key on the keyboard is held downalso
IsShiftKeyDown - Returns whether or not a Shift key on the keyboard is held down.also
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 or not 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 or not a knowledge base query was loaded successfully
KBSetup_BeginLoading - Loads a maximum number of "Top Issues" from a given pagealso
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 or not the knowledge base setup has loaded successfully
KBSystem_GetMOTD - Returns the currently knowledgebase MOTD
KBSystem_GetServerNotice - Returns the text of the knowledgebase server system notice
KBSystem_GetServerStatus - Returns the knowledge base server system status message
Looking for group functions

AcceptLFGMatch - Accepts a proposed LFG matchdeprecated
CanSendLFGQuery - Returns whether or not the player can submit a LFG/LFM request for the given type and index
CancelPendingLFG - Removes the player from all open LookingForGroup queues.
ClearLFGAutojoin - Clears the Autojoin functionality in the LFG tool
ClearLFMAutofill - Stops the LFM interface from auto-adding members to your group
ClearLookingForGroup - Clears the player from any LFG/LFM listings or requests
ClearLookingForMore - Clears all active LFM requests, removing the player from the LFG queue
DeclineLFGMatch - This function is deprecateddeprecated
GetLFGPartyResults - Returns information about a member of a party in the LFG results
GetLFGResults - Returns information about a specific line of a LFM/LFG query
GetLFGStatusText - Returns information on your current Looking For Group status.
GetLFGTypeEntries - Returns the valid entries of a specific type in the LFG system
GetLFGTypes - Returns the type of possible LFG queries
GetLookingForGroup - Retrieves information about the players LFG status.
GetNumLFGResults - Returns the number of results from a LFG query
IsInLFGQueue - Returns whether or not the player is currently in the LFG queue
LFGQuery - Sends a looking for group request, optionally filtered by class
SetLFGAutojoin - Enables auto-join in the LFG system
SetLFGComment - Adds a comment to your listing in the LFG system
SetLFGType - Sets a filter for the LFG system in a specific slot
SetLFMAutofill - Turns on the auto-fill option in the Looking For More interface
SetLFMType - Sets the type of the current LFM request
SetLookingForGroup - Sets one of the three looking for group slots
SetLookingForMore - Start looking for more members for the given activity type and index
SortLFG - Sets the sort type for a Looking for Group query
Loot functions

CloseLoot - Closes the loot window
ConfirmLootRoll - Confirms a loot roll for a given item that will be bound to your character if you win the roll
ConfirmLootSlot - Confirms the looting of a bind-on-pickup item
GetLootMethod - Retrieves information about the groups loot setting.
GetLootRollItemInfo - Returns information about the specified item to roll on.
GetLootRollItemLink - Returns an item link for the specified item
GetLootRollTimeLeft - Returns the amount of time left on the given loot roll, in milliseconds.
GetLootSlotInfo - Returns the information for a loot slot item
GetLootSlotLink - Returns an item link for a given loot window slot
GetLootThreshold - Returns the current loot threshold setting.
GetMasterLootCandidate - Returns information about a given loot candidate
GetNumLootItems - Returns the number of items available to be looted
GetOptOutOfLoot - Returns `1` if you are opting out of loot, otherwise `nil`.
IsFishingLoot - Returns whether or not the currently displayed loot is fishing loot
LootSlot - Attempt to loot the item in the specified slot.
LootSlotIsCoin - Returns whether or not a given loot slot contains coins
LootSlotIsItem - Returns whether or not a given loot slot contains an item
RollOnLoot - Perform a type of roll (pass/need/greed) on a given loot
SetLootMethod - Sets the loot method when in a group or party. Requires leader.
SetLootPortrait - Sets a texture to the current loot portrait
SetLootThreshold - Sets the loot threshold to a specific item quality
SetOptOutOfLoot - Sets whether to opt out of random loot
Lua library functions

assert - luaapi
collectgarbage - luaapi
date - Gets a formatted date string or table
difftime - Calculates the difference between two time valuesluaapi
gcinfo - Returns the total addon memory usage in kilobytes.luaapi
getfenv - luaapi
getmetatable - luaapi
hooksecurefunc - Add a function to be called after the original secure function.
ipairs - luaapi
loadstring - luaapi
next - luaapi
pairs - luaapi
pcall - luaapi
rawequal - luaapi
rawget - luaapi
rawset - luaapi
select - luaapi
setfenv - luaapi
setglobal - Sets a global variable to a specified value
setmetatable - luaapi
time - luaapi
tonumber - luaapi
tostring - luaapi
type - luaapi
unpack - luaapi
xpcall - luaapi
Mac client functions

IsMacClient - Returns whether or not the running client is a Mac
MovieRecording_Cancel - Cancels a currently recording video
MovieRecording_DataRate - Returns the data rate required per second for recording video.
MovieRecording_DeleteMovie - Deletes a movie currently pending compression
MovieRecording_GetAspectRatio - Returns the aspect ratio used in any movie recordings
MovieRecording_GetMovieFullPath - Returns the full path of the movie currently being recorded or compressed
MovieRecording_GetProgress - Returns information about the movie that is currently being compressed.maconly
MovieRecording_GetTime - Returns the amount of time since the last video recording operation was started
MovieRecording_GetViewportWidth - Queries the current width of the game's viewport
MovieRecording_IsCodecSupported - Returns whether or not a given video recording codec is supported by the client
MovieRecording_IsCompressing - Returns whether or not the client is currently compressing a recording
MovieRecording_IsRecording - Returns whether or not the client is currently recording a movie
MovieRecording_IsSupported - Returns whether or not movie recording is supported by client
MovieRecording_MaxLength - Returns the maximum length of a recorded video
MovieRecording_QueueMovieToCompress - Adds a movie to the compression queue, starting immediate if the queue is empty
MovieRecording_SearchUncompressedMovie - Enables or disables a search for uncompressed movies
MovieRecording_Toggle - Begins recording a new video, or stops the currently recording video
MovieRecording_ToggleGUI - Toggles recording of the user interface when recording a video.
MusicPlayer_BackTrack - Goes back a track in iTunesprotected maconly
MusicPlayer_NextTrack - Goes to the next track in iTunes.protected maconly
MusicPlayer_PlayPause - Plays or pauses playback in iTunesprotected maconly
MusicPlayer_VolumeDown - Turns the volume down in iTunesprotected maconly
MusicPlayer_VolumeUp - Turns the volume up in iTunesprotected maconly
Macro functions

CreateMacro - Creates a new macro
CursorHasMacro - Returns whether or not the cursor currently holds a macro
DeleteMacro - Deletes a macro by id
EditMacro - Edit Macro command/button
GetMacroBody - Returns the body of a given macro index
GetMacroIconInfo - Returns the texture for a given macro icon index
GetMacroIndexByName - Converts a macro name to macro index
GetMacroInfo - Returns name, texture and body of a given macro
GetMacroItem - Returns information about a macro, if it's next action would be to use an item
GetMacroItemIconInfo - Returns the texture for macro item icons
GetMacroSpell - Returns the spell a given macro is set to cast
GetNumMacroIcons - Returns the number of available macro icons
GetNumMacroItemIcons - Returns the number of available macro 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 - Simulates picking up a macro from the macro window, placing it on the cursor
RunMacro - Runs the specified macroprotected
RunMacroText - Runs the given text as a macroprotected
SecureCmdOptionParse - Parses a secure command (macro, slash command) into an action and possible target
SetMacroItem - Sets a macro to use a specific item and target for visual updates
SetMacroSpell - Sets the spell and target unit used to update a macros icon and range indicator
StopMacro - Stops execution of a running macroprotected
Mail functions

AutoLootMailItem - Automatically takes all attached items from a mail message
CanComplainInboxItem - Query an inbox item for "Report Spam" availability
CheckInbox - Requests the player's mailbox information from the server
ClearSendMail - Clears the send mail window, removing all items, money, text
ClickSendMailItemButton - Causes the item currently being held by the cursor to be placed in the mailbox send item slot
CloseMail - Closes the mail window
ComplainInboxItem - Reports an inbox item as spam
DeleteInboxItem - Deletes the given mail from your inbox.
GetInboxHeaderInfo - Returns information an inbox item
GetInboxInvoiceInfo - Returns information about an auction house invoice
GetInboxItem - Returns information about an item attached to a received mail
GetInboxItemLink - Returns the item link to the specified attachment.
GetInboxNumItems - Returns the number of mail items in currently in your inbox.
GetInboxText - Returns information about the text of an inbox message
GetLatestThreeSenders - Returns the names of the last three senders of unchecked mail
GetNumPackages - Returns the number of packages.
GetNumStationeries - Returns the number of available stationeries
GetPackageInfo - Returns information on the given package. Does not seem implemented by Blizzard, index 1 always returns a 'Test Package'.
GetSelectedStationeryTexture - Returns the currently selected stationery texture
GetSendMailCOD - This function is deprecateddeprecated
GetSendMailItem - Returns information on an item slot in the send mail frame.
GetSendMailItemLink - Returns an item link for an item in the send mail window.
GetSendMailMoney - Returns the amount of money that will be sent with your next mail messagealso
GetSendMailPrice - Returns the cost associated with sending an ingame mail message.
GetStationeryInfo - Returns information about a given stationery
HasNewMail - Returns whether or not the player has new mail
InboxItemCanDelete - Returns whether or not an inbox item can be deleted
ReturnInboxItem - Returns the given inbox item to its sender.
SelectPackage - Not yet implemented
SelectStationery - Selects a given stationery for usage when sending mail
SendMail - Sends mail to a player
SetSendMailCOD - Sets the COD cost of a mail being sent
SetSendMailMoney - Sets the amount of money to send with the next mail messagealso
SetSendMailShowing - Controls whether or not right-clicking an item attaches it to the mail to be sent
TakeInboxItem - Takes an attachment from an inbox item without confirmation
TakeInboxMoney - Takes the money from the specified mail in the inbox
TakeInboxTextItem - Sends a request to the server to retrieve the given message's text item
Map functions

GetCorpseMapPosition - Returns the position of the player's corpse on the world map.
GetCurrentMapContinent - Returns the current map continent.
GetCurrentMapZone - Returns the number of the zone currently shown on the World Map
GetDeathReleasePosition - Returns the location of the graveyard where your spirit will appear when it is released from your body
GetMapContinents - Returns a list of the map continents
GetMapInfo - Returns the map 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
GetNumMapLandmarks - Returns the number of point of interest on the world mapalso
GetNumMapOverlays - Returns the number of overlays for the current world map
GetPlayerMapPosition - Returns a unit's position on the current map zoom.
ProcessMapClick - Possibly changes the WorldMap based on a mouse click
SetMapToCurrentZone - Sets the world map to the player's current zone
SetMapZoom - Sets the worldmap to a specific continent or zone within that continent.
UpdateMapHighlight - Returns information about the texture used to highlight subregions of the world map
Merchant functions

BuyMerchantItem - Purchases an item available from a merchant, without confirmation
BuybackItem - Purchases an item from the buyback tab
CanMerchantRepair - Returns whether or not the open merchant can repair equipment
CloseMerchant - Closes the open merchant window
GetArenaCurrency - Returns the number of available arena currency points
GetBuybackItemInfo - Returns information about an item in the merchant buyback window
GetBuybackItemLink - Returns the item link for an item in the buyback window
GetMerchantItemCostInfo - Returns the cost of a merchant item, in honor points, arena points, and marks
GetMerchantItemCostItem - Returns information about an item used as currency to purchase another item (such as battleground rewards)
GetMerchantItemInfo - Returns information about an item available at a merchant
GetMerchantItemLink - Returns the full link of the item in question, or nil if the index is out of range.
GetMerchantItemMaxStack - Determines how many of a merchant item you can purchase in one transactionalso
GetMerchantNumItems - Returns the total number of items a merchant has to sell
GetNumBuybackItems - Returns the number of items available on the buyback tab
GetRepairAllCost - Returns the cost to repair all damaged items
InRepairMode - Returns whether or not the player is currently in "item repair mode"
PickupMerchantItem - Picks up an item from the merchant window, holding it on the cursor
RepairAllItems - Attempts to repair all items. Requires the player to be at a merchant that repairs. Passing 1 to the function will attempt to make use of guild bank money for repairs.
Minigame functions

GetMinigameState - This is an internal functioninternal
GetMinigameType - Returns the minigame type of the active minigame
MakeMinigameMove - This function is deprecateddeprecated internal
Miscellaneous functions

CanGrantLevel - Returns whether or not the player has the right to level up their recruit-a-friend partner
CheckBinderDist - Returns whether or not the player is in range of an NPC that can bind their hearthstone
ConfirmBindOnUse - Confirms the "Bind on Use" dialog when using a new item
ConfirmSummon - Accepts a summon spell
DeclineResurrect - Declines a resurrection spell
FlagTutorial - Flags a tutorial step as already viewed, so it doesn't appears again.
GetDefaultLanguage - Returns the default language that the character speaks
GetMirrorTimerInfo - Returns information about a mirror timer bar
GetMirrorTimerProgress - Returns the progress of a mirror timer (breath, exhaustion, etc.)also
GetPossessInfo - Returns information about the spells in the possess bar
GetReleaseTimeRemaining - Returns the amount of time left until the player is automatically released from their body
GetSummonConfirmAreaName - Returns the destination area of the pending summon spell
GetSummonConfirmSummoner - Returns the name of the summoner, so it can be displayed in the confirmation dialog
GetSummonConfirmTimeLeft - Returns time left in seconds until summon cancel. Will return 0 with no summon dialog up.
InitWorldMapPing - Resets the position of the ping frame (WorldMapPing) on the WorldMap. There is no real reason to use this.internal
RegisterForSave - Registers a variable to be saved between sessionsinternal blizzonly
RegisterForSavePerCharacter - This is an internal functioninternal blizzonly
RequestTimePlayed - Queries the server for the amount of time played on the given character
ResurrectHasSickness - Determines if using a spirit healer to resurrect will give you resurrection sickness.
Screenshot - Takes a screenshot, displaying a message when done
SetBagPortraitTexture - Sets a texture to a circular rendering of the specified bag's icon
SetInventoryPortraitTexture - Sets a portrait texture using an inventory item
SetPortraitTexture - Sets a portrait texture based on a unit's model
SetPortraitToTexture - Sets a portrait to a given texture.
TutorialsEnabled - Returns the status of the tutorials, if they are enabled or not.
issecure - Returns whether or not the current execution path is secure
securecall - protected
Modified click functions

GetModifiedClick - Returns the modifiers set (for example "CTRL-SHIFT") for the given modified click
GetModifiedClickAction - Returns the token/name for a modified click action
GetNumModifiedClickActions - Returns the number of registeredd modifed click actions.
IsModifiedClick - Determines if the modifiers specified in the click-type had been held down while the button click occured.
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 or not the player can withdraw money from the guild bank
CursorHasMoney - Returns whether or not the cursor is currently holding money
DepositGuildBankMoney - Deposits money into the guild bank
DropCursorMoney - Drops the money currently held to the cursor, returning it to where it was taken from
GetCoinIcon - Returns a texture path for an icon depending on the amount passed.
GetCursorMoney - Returns the amount of money currently held by the cursor, in copper
GetMoney - Return the amount of money the player currently possesses.
GetPlayerTradeMoney - Returns the amount of money the player deposited in an open trade window.
GetQuestLogRequiredMoney - Returns the amount of money required for the selected quest
GetQuestLogRewardMoney - Returns the amount of money rewarded on quest completion.
GetTargetTradeMoney - Returns the amount of money the target has placed in the trade window.
PickupGuildBankMoney - Withdraws money from the guild bank, placing it on the cursor
PickupPlayerMoney - Picks up money from the player's inventory and holds it on the cursor
PickupTradeMoney - This is an internal functioninternal deprecated
SetSendMailMoney - Sets the amount of money to send with the next mail messagealso
SetTradeMoney - Sets the amount of money to trade in the trade window, in copper
WithdrawGuildBankMoney - Attempts to withdraw an amount of money in coppers from the guild bank. Does nothing on failure.
Movement functions

AscendStop - Called when the player releases the binding for Jumpprotected
DescendStop - Called when the player releases the sit/descend key (while swimming or flying)protected
FollowUnit - Follows a specified player
JumpOrAscendStart - Begins ascent when you're on a flying mount or a jump otherwiseprotected
MouselookStart - Enables mouse-look mode, where cursor movement rotates the camera
MoveAndSteerStart - Initiates forward movement with steering controlled by the mouseprotected
MoveAndSteerStop - Stops movement initiated by [[docs/api/MoveAndSteerStart|MoveAndSteerStart]]protected
MoveBackwardStart - Starts your character moving backwardprotected
MoveBackwardStop - Stops movement initiated by [[docs/api/MoveBackwardStart|MoveBackwardStart]]protected
MoveForwardStart - Starts your character moving forwardprotected
MoveForwardStop - Stops movement initiated by [[docs/api/MoveForwardStart|MoveForwardStart]]protected
MoveViewInStart - Begins the camera zooming in on your characterprotected
MoveViewOutStop - Stops the camera movement initiated by [[docs/api/MoveViewOutStart|MoveViewOutStart]]protected
PitchDownStart - Starts steering your character downwards in flight or while swimmingprotected
PitchUpStart - Starts steering your character upward while swimming or in flightprotected
PitchUpStop - Stops the steering initiated by [[docs/api/PitchUpStart|PitchUpStart]]protected
SitStandOrDescendStart - Toggles between sitting and standing while unmounted on the ground, or starts you descending while flying or swimmingprotected
StrafeLeftStart - Makes the character start strafing left.protected
StrafeLeftStop - Stops the character from strafing left.protected
StrafeRightStart - Begins strafing to the right.protected
StrafeRightStop - Stops the player from strafing rightprotected
ToggleAutoRun - Turns on auto runprotected
ToggleMouseMove - Toggles mouse movement
ToggleRun - Toggles between running and walkingprotected
TurnLeftStart - Starts your character turning leftprotected
TurnLeftStop - Stops the turning initiated by [[docs/api/TurnLeftStart|TurnLeftStart]]protected
TurnOrActionStart - Starts your character turning by mouse movement or begins using an object in the game worldprotected
TurnOrActionStop - Stops the steering or uses the object as initiated by [[docs/api/TurnOrActionStart|TurnOrActionStart]]protected
TurnRightStart - Starts steering your character to the rightprotected
TurnRightStop - Stops the steering initiated by [[docs/api/TurnRightStart|TurnRightStart]]protected
NPC functions

CloseGossip - Closes the gossip window
GetGossipActiveQuests - Returns a list of the available quests during a Gossip interaction
GetGossipAvailableQuests - Gets a list of all available quests of the active gossip frame.
GetGossipOptions - Returns the available gossip options for a given NPC
GetGossipText - Returns the text that is displayed when initially conversing with an NPC
GetGreetingText - Returns the greeting text displayed for quest NPCs with multiple quests
GetNumGossipActiveQuests - Returns the number of currently active quests in the gossip window
GetNumGossipAvailableQuests - Returns the number of available quests in the gossip window
GetNumGossipOptions - Returns the number of options in the current gossip frame
SelectGossipOption - Selects an option in the NPC dialog (gossip) window
PVP functions

CanHearthAndResurrectFromArea - Returns whether the current area is a world PvP zone
GetHonorCurrency - Returns the number of honor points available to purchase rewards
GetPVPDesired - Returns whether or not the player has manually toggled the PVP flag on
GetPVPLifetimeStats - Returns lifetime honorable kills, and the highest PvP rank the player has attained.
GetPVPRankInfo - Returns information about a given PvP rank index
GetPVPRankProgress - This function is deprecateddeprecated
GetPVPSessionStats - Returns the pvp stats for the current session
GetPVPTimer - Returns the amount of time until the player's PVP flag expires
GetPVPYesterdayStats - Returns the player's PVP stats from yesterday
GetZonePVPInfo - Returns PVP information about the current zone
IsSubZonePVPPOI - Returns whether or not the current subzone is a PVP point of interest
SetPVP - Enables/Disables PVP for the player.
TogglePVP - Toggles the player's PvP state.
UnitIsPVPFreeForAll - Returns whether the unit is flagged for free-for-all PVP, EG in a world Arena
UnitIsPVPSanctuary - Returns 1 if the unit in question is in a PVP sanctuary, nil otherwise.
UnitPVPName - Returns the name of the unit with the selected PVP title prepended to it
UnitPVPRank - Returns a unit's PVP rank as a number
Party functions

AcceptGroup - Accepts an invitation to a party
ClearPartyAssignment - Clears a specified assignment (main tank, main assist) for the specified unit, or all raid members if not specified.
ConfirmReadyCheck - Sends your ready status to the raid leader when asked for a readycheck
ConvertToRaid - Converts a party to a raid. Does nothing if not in a party or not the party leader.
DeclineGroup - Declines a group invitation
DoReadyCheck - Perform a ready check
GetNumPartyMembers - Returns the number of players in your party.
GetOptOutOfLoot - Returns `1` if you are opting out of loot, otherwise `nil`.
GetPartyAssignment - Returns whether or not a player is assigned a specific role (maintank, mainassist)
GetPartyLeaderIndex - Returns the index of the current party leader
GetPartyMember - Returns whether or not a given party index is exists in the player's party
GetReadyCheckStatus - Gets the given player's response to 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 "real" non-battleground party
InviteUnit - Invites a player or unit to the player's party
IsPartyLeader - Returns whether or not a unit is the current party leader
IsRealPartyLeader - Returns whether or not the player is the leader of their "real party"
LeaveParty - Call this function to leave the current party or raid
PromoteToLeader - Promotes a player to party/raid leader
QuestLogPushQuest - Shares the currently selected quest with the other party members.
SetOptOutOfLoot - Sets whether to opt out of random loot
SetPartyAssignment - Assigns a party role (maintank, mainassist) to a player or unitprotected
TargetNearestPartyMember - Cycles your target through your nearest party membersprotected
UninviteUnit - Removes the specified unit from the current group.
UnitInParty - Returns whether or not a given unit is in the player's party.
UnitIsPartyLeader - Returns 1 if the specified unit is the leader of the players party.
UnitPlayerOrPetInParty - This function will tell you if the unit in question is in your party.
Pet functions

BuyStableSlot - Purchases the next available stable slot, without confirmation
CastPetAction - Casts a pet action on a specific targetprotected
CheckPetUntrainerDist - Returns whether or not the player is in range of a Pet Trainer
ClickStablePet - Simulates a click on the given stable pet index
ClosePetStables - Closes the Pet Stable UI window
ConfirmPetUnlearn - Confirms unlearning a pet's skills
DisableSpellAutocast - Disables auto-cast for a given pet spell
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.
GetPetActionCooldown - Returns cooldown information about a given pet action slot
GetPetActionInfo - Returns information about a pet action
GetPetActionsUsable - Returns whether or not the pet's actions are usable
GetPetExperience - Returns the pet's current experience, and the amount required to level
GetPetFoodTypes - Returns a list of strings enumerating the food types your current pet can eat.
GetPetHappiness - Returns information about the player's pet's happiness
GetPetIcon - Returns the icon the player's pet would have if stabled
GetPetTimeRemaining - Returns the time till despawn of a temporary pet like shadowfriend and mages' water elemental.
GetSelectedStablePet - Returns the index of the currently selected stable pet
GetStablePetFoodTypes - Returns the types of food that a stabled pet will eat
GetStablePetInfo - Returns information about a currently stabled pet
GetUnitMaxHealthModifier - Gets a modifier for calculating health gain from stamina
HasPetSpells - Returns whether or not the player's current active pet has spells or not.
HasPetUI - Returns whether or not the client should show the pet UI
IsPetAttackActive - Returns whether or not the pet's attack action is currently active
PetAbandon - Releases the players current pet back into freedom.
PetAggressiveMode - Sets your pet to agressive mode.protected
PetAttack - Instructs your pet to attack your current target. Requires a keypressprotected
PetCanBeAbandoned - Returns whether or not the player's pet can be abandoned
PetCanBeRenamed - Returns whether or not the currently controlled pet can be renamed
PetDefensiveMode - Sets the pet into defensive mode, only attacking when the player or itself is attackedprotected
PetDismiss - Dismisses the currently controlled pet
PetFollow - Sets the pet into "Follow" modeprotected
PetHasActionBar - Returns whether or not the player's current pet has an action bar
PetPassiveMode - Sets the pet into passive modeprotected
PetRename - Renames the currently controlled pet
PetStopAttack - Stops your pet auto-attacking.
PetWait - Orders the player's pet into "Stay" mode.protected also
PickupPetAction - Picks up the pet action in the given slot and places it under the cursor.
PickupStablePet - Picks up a stabled pet, and holds it on the cursor
SetPetStablePaperdoll - Sets the given model to the currently selected stabled pet's model
StablePet - Attempts to put your current pet in the stable.
TogglePetAutocast - Toggles autocast for a pet actionprotected
UnitPlayerOrPetInParty - This function will tell you if the unit in question is in your party.
UnstablePet - Unstables the pet in a given stable slot.
Petition functions

BuyGuildCharter - Purchases a guild charter with a given name
BuyPetition - Purchases a petition (used for arena charters)also
CanSignPetition - Returns whether or not the player can sign the currently offered petition
ClickPetitionButton - This function is deprecateddeprecated
ClosePetition - Close the petition window
ClosePetitionVendor - Closes the petition vendor window
GetGuildCharterCost - Returns the cost of a guild charter
GetNumPetitionItems - This function is deprecateddeprecated
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 given petition to create an arena team.
GetPetitionNameInfo - Returns the name of the player that has signed a given petition slot
HasFilledPetition - Returns whether or not the player has a completed petition
OfferPetition - Requests a signature from the targeted player
RenamePetition - Renames the open petition
SignPetition - Signs the currently offered petition
Stuck - Triggers an auto-unstuckprotected
TurnInArenaPetition - Turns in an arena petition
TurnInGuildCharter - Turns in a completed guild charter
TurnInPetition - Deprecateddeprecated
Player information functions

AcceptDuel - Accepts a proposed duel
AcceptResurrect - Accepts a pending resurrection spellalso
AcceptXPLoss - Confirms the loss of 25% durability when resurrecting at the spirit healer, without confirmation
CancelDuel - Cancels a proposed duel, or declines a duel that has been offered
ConfirmBinder - Confirms a new hearthstone location
Dismount - Dismounts the player
DoEmote - Executes a preset emote, with optional target
FollowUnit - Follows a specified player
GetBindLocation - Returns the value of the Hearthstone bind location
GetComboPoints - Returns the number of combo points the player has
GetCorpseRecoveryDelay - Returns the amount of time left until the player can recover their corpse
GetCurrentTitle - Returns the currently selected player title
GetDeathReleasePosition - Returns the location of the graveyard where your spirit will appear when it is released from your body
GetNumTitles - Returns the number of available player titles
GetQuestLogRewardTitle - Returns the title you will be rewarded for completing the quest currently displayed in your quest log
GetResSicknessDuration - Returns the duration of resurrection sickness at the player's current level
GetRestState - Returns the player's current rest state
GetTimeToWellRested - This function is deprecateddeprecated
GetTitleName - Retrieve a title string from a title ID
GetUnitMaxHealthModifier - Gets a modifier for calculating health gain from stamina
GetXPExhaustion - Returns the amount of rested experience the player has earned
GuildLeave - Causes the player to leave their current guild without confirmation
HasFullControl - Returns whether or not the player has full control over their characters
HasKey - Returns whether or not the player currently has a key.
HasNewMail - Returns whether or not the player has new mail
HasSoulstone - Returns whether or not the player has a soulstone resurrection available
HasWandEquipped - Returns whether or not the player has a wand equipped
IsFalling - Returns whether or not the player is falling
IsFlyableArea - Returns whether or not the player's current location is a flyable area
IsFlying - Returns whether or not the player is currently flying
IsGuildLeader - Returns whether or not the current player is guild leader
IsInGuild - Returns whether or not the player is in a guild
IsInInstance - Returns whether or not the player is currently in an instance, and if so what type
IsInLFGQueue - Returns whether or not the player is currently in the LFG queue
IsIndoors - Returns whether or not the player is currently indoors
IsMounted - Returns whether or not your character is mounted.
IsOutOfBounds - Returns whether or not the player is currently outside the bounds of the world
IsOutdoors - This function returns whether or not the player is currently outdoors.
IsRaidLeader - Returns whether or not the player is the leader of their current raid
IsRaidOfficer - Returns whether or not the player is a Raid Officer or not
IsRealPartyLeader - Returns whether or not the player is the leader of their "real party"
IsRealRaidLeader - Returns whether or not the player is the leader of their non-battleground raid party
IsResting - Returns the player's resting status
IsStealthed - Returns whether or not the player is currently stealthed
IsSwimming - This function returns whether or not the player is currently swimming.
IsTitleKnown - Returns whether or not a given title is known (available) to the player
OffhandHasWeapon - Determines whether the player has a weapon in the offhand slot
OpeningCinematic - Displays the player's race's opening cinematic.
PlayerHasSpells - Returns whether the player has any spells. Effectively always returns 1 for all characters.
RepopMe - Will release your spirit and send you to the graveyard when dead.
ResurrectHasTimer - Returns whether or not the player must wait to accept the pending resurrection spell
RetrieveCorpse - Confirms ressurection by returning to the player's corpse
SetCurrentTitle - Sets the players title.
ToggleSheath - Sheaths or unsheaths the player's hand-held items
UseSoulstone - This function causes you to use a Warlock's Soulstone or a Shaman's Resurrection spell when you die
Profiling functions

GetAddOnCPUUsage - Returns the amount of CPU time used by the given addon, in milliseconds
GetAddOnMemoryUsage - Returns the amount of memory used by a given addon
GetEventCPUUsage - Returns information about the CPU usage of events
GetFrameCPUUsage - Gets CPU time used and number of function calls for the frame and it's children depending on the includeChildren setting. includeChildren defaults to 'true'.
GetFramerate - Returns the current graphical framerate
GetFunctionCPUUsage - Returns CPU usage information about a function
GetNetStats - Returns the game's network statistics
GetScriptCPUUsage - Returns the total time used by the scripting subsystem
ResetCPUUsage - Reset the current CPU usage statistics
UpdateAddOnCPUUsage - Scan through the profiling data and update the per-addon statistics
UpdateAddOnMemoryUsage - Updates the addon memory usage information
Quest functions

AcceptQuest - Accepts the quest that is currently displayed
AddQuestWatch - Adds a quest to the quest tracker
CloseQuest - Closes the open quest frame
CollapseQuestHeader - Collapses a header in the quest log
CompleteQuest - Completes the current quest in a questgiver dialog.
ConfirmAcceptQuest - Confirms accepting a quest that someone in your group is starting
DeclineQuest - Declines a quest.
ExpandQuestHeader - Expands a quest header in the quest log
GetAbandonQuestItems - Returns any items that would be destroyed by confirming abandoning the current quest
GetAbandonQuestName - Returns the name of the quest being abandoned
GetActiveLevel - This function is deprecateddeprecated
GetActiveTitle - Returns the name of an active quest in the QuestFrame.
GetAvailableTitle - Queries the title of the selected available quest at a quest NPC.
GetDailyQuestsCompleted - Returns the number of daily quests the player already completed today.
GetGossipActiveQuests - Returns a list of the available quests during a Gossip interaction
GetGossipAvailableQuests - Gets a list of all available quests of the active gossip frame.
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 currently active quests by this player for this NPC
GetNumAvailableQuests - Returns the number of available quests at the current NPC
GetNumGossipActiveQuests - Returns the number of currently active quests in the gossip window
GetNumGossipAvailableQuests - Returns the number of available quests in the gossip window
GetNumQuestChoices - Returns the number of quest choices the current npc has available
GetNumQuestItems - Returns the number of items necessary to complete the active quest
GetNumQuestLeaderBoards - Returns the number of quest objectives for a given quest
GetNumQuestLogChoices - Returns the number of reward choices for the currently selected quest in the quest log
GetNumQuestLogEntries - Returns the number of quest log entries
GetNumQuestLogRewards - Returns the count of the rewards for a particular quest
GetNumQuestRewards - Returns the number of quest rewards for completing a quest
GetNumQuestWatches - Returns the number of quests currently marked for objective watching
GetObjectiveText - Returns the objective text for the currently displayed quest
GetProgressText - Returns the quest progress text given by an NPC
GetQuestBackgroundMaterial - Returns the background material for a given quest
GetQuestGreenRange - Returns the "green" range for quests
GetQuestIndexForTimer - Returns the questlog quest index for the given timer in the QuestTimer frame.
GetQuestIndexForWatch - Returns the index in the quest log of a currently watched quest
GetQuestItemInfo - Returns basic information about the quest items for the quest currently shown in the gossip window.
GetQuestItemLink - Returns an item link for a quest item (reward or requirement)
GetQuestLink - Gets a quest link for the given entry in your quest log
GetQuestLogChoiceInfo - Returns information about an item available as a quest reward choice
GetQuestLogGroupNum - Returns the suggested group size to complete the currently selected quest
GetQuestLogItemLink - Returns the item link of a specific item in the quest log reward or progress frame.
GetQuestLogLeaderBoard - Returns information about tracked quest objectives
GetQuestLogPushable - Determines if the currently selected quest can be shared with your party members.
GetQuestLogQuestText - Retrieves the text fields for the quest log details panel of the currently active quest.
GetQuestLogRequiredMoney - Returns the amount of money required for the selected quest
GetQuestLogRewardHonor - Returns the amount of honor rewarded for completing the currently selected quest in the quest log
GetQuestLogRewardInfo - Returns information about a quest reward
GetQuestLogRewardMoney - Returns the amount of money rewarded on quest completion.
GetQuestLogRewardSpell - Returns information about a quest reward spell
GetQuestLogRewardTitle - Returns the title you will be rewarded for completing the quest currently displayed in your quest log
GetQuestLogSelection - Returns the index of the currently selected quest in the quest log.
GetQuestLogTimeLeft - Returns the amount of time left on the current timed quest
GetQuestLogTitle - Returns information about a quest in your quest log
GetQuestMoneyToGet - Returns the amount of money required for the currently displayed quest in the gossip frame
GetQuestResetTime - Returns the amount of time until daily quests reset
GetQuestReward - Selects an offered quest reward without confirmation
GetQuestText - Returns the text for the currently displayed quest
GetQuestTimers - Returns a list of the remaining time of all active quest timers.
GetRewardHonor - Returns the amount of reward honor for the displayed quest.
GetRewardMoney - Returns the amount of money rewarded for the quest that is currently being viewed.
GetRewardSpell - Returns information about a spell quest reward
GetRewardText - Returns the reward text of the quest at the quest completion frame
GetRewardTitle - Returns the title you will be rewarded for completing the quest currently displayed in by an NPC
GetSuggestedGroupNum - Returns the size of the suggested group for the currently displayed quest
GetTitleText - Returns the title text for the currently displayed quest.
IsActiveQuestTrivial - Returns whether or not an active quest in the QuestFrame is considered trivial
IsAvailableQuestTrivial - Returns the trivial state for the quests available at a quest NPC.
IsCurrentQuestFailed - Queries the failed state for the currently selected quest.
IsQuestCompletable - Returns whether or not the currently viewed quest is completable
IsQuestWatched - Returns whether or not a given quest is currently being watched
IsUnitOnQuest - Checks if a specified unit is on a quest from the players quest log.
QuestChooseRewardError - Triggers the client's error when the player hasn't chosen a quest reward from the available choices
QuestLogPushQuest - Shares the currently selected quest with the other party members.
RemoveQuestWatch - Stops tracking objectives for a quest in the quest log
SelectActiveQuest - Selects an active quest in the QuestLog frame
SelectAvailableQuest - Selects an available quest from the given NPCalso
SelectGossipActiveQuest - Selects an active quest in the gossip dialog
SelectGossipAvailableQuest - Selects the specified quest on the gossip frame for further processing.
SelectQuestLogEntry - Selects a quest from the quest log as the currently active quest to be shown in the details panel.
SetAbandonQuest - Marks the currently selected quest to be abandoned.
Raid functions

ClearPartyAssignment - Clears a specified assignment (main tank, main assist) for the specified unit, or all raid members if not specified.
ConfirmReadyCheck - Sends your ready status to the raid leader when asked for a readycheck
ConvertToRaid - Converts a party to a raid. Does nothing if not in a party or not the party leader.
DemoteAssistant - Demotes the given player from raid assistant status
DoReadyCheck - Perform a ready check
GetNumRaidMembers - Returns the number of members of the player's raid
GetOptOutOfLoot - Returns `1` if you are opting out of loot, otherwise `nil`.
GetRaidRosterInfo - Returns information about a member of the player's raid
GetRaidRosterSelection - Returns the index of the raid member currently selected by the mouse
GetRaidTargetIndex - Returns the raid target on the given unit
GetReadyCheckStatus - Gets the given player's response to 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 "real" non-battleground raid group
GiveMasterLoot - Awards the given loot to the specified candidate
InviteUnit - Invites a player or unit to the player's party
IsRaidLeader - Returns whether or not the player is the leader of their current raid
IsRaidOfficer - Returns whether or not the player is a Raid Officer or not
IsRealPartyLeader - Returns whether or not the player is the leader of their "real party"
IsRealRaidLeader - Returns whether or not the player is the leader of their non-battleground raid party
PromoteToAssistant - Promotes a player or unit to raid assistant
RequestRaidInfo - Requests raid information from the server
SetOptOutOfLoot - Sets whether to opt out of random loot
SetPartyAssignment - Assigns a party role (maintank, mainassist) to a player or unitprotected
SetRaidRosterSelection - Sets the currently selected raid roster unit.
SetRaidSubgroup - Moves a raid member to a non-full raid subgroup
SetRaidTarget - Sets a raid target marker on the given unit
SwapRaidSubgroup - Swaps two players between groups in the raid
UninviteUnit - Removes the specified unit from the current group.
UnitInRaid - Returns whether the unit specified is in your raid group
UnitIsPartyLeader - Returns 1 if the specified unit is the leader of the players party.
UnitIsRaidOfficer - Returns whether or not the given unit is an officer in the raid
UnitPlayerOrPetInRaid - Returns whether or not a given unitid is a member of the player's raid
Refer-a-friend functions

AcceptLevelGrant - Accepts a level that has been granted to you
DeclineLevelGrant - Declines a level that has been granted to you
SummonFriend - Summons a party member who is linked to you via the "refer-a-friend" program
Skill functions

AbandonSkill - Confirms abandoning a skill
CollapseSkillHeader - Collapses a skill header in the Skills window
ExpandSkillHeader - Expands a skill header in the Skills window
GetNumSkillLines - Returns the number of skills to be listed in the Skills window.
GetSelectedSkill - Returns the currently selected skill index, as listed in the Skills window
GetSkillLineInfo - Returns information about a given skill line
SetSelectedSkill - Sets the currently selected skill in the skills window.
Social functions

AddFriend - Adds a player or unit to the friend's list
AddIgnore - Adds a player or unit to the ignore list
AddOrDelIgnore - Adds or removes a player from the ignore listalso
CanSummonFriend - Returns whether a unit can be summoned via Recruit-A-Friend
DelIgnore - Removes a player from your ignore list
GetFriendInfo - Returns information about someone on the player's friends list
GetIgnoreName - Returns the name of the specified ignored person.
GetNumFriends - Returns the number of friends on the player's friend list
GetNumIgnores - Returns the number of people currently on the player's ignore list
GetNumWhoResults - Returns the number of results from a who request
GetSelectedFriend - Returns the friend index of the friend you have selected
GetSelectedIgnore - Returns the currently selected index in the ignore listing
GetWhoInfo - Returns information about a specific index of a who requests's results
RemoveFriend - Removes a friend from your friend's list
SendWho - Sends a who request to the server
SetFriendNotes - Sets a note on a member of your friends list
SetSelectedFriend - Sets the selection in the Friends list
SetSelectedIgnore - Sets the currently selected ignore entry
SetWhoToUI - Sets a flag that determines how the results of a SendWho() request are delivered.
ShowFriends - Requests updated friends information from the serveralso
SortWho - Sets the sort method for the "Who" list
Socketing functions

AcceptSockets - Accepts the current socketed gems without confirmation
ClickSocketButton - Picks up or places a gem in the Item Socketing UI
CloseSocketInfo - Closes the socket frame
GetExistingSocketInfo - Returns information about the jewel in a given socket for the item in the item socketing interface
GetExistingSocketLink - Returns an item link for a socketed gem.also
GetItemGem - Returns the name and link for a gem in a specific item socket
GetNewSocketInfo - Returns information about a gem that would be socketed
GetNewSocketLink - Returns an item link for a gem to be socketedalso
GetNumSockets - Returns the number of sockets in the open item
GetSocketItemInfo - Returns information about the item currently open in the socket UI.
GetSocketTypes - Returns the color of a given gem socket in the socketing UI
SocketContainerItem - Opens the Gem Socketing UI if the given container slot has a socketable item
SocketInventoryItem - Opens the socketing UI for the given inventory item, if it has sockets
Sound functions

PlayMusic - Plays a music filealso
PlaySound - Plays a sound file. You have to specify the relative path from the WoW main directory.
PlaySoundFile - Plays a specified sound file.
StopMusic - Immediately stops the currently played in-game music
VoiceEnumerateCaptureDevices - Returns the name of a voice capture device
VoiceEnumerateOutputDevices - Returns the name of a given voice output device
VoiceGetCurrentCaptureDevice - Returns the index of the current voice capture device
VoiceGetCurrentOutputDevice - Returns the index of the current voice output device
VoiceSelectCaptureDevice - Selects a voice capture device
VoiceSelectOutputDevice - Sets the voice chat output device.
Spell functions

CastSpell - Casts a spell by it's index in the player's spellbookprotected
CastSpellByName - Casts a spell by name, optionally on a target.protected
CursorHasSpell - Returns whether or not the cursor currently holds a spell.
DisableSpellAutocast - Disables auto-cast for a given pet spell
EnableSpellAutocast - Enabled auto-cast for a given pet spell
GetItemSpell - Returns information about the spell cast when using a given item
GetQuestLogRewardSpell - Returns information about a quest reward spell
GetRewardSpell - Returns information about a spell quest reward
GetSpellAutocast - Returns whether a spell can be autocasted and is currently being autocast.
GetSpellCooldown - Returns cooldown information about a given spell.
GetSpellCount - Returns the number of times a spell with a reagent can be cast
GetSpellInfo - Returns a wide range of information about the given spell
GetSpellLink - Gets a spell link for the player's given spellreview
GetSpellName - Returns the name and subtext of a given spellid
GetSpellTexture - Returns the texture path for a given spell
HasPetSpells - Returns whether or not the player's current active pet has spells or not.
IsAttackSpell - Returns whether or not a given spell is an "attack spell"
IsAutoRepeatSpell - Returns whether or not the given spell is an auto-repeat spell
IsConsumableSpell - Returns whether or not a spell requires a consumable reagent
IsCurrentSpell - Returns whether or not a given spell is currently being cast or awaiting targeting
IsHarmfulSpell - Returns whether or not a given spell is harmful
IsHelpfulSpell - Returns whether or not a given spell is helpful
IsPassiveSpell - Returns whether or not a given spell is passive (i.e. cannot be cast)
IsSelectedSpell - Returns whether or not a specific spell is currently selected in the spellbook
IsSpellInRange - Returns whether or not a spell is in range of a given unit
IsUsableSpell - Returns whether or not a given spell is usable or cannot be used due to lack of mana
PickupSpell - Picks up a spell from the spellbook, placing it on the cursor
SpellCanTargetItem - Return whether or not the spell on the cursor can target an item or not. Will return nil when no spell is on the cursor.
SpellCanTargetUnit - Returns whether or not the spell currently awaiting a target can target a given unit
SpellHasRange - Returns whether or not a given spell has a range restriction
SpellIsTargeting - Returns whether or not there is a spell currently awaiting a target
SpellStopCasting - Stops casting or targeting the current spellprotected
SpellStopTargeting - Cancels the spell currently waiting for targeting.protected
SpellTargetItem - Casts a pending spell (glowing blue cursor) on the given itemprotected
SpellTargetUnit - Targets a unit with the spell currently awaiting a target
ToggleSpellAutocast - Toggles a spellbook spell as auto-cast
UnitCastingInfo - Returns information about the spell a unit is casting.
UpdateSpells - Updates the spells in the players spellbook.
Stance/Shapeshift functions

CancelShapeshiftForm - Cancels the current shapeshift form
CastShapeshiftForm - Casts a shapeshift form by indexprotected
GetNumShapeshiftForms - Returns the number of available shapeshift forms for the player
GetShapeshiftForm - Returns the current shapeshift form index
GetShapeshiftFormCooldown - Returns cooldown information about a given shapeshift slot
GetShapeshiftFormInfo - Returns information about a shapeshift form
Stat information functions

GetArmorPenetration - Returns the player's current armor penetration
GetAttackPowerForStat - Calculates the amount of attack power that your current character would gain from having the given value for the specified stat.
GetBlockChance - Returns your block percentage.also
GetCombatRating - Returns the amount of rating a player has for a given rating stat
GetCombatRatingBonus - Returns the percentage bonus for a given combat rating.
GetCritChance - Returns the player's percent melee critical strike chance
GetCritChanceFromAgility - Returns the amount of critical strike chance given by the agility stat
GetDamageBonusStat - This function will return the index of the stat that provides the most (not necessarily the only) bonus melee damage when increased for the player's class. Currently this is either 1 (Strength) or 2 (Agility).
GetDodgeChance - Returns the amount of dodge change the player has, as a percentage
GetExpertise - Returns the amount of expertise the player currently has
GetExpertisePercent - Returns the reduced chance to be dodged or parried as a result of the expertise rating
GetManaRegen - Returns the mana regeneration statistics for the player. Return values are in mana per second.
GetParryChance - Returns the player's percentage parry chance
GetRangedCritChance - Returns the player's ranged critical strike chance
GetShieldBlock - Returns the amount of damage stopped by a sucessful block.also
GetSpellBonusDamage - Returns the spell damage bonus for a given school
GetSpellBonusHealing - Query player's bonus healing from equipment.
GetSpellCritChance - Returns the amount of crit changce for a given spell school
GetSpellCritChanceFromIntellect - Returns the percent chance to crit granted by Intellect
GetSpellPenetration - Returns the amount of spell penetration the player currently has
GetUnitHealthModifier - Returns the health modifier for a pet. Used to modify the amount of health a pet gains from +stamina.
GetUnitHealthRegenRateFromSpirit - Returns the amount of health gained per second while not in combat, as a result of spirit
GetUnitManaRegenRateFromSpirit - Returns the mana regeneration rate per second the unit has from the spirit stat
GetUnitMaxHealthModifier - Gets a modifier for calculating health gain from stamina
GetUnitPowerModifier - Returns the power modifier for a pet. Used to modify the amount of mana a pet gains from +intellect.
UnitArmor - This function returns the current ammount of armor and its breakdown between base armor and positive and degative additions due to buffs and debuffs.
UnitAttackBothHands - Returns information about a unit's weapon skill
UnitAttackPower - Returns the unit's melee attack power and modifiers
UnitAttackSpeed - Returns the mainhand and offhand attack speed of the given unit
UnitDamage - Unit Damage returns information about your current damage stats.
UnitDefense - Returns the units defense statistics.
UnitHealth - Returns the amount of health the unit has.
UnitHealthMax - Returns the maximum health value for a given unit
UnitMana - Returns the current mana points of the given unitalso
UnitManaMax - Returns the maximum mana or other power that a given unit can have
UnitRangedAttack - Returns a unit's ranged weapon skill
UnitRangedAttackPower - Returns a unit's ranged attack power and bonuses
UnitRangedDamage - Returns information about a unit's range attack damage and speed
UnitResistance - Returns resistance information for a specific resistance for a unit ID. Returns 0,0,0,0 for non-existing or disallowed units.
UnitStat - Returns information about a given character statistic (intellect, stamina, etc.)
Talent functions

CheckTalentMasterDist - Returns whether or not the player is in range of a talent trainer
ConfirmTalentWipe - Confirms the player unlearning all talents
GetNumTalentTabs - Returns the number of talent tabs for the player, or a the currently inspected unit
GetNumTalents - Returns the number of talent spell options in a given tab
GetTalentInfo - Returns information about the talents of the player, or the currently inspected player.
GetTalentLink - Gets a spell link for the given talent
GetTalentPrereqs - Returns the prerequisites for a given talent.
GetTalentTabInfo - Returns information about the specified talent tree from either the player or the unit that is being inspected.
LearnTalent - Learns the selected talent in the selected talent tree.
Targeting functions

ClearFocus - Clears the player's focus unitprotected
ClearTarget - Clears the player's current targetprotected
FocusUnit - Sets the given unit as your focus target. Passing nil will clear your focus. Can only be called by the blizzard UI.protected
SpellCanTargetUnit - Returns whether or not the spell currently awaiting a target can target a given unit
SpellTargetUnit - Targets a unit with the spell currently awaiting a target
TargetLastEnemy - Targets your most recent enemy targetprotected
TargetLastFriend - Targets your most recent friendly targetprotected
TargetLastTarget - Targets the last targeted unitprotected
TargetNearestEnemy - Cycles your target through the nearest enemy unitsprotected
TargetNearestFriend - Cycles your target through the nearest friendly unitsprotected
TargetNearestPartyMember - Cycles your target through your nearest party membersprotected
TargetNearestRaidMember - Cycles your target through your nearest raid membersprotected
TargetUnit - Sets the given unit as your target. Passing nil will remove your target. Can only be called from the blizzard UI.protected
Taxi/Flight functions

CloseTaxiMap - Closes the taxi (flight master) map
GetNumRoutes - Returns the number of hops from current location to the specified taxi node.
GetTaxiBenchmarkMode - Returns whether or not taxi benchmark mode is enabledalso
NumTaxiNodes - Returns the current number of taxi nodes defined.
SetTaxiBenchmarkMode - Turns on flight path "benchmark" mode.
SetTaxiMap - Sets a texture to the TaxiMap texture
TakeTaxiNode - Take the indicated flightpath. This function is used when clicking a flightpath from a flightmaster.
TaxiGetDestX - Returns the X coordinate of the destination texi node, relative to the taxi frame
TaxiGetDestY - Returns the y coordinate of the destination texi node, relative to the taxi frame
TaxiGetSrcX - Returns the x coordinate of the source texi node, relative to the taxi frame
TaxiGetSrcY - Returns the y coordinate of the source texi node, relative to the taxi frame
TaxiNodeCost - Returns the cost to fly to a given taxi node
TaxiNodeGetType - Returns the type of the Taxi Node slot requested.
TaxiNodeName - Returns the name of a given taxi node slot
TaxiNodePosition - Returns the position of a taxi node in the taxi window
TaxiNodeSetCurrent - Sets the "current" flight path node to a specific indexinternal
UnitOnTaxi - Returns whether or not a given unit is on a taxi
Tracking functions

GetNumTrackingTypes - Returns the number of available tracking types
GetTrackingInfo - Returns information about a given tracking option
GetTrackingTexture - Returns the texture of the active tracking buff, if one is active
SetTracking - Set minimap tracking to the given index between 1 and GetNumTrackingTypes(). Pass nil to track nothing.
Trade functions

AcceptTrade - Accepts a proposed trade
AddTradeMoney - Adds the money currently on the cursor to the trade window
BeginTrade - Accept a trade request from someone.deprecated
CancelTrade - Cancels an active trade
CancelTradeAccept - Cancels a trade that is currently pending accepting by the other party
ClickTargetTradeButton - Simulates clicking on a specific slot in the target trade window.
ClickTradeButton - Clicks a specific trade window button
CloseTrade - Closes the trade window
GetPlayerTradeMoney - Returns the amount of money the player deposited in an open trade window.
GetTargetTradeMoney - Returns the amount of money the target has placed in the trade window.
GetTradePlayerItemInfo - Returns information about an item that the player has placed in the trade window
GetTradePlayerItemLink - Returns a link for an item offered by the player in the trade window
GetTradeTargetItemInfo - Returns information about an item in the trade window
GetTradeTargetItemLink - Returns an item link for an item being offered by the target in a trade
InitiateTrade - Initiates a trade with a given unit
PickupTradeMoney - This is an internal functioninternal deprecated
ReplaceTradeEnchant - Confirms the replacement of an existing enchant being applied in the trade window
SetTradeMoney - Sets the amount of money to trade in the trade window, in copper
Tradeskill functions

CloseTradeSkill - Closes the tradeskill window, if it is open
CollapseTradeSkillSubClass - This function collapses the specified index in the TradeSkill UI
DoTradeSkill - Casts a trade skill, optionally multiple times
ExpandTradeSkillSubClass - Expands a tradeskill subclass in the tradeskill window
GetFirstTradeSkill - Returns the index of the first tradeskill recipe, as opposed to tradeskill headers
GetNumTradeSkills - Returns the number of available trade skill items and headers
GetTradeSkillCooldown - Returns the cooldown for a given trade skill
GetTradeSkillIcon - This function will return the iventory icon for the TradeSkill item at the index being queried.
GetTradeSkillInfo - Returns information about the recipes of the currently selected trade skill.
GetTradeSkillInvSlotFilter - Returns whether or not a given tradeskill inventory slot filter is enabled
GetTradeSkillInvSlots - Returns a list of inventory slots the current tradeskill can craft for
GetTradeSkillItemLevelFilter - Returns the current values for the tradeskill item level filter
GetTradeSkillItemLink - Returns an item link for the given tradeskill item
GetTradeSkillItemNameFilter - Returns the text of the tradeskill item name filter
GetTradeSkillLine - Returns level information about the active tradeskill line
GetTradeSkillNumMade - Returns the number of items possibly created when crafting a tradeskill recipe
GetTradeSkillNumReagents - Returns the number of reagents required for a trade skill recipe
GetTradeSkillReagentInfo - Returns information about tradeskill recipe's reagent
GetTradeSkillReagentItemLink - Returns the item link for a tradeskill's reagent
GetTradeSkillRecipeLink - Returns an item link for a tradeskill recipe
GetTradeSkillSelectionIndex - Returns the index of the currently selected line in the Tradeskill window
GetTradeSkillSubClassFilter - Returns whether or not a given tradeskill filter is enabled
GetTradeSkillSubClasses - Returns a list of tradeskill subclasses
GetTradeSkillTools - Returns the required tradeskill tools for a given tradeskill recipe
GetTradeskillRepeatCount - Returns the number of times the current tradeskill recipe will repeat
IsTradeskillTrainer - Returns whether or not the currently open training window is a tradeskill trainer
SelectTradeSkill - Sets the currently selected tradeskill item
SetTradeSkillInvSlotFilter - Enables or disables an inventory slot filter in the tradeskill window
SetTradeSkillItemLevelFilter - Filters the TradeSkill window's list by required level of produced items.
SetTradeSkillItemNameFilter - Sets the tradeskill item name filter search string
SetTradeSkillSubClassFilter - Enables or disables a given tradeskill subclass filter
StopTradeSkillRepeat - Cancels a repeating tradeskill
TradeSkillOnlyShowMakeable - Enables or disables the "Have Materials" tradeskill filter
Trainer functions

BuyTrainerService - Purchases a service available at a trainer
CheckPetUntrainerDist - Returns whether or not the player is in range of a Pet Trainer
CheckTalentMasterDist - Returns whether or not the player is in range of a talent trainer
CloseTrainer - Closes the trainer window
CollapseTrainerSkillLine - Collapses the given skill line in the class trainer frame
ExpandTrainerSkillLine - Expands a skill line in the trainer window.
GetNumTrainerServices - Returns the number of available trainer services
GetTrainerGreetingText - Returns the greeting text for the currently (or last) open trainer
GetTrainerSelectionIndex - Returns the currently selected index in the trainer window
GetTrainerServiceAbilityReq - Retrieves information about abilities that are required to train a specific skill.
GetTrainerServiceCost - Returns the cost of a given trainer service
GetTrainerServiceDescription - Returns the description of a given trainer service (spell, tradeskill, etc.)
GetTrainerServiceIcon - Returns the icon for a given trainer service (spell or skill)
GetTrainerServiceInfo - Returns information about a service in the trainer window
GetTrainerServiceItemLink - Returns an item link for a given trainer service item
GetTrainerServiceLevelReq - Returns the level requirement for a trainer service
GetTrainerServiceNumAbilityReq - Returns the number of ability requirements to learn a given spell.
GetTrainerServiceSkillLine - Returns the name of the given skill line
GetTrainerServiceSkillReq - Returns the skill requirement for a a given trainer service
GetTrainerServiceStepIncrease - This function is deprecateddeprecated
GetTrainerServiceStepReq - This function is deprecateddeprecated
GetTrainerServiceTypeFilter - Queries the enabled state of a filter in the trainer window
GetTrainerSkillLineFilter - Returns whether or not a trainer skill line filter is enabled
GetTrainerSkillLines - Returns the spell schools available at a given trainer
IsTrainerServiceSkillStep - Returns whether or not the given trainer service is a skill step, rather than a recipe.
OpenTrainer - Closes the trainer window if it is open, otherwise appears to do nothing
SelectTrainerService - Selects the given trainer service in the class trainer frame
SetTrainerServiceTypeFilter - Sets the state of a filter in the trainer window
SetTrainerSkillLineFilter - Sets the state of a skill line filter in the trainer ui
UI/Visual functions

CheckReadyCheckTime - Unknown, called by UIParent's OnUpdate handler
ClearTutorials - Clears any already displayed tutorials so they are displayed again
ConsoleExec - Runs a console command
GetGameTime - Returns the current in-game time
GetNetStats - Returns the game's network statistics
GetNumSpellTabs - Returns the number of spell tabs the player has available
GetNumWorldStateUI - Returns the number of world state lines (Arathi Basin Points, Black Morass Portals etc.)
GetSpellTabInfo - Returns information about a tab in the spellbook
GetWorldStateUIInfo - Returns information about a WorldState UI element
InCinematic - Returns whether or not the character is viewing a cinematic.
InCombatLockdown - Queries the game client to see if the user interface is currently in protected lockdown mode
NotWhileDeadError - Fires a "UI_ERROR_MESSAGE" event, with the argument ERR_PLAYER_DEAD
ReloadUI - Reloads the user interface
ResetTutorials - Resets tutorials from the beginning
SetConsoleKey - This is an internal functioninternal
SetUIVisibility - Changes whether or not UI rendered models are shown
SetupFullscreenScale - Sizes a frame to take up the entire screen. Sizes the frames differently depending on resolution. Never returns a meaningful value.
ShowCloak - This function enables or disables the showing of the cloak on the player's character
ShowHelm - Enables or disables the display of the players helm
ShowMiniWorldMapArrowFrame - Shows or hides the battlefield minimap's player arrowinternal
ShowingCloak - Returns whether or not the "Show Cloak" setting is currently checked
ShowingHelm - Returns whether or not the helm is currently being shown
StopCinematic - Stops a cinematic that is currently playing
Unit functions

AssistUnit - Assists a player by unit or nameprotected
CanInspect - This function returns if the given unit can be inspected.
CheckInteractDistance - Returns whether or not the player is close enough to interact with a unit
DropItemOnUnit - Drops the currently held item on a specific unit
GetBattlefieldPosition - Returns information on the queried players position in a battlegroundalso
GetMuteStatus - Returns whether or not the given player or unitId is muted
GetUnitHealthModifier - Returns the health modifier for a pet. Used to modify the amount of health a pet gains from +stamina.
GetUnitManaRegenRateFromSpirit - Returns the mana regeneration rate per second the unit has from the spirit stat
GetUnitMaxHealthModifier - Gets a modifier for calculating health gain from stamina
GetUnitPowerModifier - Returns the power modifier for a pet. Used to modify the amount of mana a pet gains from +intellect.
IsIgnored - Returns whether or not you are ignoring a specific unit.
IsIgnoredOrMuted - Returns a true value if the queried unit is currently ignored or muted by the player
IsMuted - Returns the mute status for a given player.
IsUnitOnQuest - Checks if a specified unit is on a quest from the players quest log.
PromoteToAssistant - Promotes a player or unit to raid assistant
StartDuel - Challenges another player to a duel
UnitAffectingCombat - Returns whether or not a unit is currently in combat
UnitArmor - This function returns the current ammount of armor and its breakdown between base armor and positive and degative additions due to buffs and debuffs.
UnitAttackBothHands - Returns information about a unit's weapon skill
UnitAttackPower - Returns the unit's melee attack power and modifiers
UnitAttackSpeed - Returns the mainhand and offhand attack speed of the given unit
UnitBuff - Returns information about a buff on a given unit or player
UnitCanAssist - Returns whether or not one unit can assist another
UnitCanAttack - Returns whether or not one unit can attack another unit
UnitCanCooperate - Returns whether or not the two given units can cooperate with each other
UnitCastingInfo - Returns information about the spell a unit is casting.
UnitChannelInfo - Returns information about the spell a unit is channeling.
UnitCharacterPoints - Returns the number of unused talent points and profession slots for the given unit
UnitClass - Queries a unit's class
UnitClassBase - Queries a unit's class
UnitClassification - Returns a classification indicator for the queried unit.
UnitCreatureFamily - Returns the creature family of the given unit
UnitCreatureType - Returns the creature type of a given unit
UnitDamage - Unit Damage returns information about your current damage stats.
UnitDebuff - Returns information about a debuff on a given unit.
UnitDefense - Returns the units defense statistics.
UnitExists - Returns whether or not a given unit exists
UnitFactionGroup - Gives information about the units faction in english and the gamelocale. Returns nil when not available.
UnitGUID - Returns the given unit's globally unique identifier
UnitHasRelicSlot - Returns whether or not the queried unit has a relic slot.
UnitHealth - Returns the amount of health the unit has.
UnitHealthMax - Returns the maximum health value for a given unit
UnitInBattleground - Returns whether or not a unit is in the player's battleground
UnitInParty - Returns whether or not a given unit is in the player's party.
UnitInRaid - Returns whether the unit specified is in your raid group
UnitInRange - Returns whether the given raid or party member is in range of your most useful spells
UnitIsAFK - Query a unit's AFK status.
UnitIsCharmed - Returns whether or not a unit or player is currently charmed.
UnitIsConnected - Returns whether or not the given unit or player is connect (i.e. not Offline)
UnitIsCorpse - Returns whether or not the given unit is a corpse
UnitIsDND - Returns whether or not a unit is flagged DND
UnitIsDead - Returns whether or not the given unit is dead
UnitIsDeadOrGhost - Returns whether or not the given player is either dead or a ghost
UnitIsEnemy - Returns true or false depending on whether the specified units are enemies or not
UnitIsFeignDeath - Returns whether or not a given unit is feigning death
UnitIsFriend - Returns whether or not two units are friendly
UnitIsGhost - Returns whether or not a unit or player is currently a ghost
UnitIsInMyGuild - Returns whether or not a given unit or player is in the player's guild
UnitIsPVP - Returns whether or not a unit is PVP enabled
UnitIsPVPFreeForAll - Returns whether the unit is flagged for free-for-all PVP, EG in a world Arena
UnitIsPVPSanctuary - Returns 1 if the unit in question is in a PVP sanctuary, nil otherwise.
UnitIsPartyLeader - Returns 1 if the specified unit is the leader of the players party.
UnitIsPlayer - Returns whether or not a given unit is the player's unit
UnitIsPlusMob - Returns whether or not the given unit is an elite mob
UnitIsPossessed - Returns whether or not the given unit is possessed (through for example Mind Control)
UnitIsRaidOfficer - Returns whether or not the given unit is an officer in the raid
UnitIsSameServer - Returns whether or not two units are from the same server
UnitIsSilenced - Returns whether or not the player is silenced on the specified voice channel.
UnitIsTalking - Returns 1 if the unit is currently talking, or nil otherwise.
UnitIsTapped - Returns whether or not a unit is tapped by anyone (not necessarily the player)
UnitIsTappedByPlayer - Returns whether or not a unit is tapped by the player or their group.
UnitIsTrivial - Returns whether or not the given unit is trivial
UnitIsUnit - Returns whether or not two unitIds refer to the same actual character.
UnitIsVisible - Returns whether or not the given unit is visible (in the player's area of interest)
UnitLevel - Returns the level of a given unit
UnitMana - Returns the current mana points of the given unitalso
UnitManaMax - Returns the maximum mana or other power that a given unit can have
UnitName - Returns the name of a given unit
UnitOnTaxi - Returns whether or not a given unit is on a taxi
UnitPVPName - Returns the name of the unit with the selected PVP title prepended to it
UnitPVPRank - Returns a unit's PVP rank as a number
UnitPlayerControlled - Returns whether or not the given unit is a player controlled character
UnitPlayerOrPetInParty - This function will tell you if the unit in question is in your party.
UnitPlayerOrPetInRaid - Returns whether or not a given unitid is a member of the player's raid
UnitPowerType - Returns the power type (energy, mana, rage) of the given unit
UnitRace - Retrieves the unit's race
UnitRaceBase - Retrieves the unit's race
UnitRangedAttack - Returns a unit's ranged weapon skill
UnitRangedAttackPower - Returns a unit's ranged attack power and bonuses
UnitRangedDamage - Returns information about a unit's range attack damage and speed
UnitReaction - Returns the reaction of one unit with regards to another as a number
UnitResistance - Returns resistance information for a specific resistance for a unit ID. Returns 0,0,0,0 for non-existing or disallowed units.
UnitSex - Returns the gender of the given unit or player
UnitStat - Returns information about a given character statistic (intellect, stamina, etc.)
UnitXP - Returns the amount of experience that the unit currently has
UnitXPMax - Return the total amount of XP required to the next level.
Utility functions

CreateFont - Creates a new font object
CreateFrame - Creates a new frame object dynamically
EnumerateFrames - Returns the next frame following the frame passed, or nil if no more frames exist
GetCurrentKeyBoardFocus - Returns the frame that currently has the keyboard focus
GetFramesRegisteredForEvent - Returns all frames registered for a given event
GetMouseButtonClicked - Returns which mouse button triggered the current click
GetMouseButtonName - Converts a mouse button number to a mouse button name
GetMouseFocus - Returns the frame that is currently under the mouse, and has mouse input enabled.
GetNumFrames - Returns the number of created frame objects (and derivatives)
GetRealmName - Returns the name of the player's realm (server name)
GetText - Returns a formatted string from GlobalStrings.
GetTime - Returns a number representing the current time, with millisecond precision
IsLoggedIn - Returns whether or not the PLAYER_LOGIN event has already fired.
IsMouseButtonDown - Returns whether or not the given mouse button is held down
RandomRoll - Rolls a random number between min and max
RunScript - Runs a string as a Lua script
getglobal - Returns a global variable with a given name
issecurevariable - Returns whether or not a variable is secure and if not, what addon tainted the variable
strconcat - Concatenates all of the provided strings
strjoin - Joins a list of strings together
strsplit - Splits a string based on another seperator string
strtrim - Trims leading and trailing characters (whitespace by default) from a string
Video functions

GetBaseMip - Returns the level of texture resolution rendered by the client
GetCurrentMultisampleFormat - Returns the index of the currently selected multi-sample format
GetCurrentResolution - Returns the index of the current resolution
GetFarclip - Returns the value of the "Terrain Distance" video option
GetFramerate - Returns the current graphical framerate
GetGamma - Returns the gamma value for the game client
GetMultisampleFormats - Returns the available multi-sample formats
GetRefreshRates - Returns a list of all available refresh rates for the current system.
GetScreenHeight - Returns the current screen height. This value is affected by scale. To get the true screen height in pixels divide by GetScreenHeightScale().
GetScreenResolutions - Returns the available screen resolutions
GetScreenWidth - Query the width of the screen.
GetTerrainMip - Returns the value of the "Terrain Detail Level" slider in the video options
GetVideoCaps - Returns information about the video subsystem
GetWaterDetail - Returns the current value of the water detail optiondeprecated
MoveViewDownStop - Stops the camera movement initiated by [[docs/api/MoveViewDownStart|MoveViewDownStart]]protected
RestartGx - Restart the client's graphic subsystem
SetBaseMip - Sets the level of texture resolution rendered by the client
SetFarclip - Sets the value of the "Terrain Distance" slider in the Video Options
SetGamma - Sets the Gamma value for the video systemdeprecated
SetMultisampleFormat - Sets the client's multisampling format
SetScreenResolution - Sets the screen resolution to a specified value.
SetTerrainMip - Sets the value of the "Terrain Detail Level" slider in the video options
SetTexLodBias - This is an internal functioninternal
SetWaterDetail - Sets the value for the water details display
Voice functions

AddMute - Mutes a player in voice chat
AddOrDelMute - Adds or removes a player/unit from the voice mute list
ChannelSilenceAll - Removes both voice and chat permissions for the given player in the specified channel
ChannelUnmute - Unmutes the specified player on that channel
ChannelVoiceOff - Disables voice chat in the given channel
ChannelVoiceOn - Enables voice chat in the given channel
DelMute - Removes a voice mute for a given player
DisplayChannelVoiceOff - Disables voice chat in a given channel
DisplayChannelVoiceOn - Enables voice chat in a given channel
GetActiveVoiceChannel - Returns the currently active voice channel
GetMuteName - Gets name of a character on the player's mute list
GetMuteStatus - Returns whether or not the given player or unitId is muted
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 voice sessions the player is in
GetSelectedMute - Returns the index of the selected muted player in the muted list
GetVoiceCurrentSessionID - Returns a identifier for your current voice sessionalso
GetVoiceSessionInfo - Returns information about a given voice session
GetVoiceSessionMemberInfoBySessionID - Returns information about a member of a given voice session.
GetVoiceStatus - Returns the voice enabled status of the queried player.
IsIgnoredOrMuted - Returns a true value if the queried unit is currently ignored or muted by the player
IsMuted - Returns the mute status for a given player.
IsSilenced - Returns whether or not the given unit is silenced for Voice Chat on a channel
IsVoiceChatAllowed - Returns whether or not the current client/account is allowed to use the voice chat feature
IsVoiceChatAllowedByServer - Returns 1 if voice chat is allowed on the server, otherwise nil
IsVoiceChatEnabled - Returns whether or not the voice chat system is enabled
SetActiveVoiceChannel - Sets the currently active voice channel
SetActiveVoiceChannelBySessionID - Sets the currently active voice chat channel
SetSelectedMute - Selects the given muted player for use by other functions
SilenceMember - This function is deprecateddeprecated
UnSilenceMember - This function is deprecateddeprecated
UnitIsSilenced - Returns whether or not the player is silenced on the specified voice channel.
VoiceChat_ActivatePrimaryCaptureCallback - This function is deprecateddeprecated
VoiceChat_GetCurrentMicrophoneSignalLevel - Returns the current volume level of the microphone signal
VoiceChat_IsPlayingLoopbackSound - Returns whether or not the loopsound sound is currently being played
VoiceChat_IsRecordingLoopbackSound - Returns whether the player is recording a voice sample
VoiceChat_PlayLoopbackSound - Plays a previously recorded looback soundalso
VoiceChat_RecordLoopbackSound - Records a short voice recording for testing purposes.
VoiceChat_StartCapture - This function is deprecateddeprecated
VoiceChat_StopCapture - This function is deprecateddeprecated
VoiceChat_StopPlayingLoopbackSound - Stops the current playback of the loopback sound
VoiceChat_StopRecordingLoopbackSound - Stops the recording of the loopback sounds
VoiceEnumerateCaptureDevices - Returns the name of a voice capture device
VoiceEnumerateOutputDevices - Returns the name of a given voice output device
VoiceGetCurrentCaptureDevice - Returns the index of the current voice capture device
VoiceGetCurrentOutputDevice - Returns the index of the current voice output device
VoiceIsDisabledByClient - Returns whether or not the voice chat system is disabled due to hardware reasons
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 a voice capture device
VoiceSelectOutputDevice - Sets the voice chat output device.
Zone information functions

GetMinimapZoneText - Returns the zone text for use on the Minimap.
GetRealZoneText - When in an instance, returns the real name of the instance, not the name in the Minimap
GetSubZoneText - Returns the subzone text of the player's current zonealso
GetZonePVPInfo - Returns PVP information about the current zone
GetZoneText - Returns the name of the current zone
IsSubZonePVPPOI - Returns whether or not the current subzone is a PVP point of interest
Uncategorized functions

AcceptSkillUps - This function is deprecateddeprecated
BackupMacros -
BuySkillTier - This function is deprecateddeprecated
CalendarAddEvent -
CalendarCanAddEvent -
CalendarCanSendInvite -
CalendarCloseEvent -
CalendarContextDeselectEvent -
CalendarContextEventCanComplain -
CalendarContextEventCanEdit -
CalendarContextEventClipboard -
CalendarContextEventComplain -
CalendarContextEventCopy -
CalendarContextEventIsGuildWide -
CalendarContextEventPaste -
CalendarContextEventRemove -
CalendarContextGetEventIndex -
CalendarContextInviteAvailable -
CalendarContextInviteDecline -
CalendarContextInviteIsPending -
CalendarContextInviteModeratorStatus -
CalendarContextInviteRemove -
CalendarContextInviteStatus -
CalendarContextSelectEvent -
CalendarDefaultGuildFilter -
CalendarEventAvailable -
CalendarEventCanEdit -
CalendarEventClearAutoApprove -
CalendarEventClearLocked -
CalendarEventClearModerator -
CalendarEventDecline -
CalendarEventGetInvite -
CalendarEventGetInviteSortCriterion -
CalendarEventGetNumInvites -
CalendarEventGetRepeatOptions -
CalendarEventGetSelectedInvite -
CalendarEventGetStatusOptions -
CalendarEventGetTextures -
CalendarEventGetTypes -
CalendarEventHasPendingInvite -
CalendarEventHaveSettingsChanged -
CalendarEventInvite -
CalendarEventIsGuildWide -
CalendarEventIsModerator -
CalendarEventRemoveInvite -
CalendarEventSelectInvite -
CalendarEventSetAutoApprove -
CalendarEventSetDate -
CalendarEventSetDescription -
CalendarEventSetLocked -
CalendarEventSetLockoutDate -
CalendarEventSetLockoutTime -
CalendarEventSetModerator -
CalendarEventSetRepeatOption -
CalendarEventSetSize -
CalendarEventSetStatus -
CalendarEventSetTextureID -
CalendarEventSetTime -
CalendarEventSetTitle -
CalendarEventSetType -
CalendarEventSortInvites -
CalendarGetAbsMonth -
CalendarGetDate -
CalendarGetDayEvent -
CalendarGetEventIndex -
CalendarGetEventInfo -
CalendarGetFirstPendingInvite -
CalendarGetHolidayInfo -
CalendarGetMaxCreateDate -
CalendarGetMaxDate -
CalendarGetMinDate -
CalendarGetMinHistoryDate -
CalendarGetMonth -
CalendarGetMonthNames -
CalendarGetNumDayEvents -
CalendarGetNumPendingInvites -
CalendarGetRaidInfo -
CalendarGetWeekdayNames -
CalendarIsActionPending -
CalendarNewArenaTeamEvent -
CalendarNewEvent -
CalendarNewGuildEvent -
CalendarNewGuildWideEvent -
CalendarOpenEvent -
CalendarRemoveEvent -
CalendarSetAbsMonth -
CalendarSetMonth -
CalendarUpdateEvent -
CallCompanion -
CanCancelAuction -
CanEditGuildEvent -
CanExitVehicle -
CanSwitchVehicleSeats -
CancelSkillUps - This function is deprecateddeprecated
CancelSummon -
CancelUnitBuff -
ChatFrame_AddMessageEventFilter - Adds a chat message filter that can filter or alter incoming chat messages
ChatFrame_GetMessageEventFilters - Retrieves the chat filters set for a given event
ChatFrame_RemoveMessageEventFilter - Removes a previously set chat message filter
ClearAchievementComparisonUnit -
ClickLandmark -
CollapseAllHeaders -
CombatLogAddFilter - Adds a filter to the combat log system
CombatLogAdvanceEntry - Advances through combat log entries by the specified amount
CombatLogClearEntries - Removes all the 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 - Clears the combat log filter
CombatLogSetCurrentEntry - Sets the combat log cursor to the given index
CombatLogSetRetentionTime - Sets the amount of time combat log entries will be stored
CombatLog_Object_IsA -
CombatTextSetActiveUnit -
ConsoleAddMessage -
DeclineName - This function is not currently used
DestroyTotem - Destroys the totem of the given element
DismissCompanion -
DownloadSettings -
ExpandAllHeaders -
ExpandCurrencyList -
GMSurveyAnswer -
GMSurveyNumAnswers -
GameMovieFinished -
GetAchievementCategory -
GetAchievementComparisonInfo -
GetAchievementComparisonUnitInfo -
GetAchievementCriteriaInfo -
GetAchievementInfo -
GetAchievementInfoFromCriteria -
GetAchievementLink -
GetAchievementNumCriteria -
GetAchievementNumRewards -
GetAchievementReward -
GetArenaTeamGdfInfo -
GetAvailableLevel - This function is deprecateddeprecated
GetBackpackCurrencyInfo -
GetBarberShopTotalCost - Returns the cost of the current barber shop style change in copper
GetBattlefieldVehicleInfo -
GetCategoryInfo -
GetCategoryList -
GetCategoryNumAchievements -
GetClickFrame -
GetCoinText - Return a localized string describing the amount.
GetCoinTextureString -
GetCompanionCooldown -
GetCompanionInfo -
GetComparisonAchievementPoints -
GetComparisonCategoryNumAchievements -
GetComparisonStatistic -
GetCriteriaComparisonInfo -
GetCurrencyListInfo -
GetCurrencyListSize -
GetCurrentMapDungeonLevel -
GetDebugZoneMap -
GetFacialHairCustomization -
GetGlyphLink -
GetGlyphSocketInfo -
GetHairCustomization -
GetKnownSlotFromHighestRankSlot -
GetLatestCompletedAchievements -
GetLatestCompletedComparisonAchievements -
GetLatestUpdatedComparisonStats -
GetLatestUpdatedStats -
GetMapDebugObjectInfo -
GetMaxCombatRatingBonus -
GetMovieResolution -
GetMovieSubtitles -
GetNextAchievement -
GetNumBattlefieldVehicles -
GetNumCompanions -
GetNumComparisonCompletedAchievements -
GetNumCompletedAchievements -
GetNumDeclensionSets - This function is not currently used
GetNumDungeonMapLevels -
GetNumGlyphSockets -
GetNumMapDebugObjects -
GetPetActionSlotUsable -
GetPetTalentPoints -
GetPowerRegen -
GetPreviousAchievement -
GetPreviousArenaSeason -
GetQuestLogRewardTalents -
GetQuestLogSpellLink -
GetQuestSpellLink -
GetRewardTalents -
GetRuneCooldown -
GetRuneCount -
GetRuneType -
GetStatistic -
GetStatisticsCategoryList -
GetSummonFriendCooldown -
GetThreatStatusColor -
GetTotalAchievementPoints -
GetTotemInfo - Returns information on a currently active totem
GetTotemTimeLeft - Returns the number of seconds left for the given totem (or 0 if no totem)
GetTrackedAchievement -
GetTradeSkillDescription -
GetTradeSkillListLink -
GetUnitName -
GetUnitPitch -
GetUnitSpeed -
GlyphMatchesSocket -
GrantLevel - This is an internal functioninternal
HasDebugZoneMap -
HearthAndResurrectFromArea -
InterfaceOptionsFrame_OpenToCategory -
InterfaceOptions_AddCategory -
IsDebugBuild -
IsDesaturateSupported -
IsDressableItem - Determines whether the given item can be put on in the dressing room
IsInArenaTeam -
IsPVPTimerRunning -
IsReferAFriendLinked -
IsStereoVideoAvailable -
IsThreatWarningEnabled -
IsTradeSkillLinked -
IsUsingVehicleControls -
IsVehicleAimAngleAdjustable -
IsVehicleAimPowerAdjustable -
MovieRecording_IsCursorRecordingSupported -
OpenCalendar -
PetCanBeDismissed -
PickupCompanion -
PlaceGlyphInSocket -
PlayDance -
QuestBagButtonIDToInvSlotID -
QuestFlagsPVP -
RemoveGlyphFromSocket -
ReportSuggestion - This function is deprecateddeprecated
RestoreMacros -
RestoreVideoEffectsDefaults -
RestoreVideoResolutionDefaults -
RestoreVideoStereoDefaults -
ResurrectGetOfferer -
SetAchievementComparisonUnit -
SetChatWindowUninteractable -
SetCurrencyBackpack -
SetCurrencyUnused -
SetDungeonMapLevel -
SetMovieSubtitles -
SetNextBarberShopStyle - Selects the next style option for the given style index
SetTrackedAchievement -
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
SpellCanTargetGlyph -
TargetNearestEnemyPlayer -
TargetNearestFriendPlayer -
TargetTotem -
TeleportToDebugObject -
TogglePerformancePause - This is an internal functioninternal
UnitControllingVehicle -
UnitDetailedThreatSituation -
UnitHasVehicleUI -
UnitInVehicle -
UnitInVehicleControlSeat -
UnitIsControlling -
UnitPower -
UnitPowerMax -
UnitSelectionColor -
UnitSwitchToVehicleSeat -
UnitTargetsVehicleInRaidUI -
UnitThreatSituation -
UnitVehicleSeatCount -
UnitVehicleSeatInfo -
UnitVehicleSkin -
UploadSettings -
VehicleAimDecrement -
VehicleAimDownStart -
VehicleAimDownStop -
VehicleAimGetAngle -
VehicleAimGetNormAngle -
VehicleAimGetNormPower -
VehicleAimIncrement -
VehicleAimRequestAngle -
VehicleAimRequestNormAngle -
VehicleAimSetNormPower -
VehicleAimUpStart -
VehicleAimUpStop -
VehicleCameraZoomIn -
VehicleCameraZoomOut -
VehicleExit -
VehicleNextSeat -
VehiclePrevSeat -
ZoomOut -
abs - Alias for math.abs
acos -
asin -
atan -
ceil - Alias for math.ceil
cleardebugstack -
cos -
deg - Alias for math.deg
error - luaapi
exp - Alias for math.exp
floor - Alias for math.floor
forceinsecure -
foreach - Iterates over a table calling func(index, value) for each entrydeprecated
foreachi - Iterates over a numerically-indexed table, calling func(index, value) for each entrydeprecated
format - Alias for string.format
frexp - Alias for math.frexp
getdebugstack -
getn - This function is simply an alias for table.getndeprecated
getprinthandler -
gmatch - Alias for string.gmatch
greater -
gsub - Alias for string.gsub
ldexp - Alias for math.ldexp
log - Alias for math.log
log10 - Alias for math.log10
max - Alias for math.max
message -
min - Alias for math.min
mod - Alias for math.fmod
newproxy - luaapi
print -
rad - Alias for math.rad
random - Alias for math.random
randomseed - Alias for math.randomseed
scrub -
sin -
sort - Alias for table.sort
sqrt - Alias for math.sqrt
strbyte - Alias for string.byte
strchar - Alias for string.char
strfind - Alias for string.find
strlen - Alias for string.len
strlower - Alias for string.lower
strmatch - Alias for string.match
strrep - Alias for string.rep
strreplace -
strrev - Alias for string.reverse
strsub - Alias for string.sub
strupper - Alias for string.upper
tan -
tinsert - Alias for table.insert
tostringall -
tremove - Alias for table.remove
wipe -