Wikia

WoWWiki

Changes: Global functions

Edit

Back to page

(Lua Defined Functions: Link FrameXML)
(Main Game Functions: Update list for 1.12)
Line 36: Line 36:
 
''' This is a list of global functions internal to WoW that are exposed to Lua scripts. ''' The list also includes standard global Lua functions as well as those global functions that map to standard Lua library functions.
 
''' This is a list of global functions internal to WoW that are exposed to Lua scripts. ''' The list also includes standard global Lua functions as well as those global functions that map to standard Lua library functions.
   
'' Functions in bold are not on the [[World of Warcraft API]] page as of 22 June 2006''
+
'' Functions in bold are not on the [[World of Warcraft API]] page as of 28 Aug 2006''
   
 
* [[API AbandonQuest|AbandonQuest]]
 
* [[API AbandonQuest|AbandonQuest]]
Line 69: Line 69:
 
* [[API BuyGuildCharter|BuyGuildCharter]]
 
* [[API BuyGuildCharter|BuyGuildCharter]]
 
* [[API BuyMerchantItem|BuyMerchantItem]]
 
* [[API BuyMerchantItem|BuyMerchantItem]]
  +
* [[API BuyRandomPicks|BuyRandomPicks]]
 
* [[API BuySkillTier|BuySkillTier]]
 
* [[API BuySkillTier|BuySkillTier]]
 
* [[API BuyStableSlot|BuyStableSlot]]
 
* [[API BuyStableSlot|BuyStableSlot]]
Line 86: Line 87:
 
* [[API CanGuildPromote|CanGuildPromote]]
 
* [[API CanGuildPromote|CanGuildPromote]]
 
* [[API CanGuildRemove|CanGuildRemove]]
 
* [[API CanGuildRemove|CanGuildRemove]]
  +
* '''[[API CanInspect|CanInspect]]'''
 
* [[API CanJoinBattlefieldAsGroup|CanJoinBattlefieldAsGroup]]
 
* [[API CanJoinBattlefieldAsGroup|CanJoinBattlefieldAsGroup]]
 
* [[API CanMerchantRepair|CanMerchantRepair]]
 
* [[API CanMerchantRepair|CanMerchantRepair]]
Line 126: Line 128:
 
* [[API CheckSpiritHealerDist|CheckSpiritHealerDist]]
 
* [[API CheckSpiritHealerDist|CheckSpiritHealerDist]]
 
* [[API CheckTalentMasterDist|CheckTalentMasterDist]]
 
* [[API CheckTalentMasterDist|CheckTalentMasterDist]]
  +
* [[API ClearCursor|ClearCursor]]
 
* [[API ClearInspectPlayer|ClearInspectPlayer]]
 
* [[API ClearInspectPlayer|ClearInspectPlayer]]
 
* [[API ClearSendMail|ClearSendMail]]
 
* [[API ClearSendMail|ClearSendMail]]
Line 144: Line 147:
 
* [[API CloseItemText|CloseItemText]]
 
* [[API CloseItemText|CloseItemText]]
 
* [[API CloseLoot|CloseLoot]]
 
* [[API CloseLoot|CloseLoot]]
  +
* [[API CloseLottery|CloseLottery]]
 
* [[API CloseMail|CloseMail]]
 
* [[API CloseMail|CloseMail]]
 
* [[API CloseMerchant|CloseMerchant]]
 
* [[API CloseMerchant|CloseMerchant]]
Line 269: Line 273:
 
* [[API GetBattlefieldTimeWaited|GetBattlefieldTimeWaited]]
 
* [[API GetBattlefieldTimeWaited|GetBattlefieldTimeWaited]]
 
* [[API GetBattlefieldWinner|GetBattlefieldWinner]]
 
* [[API GetBattlefieldWinner|GetBattlefieldWinner]]
* [[API GetBattlefieldWorldStateUIInfo|GetBattlefieldWorldStateUIInfo]]
 
 
* [[API GetBidderAuctionItems|GetBidderAuctionItems]]
 
* [[API GetBidderAuctionItems|GetBidderAuctionItems]]
 
* [[API GetBillingTimeRested|GetBillingTimeRested]]
 
* [[API GetBillingTimeRested|GetBillingTimeRested]]
Line 364: Line 367:
 
* [[API GetItemInfo|GetItemInfo]]
 
* [[API GetItemInfo|GetItemInfo]]
 
* [[API GetItemQualityColor|GetItemQualityColor]]
 
* [[API GetItemQualityColor|GetItemQualityColor]]
  +
* [[API GetJackpotAmount|GetJackpotAmount]]
 
* '''[[API GetLFGResults|GetLFGResults]]'''
 
* '''[[API GetLFGResults|GetLFGResults]]'''
 
* '''[[API GetLFGTypeEntries|GetLFGTypeEntries]]'''
 
* '''[[API GetLFGTypeEntries|GetLFGTypeEntries]]'''
 
* '''[[API GetLFGTypes|GetLFGTypes]]'''
 
* '''[[API GetLFGTypes|GetLFGTypes]]'''
 
* [[API GetLanguageByIndex|GetLanguageByIndex]]
 
* [[API GetLanguageByIndex|GetLanguageByIndex]]
  +
* [[API GetLastLotteryNumbers|GetLastLotteryNumbers]]
 
* [[API GetLocale|GetLocale]]
 
* [[API GetLocale|GetLocale]]
 
* [[API GetLookingForGroup|GetLookingForGroup]]
 
* [[API GetLookingForGroup|GetLookingForGroup]]
Line 377: Line 382:
 
* [[API GetLootSlotLink|GetLootSlotLink]]
 
* [[API GetLootSlotLink|GetLootSlotLink]]
 
* [[API GetLootThreshold|GetLootThreshold]]
 
* [[API GetLootThreshold|GetLootThreshold]]
  +
* [[API GetLotteryPrizeInfo|GetLotteryPrizeInfo]]
 
* [[API GetMacroIconInfo|GetMacroIconInfo]]
 
* [[API GetMacroIconInfo|GetMacroIconInfo]]
 
* [[API GetMacroIndexByName|GetMacroIndexByName]]
 
* [[API GetMacroIndexByName|GetMacroIndexByName]]
Line 395: Line 401:
 
* [[API GetMinimapZoneText|GetMinimapZoneText]]
 
* [[API GetMinimapZoneText|GetMinimapZoneText]]
 
* [[API GetMoney|GetMoney]]
 
* [[API GetMoney|GetMoney]]
  +
* [[API GetMoneyPrizes|GetMoneyPrizes]]
 
* [[API GetMouseFocus|GetMouseFocus]]
 
* [[API GetMouseFocus|GetMouseFocus]]
 
* [[API GetMultisampleFormats|GetMultisampleFormats]]
 
* [[API GetMultisampleFormats|GetMultisampleFormats]]
 
* [[API GetNetStats|GetNetStats]]
 
* [[API GetNetStats|GetNetStats]]
  +
* [[API GetNextDrawTime|GetNextDrawTime]]
 
* [[API GetNextStableSlotCost|GetNextStableSlotCost]]
 
* [[API GetNextStableSlotCost|GetNextStableSlotCost]]
 
* '''[[API GetNumActiveQuests|GetNumActiveQuests]]'''
 
* '''[[API GetNumActiveQuests|GetNumActiveQuests]]'''
Line 408: Line 416:
 
* [[API GetNumBattlefieldScores|GetNumBattlefieldScores]]
 
* [[API GetNumBattlefieldScores|GetNumBattlefieldScores]]
 
* [[API GetNumBattlefieldStats|GetNumBattlefieldStats]]
 
* [[API GetNumBattlefieldStats|GetNumBattlefieldStats]]
* [[API GetNumBattlefieldWorldStateUI|GetNumBattlefieldWorldStateUI]]
 
 
* [[API GetNumBattlefields|GetNumBattlefields]]
 
* [[API GetNumBattlefields|GetNumBattlefields]]
 
* [[API GetNumBindings|GetNumBindings]]
 
* [[API GetNumBindings|GetNumBindings]]
Line 421: Line 428:
 
* [[API GetNumLaguages|GetNumLaguages]]
 
* [[API GetNumLaguages|GetNumLaguages]]
 
* [[API GetNumLootItems|GetNumLootItems]]
 
* [[API GetNumLootItems|GetNumLootItems]]
  +
* [[API GetNumLotteryPrizes|GetNumLotteryPrizes]]
 
* [[API GetNumMacroIcons|GetNumMacroIcons]]
 
* [[API GetNumMacroIcons|GetNumMacroIcons]]
 
* [[API GetNumMacros|GetNumMacros]]
 
* [[API GetNumMacros|GetNumMacros]]
Line 427: Line 435:
 
* [[API GetNumPackages|GetNumPackages]]
 
* [[API GetNumPackages|GetNumPackages]]
 
* [[API GetNumPartyMembers|GetNumPartyMembers]]
 
* [[API GetNumPartyMembers|GetNumPartyMembers]]
  +
* [[API GetNumPastDrawResults|GetNumPastDrawResults]]
 
* [[API GetNumPetitionNames|GetNumPetitionNames]]
 
* [[API GetNumPetitionNames|GetNumPetitionNames]]
 
* [[API GetNumQuestChoices|GetNumQuestChoices]]
 
* [[API GetNumQuestChoices|GetNumQuestChoices]]
Line 450: Line 459:
 
* [[API GetNumTrainerServices|GetNumTrainerServices]]
 
* [[API GetNumTrainerServices|GetNumTrainerServices]]
 
* [[API GetNumWhoResults|GetNumWhoResults]]
 
* [[API GetNumWhoResults|GetNumWhoResults]]
* [[API GetNumWorldStateUI|GetNumWorldStateUI]]
+
* '''[[API GetNumWorldStateUI|GetNumWorldStateUI]]'''
 
* [[API GetObjectiveText|GetObjectiveText]]
 
* [[API GetObjectiveText|GetObjectiveText]]
 
* [[API GetOwnerAuctionItems|GetOwnerAuctionItems]]
 
* [[API GetOwnerAuctionItems|GetOwnerAuctionItems]]
Line 464: Line 473:
 
* [[API GetPartyLeaderIndex|GetPartyLeaderIndex]]
 
* [[API GetPartyLeaderIndex|GetPartyLeaderIndex]]
 
* [[API GetPartyMember|GetPartyMember]]
 
* [[API GetPartyMember|GetPartyMember]]
  +
* [[API GetPastDrawResult|GetPastDrawResult]]
 
* [[API GetPetActionCooldown|GetPetActionCooldown]]
 
* [[API GetPetActionCooldown|GetPetActionCooldown]]
 
* [[API GetPetActionInfo|GetPetActionInfo]]
 
* [[API GetPetActionInfo|GetPetActionInfo]]
Line 640: Line 650:
 
* [[API HasSoulstone|HasSoulstone]]
 
* [[API HasSoulstone|HasSoulstone]]
 
* [[API HasWandEquipped|HasWandEquipped]]
 
* [[API HasWandEquipped|HasWandEquipped]]
  +
* [[API HideFriendNameplates|HideFriendNameplates]]
 
* [[API HideNameplates|HideNameplates]]
 
* [[API HideNameplates|HideNameplates]]
 
* [[API HideRepairCursor|HideRepairCursor]]
 
* [[API HideRepairCursor|HideRepairCursor]]
Line 687: Line 698:
 
* [[API IsUnitOnQuest|IsUnitOnQuest]]
 
* [[API IsUnitOnQuest|IsUnitOnQuest]]
 
* [[API IsUsableAction|IsUsableAction]]
 
* [[API IsUsableAction|IsUsableAction]]
  +
* [[API IsVendorActive|IsVendorActive]]
 
* [[API IsWindowsClient|IsWindowsClient]]
 
* [[API IsWindowsClient|IsWindowsClient]]
 
* [[API ItemTextGetCreator|ItemTextGetCreator]]
 
* [[API ItemTextGetCreator|ItemTextGetCreator]]
Line 786: Line 798:
 
* [[API PromoteToAssistant|PromoteToAssistant]]
 
* [[API PromoteToAssistant|PromoteToAssistant]]
 
* [[API PromoteToPartyLeader|PromoteToPartyLeader]]
 
* [[API PromoteToPartyLeader|PromoteToPartyLeader]]
* '''[[API PurchaseSlot|PurchaseSlot]]'''
+
* [[API PurchaseSlot|PurchaseSlot]]
 
* [[API PutItemInBackpack|PutItemInBackpack]]
 
* [[API PutItemInBackpack|PutItemInBackpack]]
 
* [[API PutItemInBag|PutItemInBag]]
 
* [[API PutItemInBag|PutItemInBag]]
Line 843: Line 855:
 
* [[API SelectTradeSkill|SelectTradeSkill]]
 
* [[API SelectTradeSkill|SelectTradeSkill]]
 
* [[API SelectTrainerService|SelectTrainerService]]
 
* [[API SelectTrainerService|SelectTrainerService]]
  +
* [[API SendAddonMessage|SendAddonMessage]]
 
* [[API SendChatMessage|SendChatMessage]]
 
* [[API SendChatMessage|SendChatMessage]]
 
* [[API SendMail|SendMail]]
 
* [[API SendMail|SendMail]]
Line 911: Line 924:
 
* [[API SetWhoToUI|SetWhoToUI]]
 
* [[API SetWhoToUI|SetWhoToUI]]
 
* [[API SetWorldDetail|SetWorldDetail]]
 
* [[API SetWorldDetail|SetWorldDetail]]
* [[API SetupWorldMapScale|SetupWorldMapScale]]
+
* [[API SetupFullscreenScale|SetupFullscreenScale]]
 
* [[API ShowBattlefieldList|ShowBattlefieldList]]
 
* [[API ShowBattlefieldList|ShowBattlefieldList]]
 
* '''[[API ShowBuybackSellCursor|ShowBuybackSellCursor]]'''
 
* '''[[API ShowBuybackSellCursor|ShowBuybackSellCursor]]'''
 
* [[API ShowCloak|ShowCloak]]
 
* [[API ShowCloak|ShowCloak]]
 
* [[API ShowContainerSellCursor|ShowContainerSellCursor]]
 
* [[API ShowContainerSellCursor|ShowContainerSellCursor]]
  +
* [[API ShowFriendNameplates|ShowFriendNameplates]]
 
* [[API ShowFriends|ShowFriends]]
 
* [[API ShowFriends|ShowFriends]]
 
* [[API ShowHelm|ShowHelm]]
 
* [[API ShowHelm|ShowHelm]]
Line 949: Line 963:
 
* [[API StrafeRightStop|StrafeRightStop]]
 
* [[API StrafeRightStop|StrafeRightStop]]
 
* [[API Stuck|Stuck]]
 
* [[API Stuck|Stuck]]
  +
* [[API SubmitNumbers|SubmitNumbers]]
 
* [[API SwapRaidSubgroup|SwapRaidSubgroup]]
 
* [[API SwapRaidSubgroup|SwapRaidSubgroup]]
 
* [[API TakeInboxItem|TakeInboxItem]]
 
* [[API TakeInboxItem|TakeInboxItem]]
Line 1,047: Line 1,062:
 
* [[API UnitPVPRank|UnitPVPRank]]
 
* [[API UnitPVPRank|UnitPVPRank]]
 
* [[API UnitPlayerControlled|UnitPlayerControlled]]
 
* [[API UnitPlayerControlled|UnitPlayerControlled]]
  +
* [[API UnitPlayerOrPetInParty|UnitPlayerOrPetInParty]]
  +
* [[API UnitPlayerOrPetInRaid|UnitPlayerOrPetInRaid]]
 
* [[API UnitPowerType|UnitPowerType]]
 
* [[API UnitPowerType|UnitPowerType]]
 
* [[API UnitRace|UnitRace]]
 
* [[API UnitRace|UnitRace]]
Line 1,105: Line 1,122:
 
* [[API ipairs|ipairs]]
 
* [[API ipairs|ipairs]]
 
* [[API ldexp|ldexp]]
 
* [[API ldexp|ldexp]]
* '''[[API loadstring|loadstring]]'''
+
* [[API loadstring|loadstring]]
 
* [[API log|log]]
 
* [[API log|log]]
 
* [[API log10|log10]]
 
* [[API log10|log10]]

Revision as of 11:46, August 28, 2006

This page contains automatically generated and alphabetically sorted lists of global functions usable in the World of Warcraft scripting engine. It does not and will not contain short descriptions, please see the World of Warcraft API for that.

Its main purpose is to be an authorative (insofar that this is possible) list of what functions actually exist, and a source to select from when editing the World of Warcraft API page.

Changes

This list is current as of patch 1.11.0. For a complete description of changes, see http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=343889&p=1

Changes from 1.10.x to 1.11.0

The following functions are new:

Main Game Functions

This is a list of global functions internal to WoW that are exposed to Lua scripts. The list also includes standard global Lua functions as well as those global functions that map to standard Lua library functions.

Functions in bold are not on the World of Warcraft API page as of 28 Aug 2006

Lua Defined Functions

Following are some useful global functions defined in the Blizzard FrameXML Lua files. Not all of these make sense to document on the World of Warcraft API page, but the automatic scanning tools don't know that. Pick with some care.

Functions in bold are not on the World of Warcraft API page as of 22 June 2006

Around Wikia's network

Random Wiki