Category:World of Warcraft API/Removed Functions

Functions in this category have been removed from the API in a previous patch. Some functions did not have pages defined before they were removed.

Arena Functions

 * GetArenaCurrency - Gets the amount of arena points a player currently has to spend. See GetCurrencyInfo instead
 * IsBattlefieldArena - Returns true if the battlemaster you're talking to can queue you for arenas

Bag Functions

 * QuestBagButtonIDToInvSlotID(buttonID) - Possibly for a virtual bag to display quest items in.
 * SetBagPortaitTexture(texture,slot) - Used to override the texture of a bag.

Battleground Functions

 * CloseBattlefield - (4.0) Closes the queue for battlefield window.
 * GetBattlefieldInfo(index) - (4.0) Returns detailed information on the Battlefield you last opened a queue window for.
 * GetBattlefieldInstanceInfo(index) - (4.0) Get the instance ID for a battlefield.
 * GetBattlefieldWorldStateUIInfo(index)  - Get score and flag status within a battlefield.   - Removed in 1.12
 * GetHonorCurrency - (4.0) Gets the amount of honor points the player currently has to spend. See GetCurrencyInfo instead
 * GetNumBattlefields - (4.0) Get the number of running battlefields for the last battleground queue window you opened.
 * GetNumBattlefieldWorldStateUI  - Get the number of World State UI Info available.   - Removed in 1.12
 * GetSelectedBattlefield - (4.0) Get the selected battlefield to join first.
 * SetSelectedBattlefield(index) - (4.0) Select the battlefield instance you want to join or the first one that becomes available.
 * ShowBattlefieldList(index) - (3.3.3) Displays a queue window for the specified battlefield. Only works if you are already in a queue for the battlefield. Index corresponds to location in queue array.

Character Screen Functions

 * CollapseAllHeaders (Removed in 3.1.0; possibly in favour of CollapseAllFactionHeaders)
 * ExpandAllHeaders (Removed in 3.1.0; possible in favour of ExpandAllFactionHeaders)
 * GetDamageBonusStat - (4.0) Returns index of which stat a player receives a damage bonus from increasing
 * IsTabViewable(tab) - Returns true if specified tab is viewable by player, false otherwise
 * SetInventoryPortaitTexture - Set the texture to display in the Inventory (character) screen.

Chat Frame Functions

 * ChatFrameLog - (1.7) Obsolete

Crafting Functions
Crafting API was absorbed into the TradeSkill API in 3.0. The following functions were not documented at the time of removal:


 * CloseCraft
 * CollapseCraftSkillLine(index)
 * DoCraft(index)
 * ExpandCraftSkillLine(index)
 * GetCraftButtonToken
 * GetCraftCooldown(index) - Returns the number of seconds left for a skill to cooldown.
 * GetCraftIcon(index)
 * GetCraftSelectionIndex
 * SelectCraft(index)

Guild Functions

 * GetGuildBankWithdrawLimit - (4.0) Returns withdraw limit for currently selected rank in guild control. Renamed to GetGuildBankWithdrawGoldLimit
 * GuildSetLeaderByName("name") - (2.0) Set member of guild as a new Guilmaster. Only Guildmaster.
 * GuildUninviteByName("name") - (2.0) kicks the defined player from the guild. (replaced by GuildUninvite("name")).
 * SaveGuildRoster - (3.2.2) Removed in favor of the Armory.
 * SetGuildBankTabWithdraw(tab, amount) - (4.0) Modifies the stacks per day withdraw limit for select guild bank tab. Guild Leader Only.
 * SetGuildBankWithdrawLimit(amount) - (4.0) Sets the gold withdraw limit from the guild bank. Guild Leader Only. Renamed to SetGuildBankWithdrawGoldLimit

Looking for Group Functions

 * AcceptLFGMatch - (3.3.0)
 * CanSendLFGQuery(typeID, lfgNdx) - (3.3.0)
 * CancelPendingLFG - (3.3.0) Takes the player out of all LFG queues.
 * ClearLFGAutojoin - (3.3.0) Disables LFG auto join (being invited to other groups automatically).
 * ClearLFMAutofill - (3.3.0) Disables LFM auto fill (inviting other players automatically).
 * ClearLookingForGroup - (3.3.0)
 * ClearLookingForMore - (3.3.0)
 * DeclineLFGMatch - (3.3.0)
 * GetAvailableRoles - (4.0) Returns which LFG roles your character may fulfill.
 * GetLFGPartyResults(type, lfgNdx, index, partyIndex) - (3.3.0)
 * GetLFGResults(type, lfgNdx, index) - (3.3.0)
 * GetLFGStatusText - (3.3.0)
 * GetLFGTypeEntries(type) - (3.3.0)
 * GetLookingForGroup - (3.3.0) returns the player's current LFG state.
 * GetNumLFGResults(type, lfgNdx) - (3.3.0)
 * IsInLFGQueue - (3.3.0)
 * LFGQuery(typeID, lfgNdx [, class]) - (3.3.0)
 * SetLFGAutojoin - (3.3.0) Enables LFG auto join (automatic invites to other groups).
 * SetLFGType(slot, type) - (3.3.0)
 * SetLFMAutofill - (3.3.0) Enables LFM auto fill (sending automatic invites to other players).
 * SetLFMType - (3.3.0)
 * SetLookingForGroup(slot, type, index) - (3.3.0) sets a looking for group destination for one of the tree LFG slots.
 * SetLookingForMore - (3.3.0)
 * SortLFG("type") - (3.3.0)

Lottery Functions
The following funtions were added in 1.12, but never actually used; subsequently removed in 2.3.
 * BuyRandomPicks(count) - (2.3)
 * CloseLottery - (2.3)
 * GetJackpotAmount - (2.3)
 * GetLastLotteryNumbers - (2.3)
 * GetLotteryPrizeInfo - (2.3)
 * GetMoneyPrizes - (2.3)
 * GetNextDrawTime - (2.3)
 * GetNumLotteryPrizes - (2.3)
 * GetNumPastDrawResults - (2.3)
 * GetPastDrawResult - (2.3)
 * SubmitNumbers - (2.3)

Mail Functions

 * AddSendMailCOD
 * AddSendMailMoney
 * PickupSendMailCOD(amount) - This does not appear to exist any longer.
 * PickupSendMailMoney(amount) - This does not appear to exist any longer.

Map Functions

 * SetupWorldMapScale (1.12) replaced by SetupFullscreenScale.

Party Functions

 * CanSendInvite - Returns true or false for if player can invite players to current event
 * InviteToParty("unit") - (2.0) Invite a unit to a party by its unit id (likely "target") (replaced by InviteUnit("unit"))
 * PromoteByName("name") - Promotes by name the target. (Probably ).
 * UninviteByName("name") - (2.0) Uninvites (kicks) the named player from the current group if player is group leader. (replaced by UninviteUnit("unit")).
 * UninviteFromParty("unit") - (2.0) Kick a unit from the party if player is group leader. (replaced by UninviteUnit("unit")).

Pet Functions

 * BuyStableSlot - (4.0)
 * ClickStablePet(index) - (4.0) ?.
 * GetNextStableSlotCost - (4.0)
 * GetNumStablePets - (4.0) Returns the number of pets in the stable.
 * GetNumStableSlots - (4.0) Returns the number of stable slots you own.
 * GetSelectedStablePet - (4.0) ?.
 * StablePet(index) - (4.0) Puts your pet into the specified stable slot
 * UnstablePet(index) - (4.0) Retrieves a pet from the specified stable slot

Petition Functions

 * BuyPetition(arenaFormat, "teamName") - (4.0) Purchases an arena team charter.
 * TurnInArenaPetition(teamSize, ...) - (4.0) Founds an arena team.

PVP Functions

 * GetHonorCurrency - (4.0) Return the amount of honor the player has available to purchase items.

Reporting Functions

 * ReportBug("text") - (1.3.0)
 * ReportNote("text") - (1.3.0)
 * ReportSuggestion("text","category") - (1.3.0)

Settings Functions

 * GetBaseMip - (4.0) Get the world appearance Texture Detail.
 * GetCVarAbsoluteMax("cVar") - (4.0) Returns the maximum value a cVar will hold
 * GetCVarAbsoluteMin("cVar") - (4.0) Returns the minimum value a cVar will hold
 * GetCVarMax("cVar") - (4.0) Returns the maximum value acceptable for a cVar
 * GetCVarMin("cVar") - (4.0) Returns the minimum value acceptable for a cVar
 * GetFarclip - (4.0) Get the world appearance Terrain Distance.
 * GetTerrainMip - (4.0) Get the world appearance Terrain Texture.
 * GetTexLodBias - (4.0)
 * GetWaterDetail - (4.0)
 * SetBaseMip(value) - (4.0) Set the world appearance Texture Detail (0,1).
 * SetFarclip(value) - (4.0) Set the world appearance Terrain Distance.
 * SetTerrainMip(value) - (4.0) Set the world appearance Terrain Texture (0,1).
 * SetTexLodBias - (4.0)
 * TutorialsEnabled - (3.3.0) Probably replaced by a cVar
 * SetWaterDetail - (4.0)

Skill Functions

 * AcceptSkillUps - (4.0) Accepts changes to skills; unused on live realms.
 * AddSkillUp(index) - (4.0) Spends skill points to improve a skill; unused on live realms.
 * BuySkillTier(index) - (4.0) Learns the next tier of a skill; unused on live realms.
 * CancelSkillUps - (4.0) Rejects changes to skills; unused on live realms.
 * CollapseSkillHeader(index) - (4.0)
 * ExpandSkillHeader(index) - (4.0)
 * GetAdjustedSkillPoints - (4.0)
 * GetNumSkillLines - (4.0) get the number of lines in the skill window, including headers
 * GetSelectedSkill - (4.0)
 * GetSkillLineInfo(index) - (4.0) get the information for a selected skill
 * RemoveSkillUp(index) - (4.0)
 * SetSelectedSkill(index) - (4.0)

Spell Functions

 * GetKnownSlotFromHighestRankSlot(slot) - (4.0) ? Ranks were removed from the game in patch 4.0.
 * GetSpellName(spellID, "bookType") - (4.0) Returns the spell name and spell rank for a spell in the player's spellbook. Use GetSpellBookItemName
 * UpdateSpells - (4.0) Ensures spells in spellbook are loaded, fires "SPELLS_CHANGED" event when it is done.

System Functions

 * CheckReadyCheckTime - (3.3) Unknown, called from UIParent's OnUpdate!
 * GetDoodadAnim - Retrieved object animation state, possibly for movie scripts.
 * GetMovieSubtitles
 * GetWorldDetail - (3.0.2) Get the world appearance Environment Detail.
 * HideFriendNameplates - Turn off display of nameplates above friendly units. (Now controlled by nameplateShowFriends CVar))
 * HideNameplates - Turn off display of nameplates. (Now controlled by nameplateShowEnemies CVar)
 * RestoreVideoEffectsDefaults - (4.0)
 * RestoreVideoResolutionDefaults - (4.0)
 * RestoreVideoStereoDefaults - (4.0) New in 3.0.8
 * SetDoodadAnim - Controlled object animation state, possibly for movie scripts.
 * SetMovieSubtitles(subtitles)
 * SetWorldDetail(value) - (3.0.2) Set the world appearance Environment Detail (0,1,2).
 * ShowFriendNameplates - Turn on display of nameplates above friendly units. (Now controlled by nameplateShowFriends CVar)
 * ShowNameplates - Turn on display of nameplates. (Now controlled by nameplateShowEnemies CVar)
 * Sound_GetInputDriverNameByIndex
 * Sound_GetNumInputDrivers
 * Sound_GetNumOutputDrivers
 * Sound_GetOutputDriverNameByIndex
 * Sound_RestartSoundEngine

Toggle Functions

 * UI ToggleCombatLog - (3.3.5) Opens/closes the combat log.

Tracking Functions

 * GetTrackingTexture - (4.0) Return the texture of the current tracking buff, if one is active.

Trainer Functions

 * CollapseTrainerSkillLine(index) - (4.0) Collapses a header, hiding all spells below it.
 * ExpandTrainerSkillLine(index) - (4.0) Expands a header, showing all spells below it.
 * GetTrainerServiceStepIncrease - (4.0) ?.
 * GetTrainerServiceStepReq - (4.0) ?.
 * GetTrainerSkillLineFilter - (4.0) ?;
 * GetTrainerSkillLines - (4.0) ?;
 * IsTrainerServiceLearnSpell(index) - Returned whether a trainer was going to teach you a spell.
 * IsTrainerServiceSkillStep - (4.0) ?.
 * SetTrainerSkillLineFilter - (4.0) ?.

Unit Functions

 * GetPlayerBuffApplications(id or "name"[,"rank"]) - (3.0) Retrieves the number of applications of a debuff or buff. (replaced with UnitBuff)
 * GetPlayerBuffDispelType(id or "name"[,"rank"]) - (3.0) Get the debuff type for a player debuff ("Magic", "Curse", "Disease", or "Poison".) (replaced with UnitBuff)
 * IsFeignDeath - (2.1) Returns 1 if the player is feigning death, nil otherwise. See UnitIsFeignDeath.
 * UnitCharacterPoints("unit") - (4.0) Returns the number of unspent talent points for the specified unit -- usually 0.
 * UnitMana("unit") - (3.0.2) Returns the current mana (or energy,rage,etc), in points, of the specified unit.
 * UnitManaMax("unit") - (3.0.2) Returns the maximum mana (or energy,rage,etc), in points, of the specified unit.