Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement
WoW Icon update See Global functions/Classic for a complete list.


Note
Note: This incomplete list is up to date as of Patch 2.5.3 (41812) Jan 7 2022
C_LFGList.IsLookingForGroupEnabled()
C_StorePublic.HasPurchaseableProducts()
CastingInfo() - Returns the player's currently casting spell.
ChannelInfo() - Returns the player's currently channeling spell.
GetFirstBagBankSlotIndex() - Returns the index of the first bag slot within the bank container.
IsPlayerAttacking(unit) - Returns if the player is melee attacking the specified unit.
ShowCloak(flag) - Enables or disables display of your cloak.
ShowHelm(flag) - Enables or disables display of your helm.
ShowingCloak() - Returns if the player is showing his cloak.
ShowingHelm() - Returns if the player is showing his helm.
UnitResistance(unit [, resistanceIndex]) - Returns information about a unit's resistance.

Seasons[]

C_Seasons.GetActiveSeason() - Returns the ID of the season that is active on the current realm.
C_Seasons.HasActiveSeason() - Returns true if the player is on a seasonal realm.

Auction House[]

CanCancelAuction(index) - Returns 1 if auction can be canceled.
CanSendAuctionQuery() - Returns 1 if auction search button would be active, nil otherwise.
CancelAuction(index) - Cancel the specified auction (on the "owner" list).
CancelSell() - Clears the auction house listing queue, not creating any additional auctions.
ClickAuctionSellItemButton() - Puts the currently 'picked up' item into the 'create auction' slot.
CloseAuctionHouse() - Will close the AuctionFrame if opened.
GetAuctionDeposit(runTime, minBid, buyoutPrice [, itemCount, numStacks]) - Calculate the deposit cost of posting the currently selected item.
GetAuctionHouseDepositRate() - Returns the deposit rate (percentage) for the currently open auction house.
GetAuctionItemBattlePetInfo(type, index) - Returns model details about the specified Battle Pet auction item.
GetAuctionItemInfo(type, index) - Returns details about the specified auction item.
GetAuctionItemLink(type, index) - Returns an itemLink for the specified auction item.
GetAuctionItemSubClasses(classID) - Returns subcategories for the item category.
GetAuctionItemTimeLeft(type, index) - Returns the time left status of the specified auction item.
GetAuctionSellItemInfo() - Returns information about the current selling item (or nil if none selected).
GetAuctionSort()
GetBidderAuctionItems([page]) - Query all auctions the player is bidding on (results accessed using GetAuctionItemInfo)
GetNumAuctionItems(type) - Returns the size of the specified auction item list.
GetOwnerAuctionItems([page]) - Query all the player's active posted auctions (results accessed using GetAuctionItemInfo)
GetSelectedAuctionItem(type) - Returns the index (1-50) of the selected auction item or 0 if none is selected (used by the vanilla UI).
IsAuctionSortReversed(type, sort) - Returns 1 if the specified auction list and sort is reversed, nil otherwise.
PlaceAuctionBid(type, index, bid) - Place a bid on the specified auction item.
PostAuction(minBid, buyoutPrice, runTime, stackSize, numStacks) - Post the currently selected item
QueryAuctionItems(text, minLevel, maxLevel, page, usable, rarity, getAll, exactMatch, filterData) - Performs a search of the auction house with the specified characteristics.
SetAuctionsTabShowing(showing) - Enables the right-click to select an item for posting from your bags shortcut.
SetSelectedAuctionItem(type, index) - Selects a specific item in the auction house (used by the vanilla UI).
SortAuctionApplySort(type)
SortAuctionClearSort(type)
SortAuctionItems(type, sort) - Toggles sorting the specific auction list by a specific column.
SortAuctionSetSort(type, sort [, reverse]) - Sorts the specific auction list by a specific column, optionally in reverse order. Requires SortAuctionApplySort() or another search query afterwards to update.

Hunter Pets[]

ConfirmPetUnlearn() - Confirms unlearning the current pet's skills.
GetPetHappiness() - Returns the pet's happiness, damage percentage, and loyalty gain rate.
GetPetLoyalty() - Returns pet loyalty flavor text.
GetPetTrainingPoints() - Gets the training point information about the current pet.

Stables[]

BuyStableSlot() - Buys the next stable slot if the stable window is open and you can afford it.
ClickStablePet(index) - Selects a stable pet.
GetNextStableSlotCost() - Returns the next stable slot's cost in copper.
GetNumStablePets() - Returns the amount of stable pets.
GetNumStableSlots() - Returns the amount of stable slots.
GetSelectedStablePet() - Gets the index of the currently selected pet in the stable.
StablePet() - Puts your current pet in the stable if there is room.
UnstablePet(index) - Unstables a pet.

Keyring[]

The Keyring was added again in Patch 1.13.3

HasKey() - Returns whether or not the player has a key ring.
KeyRingButtonIDToInvSlotID(buttonID) - Map a keyring button to an inventory slot button for use in inventory functions.

Professions[]

CloseTradeSkill()
CollapseTradeSkillSubClass(index)
DoTradeSkill(index [, repeat])
ExpandTradeSkillSubClass(index)
GetFirstTradeSkill()
GetNumPrimaryProfessions()
GetNumTradeSkills()
GetTradeSkillCooldown(index)
GetTradeSkillIcon(index)
GetTradeSkillInfo(index)
GetTradeSkillInvSlotFilter(index)
GetTradeSkillInvSlots()
GetTradeSkillItemLink(index)
GetTradeSkillItemStats()
GetTradeSkillLine()
GetTradeSkillNumMade(index)
GetTradeSkillNumReagents(index)
GetTradeSkillReagentInfo(index, reagentIndex)
GetTradeSkillReagentItemLink(index, reagentIndex)
GetTradeSkillRecipeLink(index)
GetTradeSkillSelectionIndex()
GetTradeSkillSubClassFilter(index)
GetTradeSkillSubClasses()
GetTradeSkillTools(index)
GetTradeskillRepeatCount()
SelectTradeSkill(index)
SetTradeSkillInvSlotFilter(index [, on\off, exclusive])
SetTradeSkillSubClassFilter(index [, on\off, exclusive])

Crafting[]

The Craft UI is used for Enchanting and Beast Training.

CloseCraft()
CollapseCraftSkillLine(index)
DoCraft(index)
ExpandCraftSkillLine(index)
GetCraftButtonToken()
GetCraftDescription(index)
GetCraftDisplaySkillLine()
GetCraftIcon(index)
GetCraftInfo(index)
GetCraftItemLink(index)
GetCraftName()
GetCraftNumReagents(index)
GetCraftReagentInfo(index, reagentIndex)
GetCraftReagentItemLink(index, reagentIndex)
GetCraftSelectionIndex()
GetCraftSkillLine(index)
GetCraftSpellFocus(index)
GetNumCrafts()
SelectCraft(index)

PvP[]

GetInspectPVPRankProgress() - Gets the inspected unit's progress towards the next PvP rank.
GetPVPLastWeekStats() - Gets the player's PVP contribution statistics for the previous week.
GetPVPRankInfo(rank [, unit]) - Returns information about a specific PvP rank.
GetPVPRankProgress() - Returns the player's progress to the next PvP rank.
GetPVPThisWeekStats() - Gets your PVP contribution statistics for the current week.
UnitIsCivilian(unit) - Determine whether a unit is a civilian (low level enemy faction NPC that counts as a dishonorable kill).
UnitPVPRank(unit) - Returns the specified unit's PvP rank ID.

Battlegrounds[]

GetBattlefieldInstanceInfo(index) - Returns the battlefield instance ID for an index in the battlemaster listing.
GetNumBattlefields() - Returns the number of available instances for the selected battleground at the battlemaster.
GetSelectedBattlefield() - Returns the currently selected battlefield at the battlemaster.
SetSelectedBattlefield(index) - Selects a battlefield instance at the battlemaster.

Arena[]

AcceptArenaTeam()
ArenaTeamDisband(index)
ArenaTeamInviteByName()
ArenaTeamLeave()
ArenaTeamRoster(index)
ArenaTeamSetLeaderByName()
ArenaTeamUninviteByName()
BuyArenaCharter()
CloseArenaTeamRoster()
DeclineArenaTeam()
GetArenaTeam(id)
GetArenaTeamGdfInfo()
GetArenaTeamIndexBySize(size)
GetArenaTeamRosterInfo(teamindex, playerid)
GetArenaTeamRosterSelection()
GetArenaTeamRosterShowOffline()
GetInspectArenaTeamData()
GetNumArenaTeamMembers()
IsArenaSeasonActive()
IsBattlefieldArena()
SetArenaTeamRosterSelection()
SetArenaTeamRosterShowOffline()
SetPendingReportArenaTeamName()
SortArenaTeamRoster()
TurnInArenaPetition()

Skills[]

Relates to player/trainer Skills.

CollapseSkillHeader(index) - Collapses a header in the skills window.
CollapseTrainerSkillLine(index) - Collapses a header in the trainer window, hiding all spells below it.
ExpandSkillHeader(index) - Expands a header in the skills window.
ExpandTrainerSkillLine(index) - Expands a header in the trainer window, showing all spells below it.
GetNumSkillLines() - Returns the number of skill lines in the skill window, including headers.
GetSelectedSkill() - Returns the currently selected skill line.
GetSkillLineInfo(index) - Returns information on a skill line/header.
IsTrainerServiceLearnSpell(index) - Returns the type of trainer spell in the trainer window.
SetSelectedSkill(index) - Selects a skill line in the skill window.

Talents[]

GetNumTalents(tabIndex) - Returns the amount of talents for a specialization.
GetNumTalentTabs() - Returns the total number of talent tabs for the player.
WoW Icon update GetTalentInfo(tabIndex, talentIndex) - Returns information about a talent.
GetTalentPrereqs(tabIndex, talentIndex) - Returns the tier and column of a talent's prerequisite, and if the talent is learnable.
GetTalentTabInfo(index) - Returns information for a talent tab (tree).
UnitCharacterPoints(unit) - Returns the number of unspent talent points of the player.

Tracking[]

CancelTrackingBuff() - Cancels your current tracking buff (skills like Find Minerals and Track Humanoids).
GetTrackingTexture() - Returns the texture of the active tracking buff.
Advertisement