- Action functions
- ActionBar functions
- Addon-related functions
- Arena functions
- Auction functions
- Bank functions
- Battlefield functions
- Blizzard internal functions
- Buff functions
- CVar functions
- Camera functions
- Channel functions
- Chat functions
- Chinese client functions
- Client information functions
- Combat functions
- Commentator functions
- Complaint functions
- Container functions
- Crafting functions
- Cursor functions
- Debug client functions
- Deprecated functions
- Faction functions
- GM Survey functions
- GM ticket functions
- Guild bank functions
- Guild functions
- Inspect functions
- Instance functions
- Inventory functions
- Item functions
- Item text functions
- Itemlink functions
- Keybind functions
- Keyboard functions
- Knowledge-base functions
- Looking for group functions
- Loot functions
- Lua library functions
- Mac client functions
- Macro functions
- Mail functions
- Map functions
- Merchant functions
- Minigame functions
- Miscellaneous functions
- Modified click functions
- Money functions
- Movement functions
- NPC functions
- PVP functions
- Party functions
- Pet functions
- Petition functions
- Player information functions
- Profiling functions
- Quest functions
- Raid functions
- Skill functions
- Social functions
- Socketing functions
- Sound functions
- Spell functions
- Stance/Shapeshift functions
- Stat information functions
- Talent functions
- Targeting functions
- Taxi/Flight functions
- Tracking functions
- Trade functions
- Tradeskill functions
- Trainer functions
- UI/Visual functions
- Uncategorized functions
- Unit functions
- Utility functions
- Video functions
- Voice functions
- Zone information functions
- _(API_CAT_RAF)
Action functions
- ActionHasRange - Returns whether or not an action has a range restriction
- CastPetAction - Casts a pet action on a specific target
- GetActionAutocast - Returns information about autocast actions
- 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 cursor
- 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 action
- UseAction - Uses an action
ActionBar functions
- ChangeActionBarPage - Changes the current action bar page
- 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 character
- 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 default
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 members
- 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.
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 deprecated
- 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 invitation
- GetBattlefieldPosition - Returns information on the queried players position in a battleground
- 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 function
- CreateMiniWorldMapArrowFrame - This is an internal function
- CreateWorldMapArrowFrame - This is an internal function
- DeleteFile - This is an internal function, calling it gives an "Access Denied" error message.
- GMRequestPlayerInfo - This is an internal function
- GetDebugStats - This is an internal function
- GetDoodadAnim - This is an internal function
- GetGMStatus - This is an internal function
- GetTexLodBias - This is an internal function
- PositionMiniWorldMapArrowFrame - This is an internal function
- PositionWorldMapArrowFrame - This is an internal function
- ReadFile - This is an internal function
- ResetPerformanceValues - This is an internal function
- SetChannelWatch - This is an internal function
- SetDoodadAnim - This is an internal function
- SetLayoutMode - This is an internal function
- ShowWorldMapArrowFrame - This is an internal function
- ToggleCollision - This is an internal function
- ToggleCollisionDisplay - This is an internal function
- TogglePerformanceDisplay - This is an internal function
- TogglePerformanceValues - This is an internal function
- TogglePlayerBounds - This is an internal function
- TogglePortals - This is an internal function
- ToggleTris - This is an internal function
- UpdateWorldMapArrowFrames - This is an internal function
- debugbreak - This is an internal function
- debugdump - This is an internal function
- debuginfo - This is an internal function
- debugload - This is an internal function
- debugprint - This is an internal function
- debugtimestamp - This is an internal function
Buff functions
- CancelPlayerBuff - Cancels one of the player's buffs by name or index
- GetPlayerBuff - Returns information about the player's buffs
- GetPlayerBuffApplications - Returns the number of applications (stacks) for a given buff on the player
- GetPlayerBuffDispelType - Returns the dispel type of a given buff
- GetPlayerBuffName - Returns information about a buff on the player
- GetPlayerBuffTexture - Returns the texture for a given buff on the player
- GetPlayerBuffTimeLeft - Returns the time left on the selected buff on the player.
- 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 world
- CameraOrSelectOrMoveStop - Ends a left-click in the 3-D world
- CameraZoomIn - Zooms the camera in a specified distance
- CameraZoomOut - Zooms the camera out.
- 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]]
- MoveViewLeftStart - Starts the camera orbiting around you to the left (clockwise)
- MoveViewLeftStop - Stops the camera movement initiated by [[docs/api/MoveViewLeftStart|MoveViewLeftStart]]
- MoveViewOutStart - Starts the camera zooming out from your character
- MoveViewRightStart - Starts your camera orbiting around you to the right (counterclockwise)
- MoveViewRightStop - Stops the camera movement initiated by [[docs/api/MoveViewRightStart|MoveViewRightStart]]
- MoveViewUpStart - Starts your camera orbiting upward to look down
- MoveViewUpStop - Stops the camera movement initiated by [[docs/api/MoveViewUpStart|MoveViewUpStart]]
- NextView - Change the camera view to the next predefined camera angle.
- PitchDownStop - Stops the steering initiated by [[docs/api/PitchDownStart|PitchDownStart]]
- 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 deprecated
- 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.
- 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 deprecated
- UnSilenceMember - This function is deprecated
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
- GetNumLaguages - Returns the number of languages the player is capable of speaking
- 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.
- NoPlayTime - Returns whether or not the player is out of playtime
- PartialPlayTime - Returns whether the character gains partial xp or not.
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 - Enables melee auto-attacking against the currently selected target
- 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.
- StopAttack - Stops auto-attack if active
- UnitAffectingCombat - Returns whether or not a unit is currently in combat
Commentator functions
- CommentatorAddPlayer - This is an internal function
- CommentatorEnterInstance - This is an internal function
- CommentatorExitInstance - This is an internal function
- CommentatorFollowPlayer - This is an internal function
- CommentatorGetCamera - This is an internal function
- CommentatorGetCurrentMapID - This is an internal function
- CommentatorGetInstanceInfo - This is an internal function
- CommentatorGetMapInfo - This is an internal function
- CommentatorGetMode - This is an internal function
- CommentatorGetNumMaps - This is an internal function
- CommentatorGetNumPlayers - This is an internal function
- CommentatorGetPlayerInfo - This is an internal function
- CommentatorLookatPlayer - This is an internal function
- CommentatorRemovePlayer - This is an internal function
- CommentatorSetBattlemaster - This is an internal function
- CommentatorSetCamera - This is an internal function
- CommentatorSetCameraCollision - This is an internal function
- CommentatorSetMapAndInstanceIndex - This is an internal function
- CommentatorSetMode - This is an internal function
- CommentatorSetMoveSpeed - This is an internal function
- CommentatorSetPlayerIndex - This is an internal function
- CommentatorSetTargetHeightOffset - This is an internal function
- CommentatorStartInstance - This is an internal function
- CommentatorToggleMode - This is an internal function
- CommentatorUpdateMapInfo - This is an internal function
- CommentatorUpdatePlayerInfo - This is an internal function
- CommentatorZoomIn - This is an internal function
- CommentatorZoomOut - This is an internal function
Complaint functions
- CanComplainChat - Returns whether or not a given chat line can be reported
- CanComplainInboxItem - Query an inbox mail item for complain status. This determines if you can report this mail as Spam. Returns 1 if you can, nil otherwise. This function only works at the mailbox, and will return nil for anyone on your friends list
- 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 target
Crafting functions
- BindEnchant - Confirms enchanting an item, when it would cause the item to become soulbound
- CloseCraft - Closes the Craft Frame
- CollapseCraftSkillLine - Collapses a skill line in the craft frame
- CraftIsEnchanting - Returns whether or not the current craft window is the enchanting window.
- CraftIsPetTraining - Returns whether or not the open craft window is the pet traning window
- CraftOnlyShowMakeable - Enables or disables the "Have Materials" filter in the craft UI.
- DoCraft - Performs the selected craft skill
- ExpandCraftSkillLine - Expands a craft skill line header
- GetCraftButtonToken - Returns the global string token for the craft button in the craft UI
- GetCraftCooldown - Returns the amount of time left on a craft skill cooldown
- GetCraftDescription - Returns a short description of what a specified craft does
- GetCraftDisplaySkillLine - Returns information about the currently open craft (Enchanting or Beast Training)
- GetCraftFilter - Returns whether or not a given craft filter is enabled
- GetCraftIcon - Returns the texture of a selected craft to be shown in the craft UI.
- GetCraftInfo - Returns information about a given craft recipe or skill (Enchanting, or Pet Training)
- GetCraftItemLink - Returns an item link for a craft skill item
- GetCraftItemNameFilter - Returns the value of the craft UI item name filter
- GetCraftName - Returns the name of the current craft that the player has open. Will return the first profession found in the spellbook (even professions that use the TradeSkill API instead of the Craft API) if no craft is open.
- GetCraftNumMade - Returns the number of items crafted for a given recipe
- GetCraftNumReagents - Returns the number of reagents that are required for the given recipe
- GetCraftReagentInfo - Returns information about a craft skill reagent
- GetCraftReagentItemLink - Returns an item link for a specific craft skill reagent
- GetCraftRecipeLink - Retrieves the recipe link for a given craft skill. The tooltip for this item link shows required reagents and description.
- GetCraftSelectionIndex - Returns the index of the currently selected craft item
- GetCraftSkillLine - Returns the name of the currently (or last) open craft skill window
- GetCraftSlots - Returns a list of item slot types for which crafted items can be made
- GetCraftSpellFocus - Returns a list of required items for a craft skill (e.g. Enchanting rods)
- GetNumCrafts - Returns the number of items in the crafting window
- ReplaceEnchant - Confirms replacing an existing enchant
- SelectCraft - Selects a given item for the active craft (used by Enchanting and Pet Training)
- SetCraftFilter - Sets a specific craft filter as active
- SetCraftItemNameFilter - Sets the craft ui item name filter search string
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 cursor
- PickupAction - Picks up an action bar slot and holds it on the cursor
- 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 function
- 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
Deprecated functions
- AddSkillUp - This function is deprecated
- GetAdjustedSkillPoints - This function is deprecated
- RemoveSkillUp - This function is deprecated
- ReportBug - This function is deprecated
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 ticket
- UpdateGMTicket - Updates the current GM Ticket with the appropriate text
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 tab
- 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.
- GetGuildRecruitmentMode - Returns the current guild recruitment mode
- 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 deprecated
- 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.
- SetGuildRecruitmentMode - Enables or disables auto-joining of the guild recruitment channel
- SetGuildRosterSelection - Sets the selection in the guild roster
- 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 target
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 function
- 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 function
- 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 item
- 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 target
- UseInventoryItem - Uses an item from the player's inventory
- UseItemByName - Uses an item, optionally on a specified target
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.
- GetCraftItemLink - Returns an item link for a craft skill item
- GetCraftNumMade - Returns the number of items crafted for a given recipe
- GetCraftNumReagents - Returns the number of reagents that are required for the given recipe
- GetCraftReagentItemLink - Returns an item link for a specific craft skill reagent
- GetCraftRecipeLink - Retrieves the recipe link for a given craft skill. The tooltip for this item link shows required reagents and description.
- GetCursorInfo - Returns information about the object currently held by the cursor
- GetExistingSocketLink - Returns an item link for a socketed gem.
- 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 socketed
- 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.
- SetOverrideBindingClick - Sets an override binding that acts like a mouse click on a button.
- 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 spell
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.
- IsControlKeyDown - Returns whether or not a Control key on the keyboard is held down
- IsLeftAltKeyDown - Returns whether or not the left Alt key is currently held down
- IsLeftControlKeyDown - Returns whether or not the left Control key is held down