Thread Tools Display Modes
08-11-08, 04:05 AM   #1
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
API functions WofLK

NEW API functions from WotLK Beta - extracted from wow.exe
I'm pretty sure I missed some or that are some old in the list. But it's better than nothing I guess.

AbandonQuest()
AcceptSockets()
AddAchievementComparisonUnit()
AppendToFile()
ApplyBarberShopStyle()
AutoStoreGuildBankItem(tab, slot)
GetTradeSkillInvSlotFilter()
BarberShopReset()
BuyPetition(index, name)
CalendarAddEvent()
CalendarCanSendInvite()
CalendarContextEventClipboard()
CalendarContextEventCopy()
CalendarContextEventIsGuildWide([-1,0,1], monthDay, index)
CalendarContextEventPaste()
CalendarContextEventRemove()
CalendarContextInviteAvailable([-1,0,1], monthDay, index)
CalendarContextInviteDecline([-1,0,1], monthDay, index)
CalendarContextInviteIsPending([-1,0,1], monthDay, index)
CalendarContextInviteModeratorStatus([-1,0,1], monthDay, index)
CalendarContextInviteRemove([-1,0,1], monthDay, index)
CalendarContextInviteStatus([-1,0,1], monthDay, index)
CalendarCopyEvent()
CalendarDefaultGuildFilter()
CalendarEvenSettLockoutTime(hour, minute)
CalendarEventAvailable()
CalendarEventCanComplain([-1,0,1], monthDay, index)
CalendarEventClearAutoApprove()
CalendarEventClearLocked()
CalendarEventClearModerator(index)
CalendarEventComplain([-1,0,1], monthDay, index)
CalendarEventDecline()
CalendarEventGetInvite(index)
CalendarEventGetInviteSortCriterion()
CalendarEventGetNumInvites()
CalendarEventGetRepeatOptions()
CalendarEventGetStatusOptions()
CalendarEventGetTextures(eventType)
CalendarEventGetTypes()
CalendarEventHasPendingInvite()
CalendarEventHaveSettingsChanged()
CalendarEventInvite()
CalendarEventIsGuildWide()
CalendarEventIsModerator()
CalendarEventRemoveInvite(index)
CalendarEventSetAutoApprove()
CalendarEventSetDate(month, day, year)
CalendarEventSetDescription()
CalendarEventSetLocked()
CalendarEventSetLockoutDate(month, day, year)
CalendarEventSetLockoutTime()
CalendarEventSetModerator(index)
CalendarEventSetRepeatOption()
CalendarEventSetSize()
CalendarEventSetStatus(index, status)
CalendarEventSetTextureID(textureIndex)
CalendarEventSetTime(hour, minute)
CalendarEventSetTitle()
CalendarEventSetType()
CalendarEventSortInvites("criteria", reverse)
CalendarGetAbsMonth(month[, year])
CalendarGetFirstPendingInvite()
CalendarGetMaxDate()
CalendarGetMinDate()
CalendarGetMinHistoryDate()
CalendarGetMonthNames()
CalendarGetNumPendingInvites()
CalendarGetRaidResetInfo([-1,0,1], monthDay, index)
CalendarGetWeekdayNames()
CalendarNewArenaTeamEvent(index)
CalendarNewEvent()
CalendarNewGuildEvent(minLevel, maxLevel, minRank)
CalendarNewGuildWideEvent()
CalendarRemoveEvent()
CalendarSetAbsMonth(month[, year])
CalendarSetMonth(offsetMonths)
CalendarUpdateEvent()
CancelBarberShop()
CancelDuel()
CanEditGuildEvent()
CanEditGuildTabInfo(tab)
CanGuildBankRepair()
ChangeActionBarPage() needs a page in the range 1 to %d
ClickPetitionButton()
ClickSocketButton(index)
CloseArenaTeamRoster()
ClosePetitionVendor()
CloseSocketInfo()
CollapseAllHeaders()
CollapseQuestHeader(index)
(mapIndex)
ExpandAllHeaders()
ExpandCurrencyList(index,expand)
ExpandQuestHeader(index)
GetAbandonQuestItems()
GetAbandonQuestName()
GetAchievementCategory()
GetAchievementComparisonInfo()
GetAchievementComparisonUnitInfo()
GetAchievementCrieriaInfo(achievementID, criteriaIndex)
GetAchievementCriteriaInfo()
GetAchievementInfo()
GetAchievementInfoFromCriteria(criteriaID)
GetAchievementLink(achievementID)
GetAchievementNumCriteria()
GetAchievementNumRewards()
GetAchievementReward()
GetActionAutocast(slot)
GetActionBarPage()
GetActionBarToggles()
GetActionCooldown(slot)
GetActionCount(slot)
GetActionInfo(slot)
GetActionText(slot)
GetActionTexture(slot)
GetArenaCurrency()
GetArenaTeam(team)
GetArenaTeamRosterInfo(team, index)
GetArenaTeamRosterSelection(team)
GetArenaTeamRosterShowOffline()
GetArmorPenetration()
GetAttackPowerForStat()
GetAuctionInvTypes(classIndex, subClassIndex)
GetAuctionItemInfo("type", index)
GetAuctionItemSubClasses(index)
GetAuctionItemTimeLeft("type", index)
GetAuctionSort("type", "index")
GetBarberShopInfo(type)
GetBarberShopStyleInfo()
GetBarberShopTotalCost()
GetBonusBarOffset()
GetCategoryInfo(categoryID)
GetCategoryList()
GetCategoryNumAchievements(categoryID)
GetComparisonAchievementPoints()
GetComparisonCategoryNumAchievements(categoryID)
GetComparisonStatistic(achievementID)
GetContainerFreeSlots(index)
GetContainerItemDurability(index, slot)
GetCritChanceFromAgility("unit")
GetCriteriaComparisonInfo(achievementID, criteriaIndex, comparisonIndex)
GetCurrencyListInfo(index)
GetCurrencyListSize()
GetCurrentArenaSeason()
GetExistingSocketInfo(index)
GetExistingSocketLink(index)
GetExpertise()
GetExpertisePercent()
GetGlyphSocketInfo(index)
GetGuildBankText(tab)
GetGuildBankWithdrawMoney()
GetInspectArenaTeamData(index)
GetInventoryItemDurability(slot)
GetInventoryItemsForSlot(slot [, returnTable])
GetItem()
GetLatestCompletedAchievements()
GetLatestCompletedComparisonAchievements()
GetLatestUpdatedComparisonStats()
GetLatestUpdatedStats()
GetManaRegen()
GetMoney()
GetNewSocketInfo(index)
GetNewSocketLink(index)
GetNextAchievement(achievementID)
GetNumArenaTeamMembers(team [,showOffline])
GetNumAuctionItems("type")
GetNumComparisonCompletedAchievements()
GetNumCompletedAchievements()
GetNumGlyphSockets()
GetNumPetitionItems()
GetNumQuestLogChoices()
GetNumQuestLogEntries()
GetNumQuestLogRewards()
GetNumSockets()
GetParryChance()
GetPetitionItemInfo(index)
GetPetTalentPoints()
GetPowerRegen()
GetPreviousAchievement(achievementID)
GetQuestIndexForTimer(index)
GetQuestLogChoiceInfo()
GetQuestLogPushable()
GetQuestLogQuestText()
GetQuestLogRequiredMoney()
GetQuestLogRewardHonor()
GetQuestLogRewardInfo(index)
GetQuestLogRewardMoney()
GetQuestLogRewardSpell()
GetQuestLogRewardTalents()
GetQuestLogRewardTitle()
GetQuestLogSelection()
GetQuestLogSpellLink()
GetQuestLogTimeLeft()
GetQuestResetTime()
GetQuestTimers()
GetRangedCritChance()
GetResSicknessDuration()
GetRuneCount(slot)
GetSelectedAuctionItem("type")
GetShieldBlock()
GetSocketItemInfo()
GetSocketType(index)
GetSocketTypes()
GetSpell()
GetSpellBonusDamage(school)
GetSpellBonusHealing()
GetSpellCritChance(school)
GetSpellCritChanceFromIntellect("unit")
GetSpellPenetration()
GetStatistic(achievementID)
GetStatisticsCategoryList()
GetTotalAchievementPoints()
GetTrackedAchievement()
GetTradeReagentSkillItemLink(index, reagentIndex)
GetTradeSkillItemLevelFilter()
GetTradeSkillItemNameFilter()
GetTradeSkillListLink()
GetUnit()
GetUnitHealthModifier("unit")
GetUnitHealthRegenRateFromSpirit("unit")
GetUnitManaRegenRateFromSpirit("unit")
GetUnitMaxHealthModifier("unit")
GetUnitPitch("unit")
GetUnitPowerModifier("unit")
GetUnitSpeed("unit")
GetVehicleSeatCount("unit")
GlyphMatchesSocket(socketIndex)
HasAction(slot)
HasFilledPetition()
HasFullControl()
Invalid resistance index in UnitResistance()
Invalid stat index in UnitStat()
IsActionInRange()
IsArenaTeamCaptain(index)
IsAttackAction(slot)
IsAuctionSortReversed("type", "sort")
IsAutorepeatAction(slot)
IsConsumableAction(slot)
IsCurrentAction(slot)
IsCurrentQuestFailed()
IsEquippedAction(slot)
IsFalling()
IsFlyableArea()
IsFlying()
IsInArenaTeam()
IsIndoors()
IsLoggedIn()
IsMounted()
IsOutdoors()
IsOutOfBounds()
IsPossessBarVisible()
IsResting()
IsStackableAction(slot)
IsStealthed()
IsSwimming()
IsTradeSkillLinked()
IsUnit()
IsUsableAction(slot)
MakeMinigameMove(moveType, param)
NotifyUnitIsPVPAFK("unit")
PickupAction(slot)
PickupContainerItem(index, slot)
PlaceAction(slot)
PlaceAuctionBid("type", index, bid)
PlaceGlyphInSocket(index)
ProcessCountdown()
PutItemInBackpack()
PutItemInBag()
QueryGuildBankText()
QuestBagButtonIDToInvSlotID(buttonID)
QuestLogPushQuest()
ReadFile()
RemoveAchievementComparisonUnit()
RemoveGlyphFromSocket(index)
RemoveSkillUp(index)
ReportPlayerIsPVPAFK()
SaveGuildRoster()
Script_AddAchievementComparisonUnit(unitToken)
Script_CalendarContextEventCopy([-1,0,1], monthDay, index)
Script_CalendarContextEventPaste([-1,0,1], monthDay)
Script_CalendarContextEventRemove([-1,0,1], monthDay, index)
Script_GetAchievementCategory(achievementID)
Script_GetAchievementComparisonInfo(achievementID)
Script_GetAchievementInfo(achievementID)
Script_GetAchievementNumCriteria(achievementID)
(achievementID)
Script_GetAchievementNumRewards(achievementID, rewardIndex)
Script_GetAttackPowerForStat(stat, value)
Script_GetRuneType(slot)
Script_RemoveAchievementComparisonUnit(unitToken)
Script_SetGuildBankWithdrawLimit(amount)
SelectQuestLogEntry(index)
SetAbandonQuest()
SetAction(slot)
SetActionBarToggles()
SetArenaTeamRosterSelection(team, index)
SetArenaTeamRosterShowOffline()
SetAuctionItem("type", index)
SetAuctionSellItem()
SetBagItem()
SetBagPortraitTexture(texture, slot)
SetBuybackItem(slot)
SetCooldown()
SetCurrencyBackpack(index,backpack)
SetCurrencyToken(index)
SetCurrencyUnused(index,unused)
SetCurrentTab(tab)
SetExistingSocketGem()
SetFactionActive(index)
SetFactionInactive(index)
SetGlyph(glyphSlot)
SetGuildBankItem()
SetGuildBankText(tab, text)
SetGuildTabPermissions(tab, index, enabled)
SetHyperlink()
SetHyperlinkCompareItem("hyperlink" [, offset])
SetInboxItem(messageIndex, attachmentIndex)
SetInventoryItem(unit, slot [, nameOnly])
SetInventoryPortraitTexture(texture, unit, slot)
SetLootItem()
SetLootRollItem(id)
SetMerchantCostItem()
SetMerchantItem()
SetNextBarberShopStyle(type[, backward])
SetPetAction(slot)
(characterModel)
SetPossession(slot)
SetQuestItem()
SetQuestLogItem()
SetQuestLogRewardSpell()
SetQuestRewardSpell()
SetReverse()
("type", index)
SetSelectedAuctionItem(index)
SetSelectedFaction(index)
SetSelectedSkill(index)
SetSendMailItem()
SetShapeshift(slot)
SetSocketedItem()
(index)
SetSocketGem(index, [toDestroy])
SetSpell()
SetTalent(tabIndex, talentIndex [,isInspect] [,isPet])
SetTotem()
SetTrackedAchievement(achievementID)
SetTradePlayerItem()
SetTradeSkillItem()
SetTradeSkillItemLevelFilter(minLevel, maxLevel)
SetTradeSkillItemNameFilter()
SetTradeTargetItem()
SetTrainerService()
SetUnit("unit")
SetUnitAura("unit", [index] or ["name", "rank"][, "filter"])
SetUnitBuff("unit", [index] or ["name", "rank"][, "filter"])
SetUnitDebuff("unit", [index] or ["name", "rank"][, "filter"])
SetWatchedFactionIndex(index)
ShowContainerSellCursor(index, slot)
ShowInventorySellCursor()
SocketContainerItem(index, slot)
SocketInventoryItem()
SortArenaTeamRoster("type")
SortAuctionAddSort("type", "sort", "reverse")
SortAuctionApplySort("type")
SortAuctionClearSort("type")
SortAuctionItems("type", "sort")
SpaceDeathUniversal()
StartAuction(minBid, buyoutPrice, runTime)
StartDuel()
StopTradeSkillRepeat()
TicTacToe()
TradeSkillOnlyShowMakeable()
TurnInArenaPetition(teamSize)
TurnInPetition()
UnitAura("unit", [index] or ["name", "rank"][, "filter"])
UnitClassBase("unit")
UnitControllingVehicle()
UnitDetailedThreatSituation("unit" [, "mob"])
UnitHasVehicleUI()
UnitInBattleground()
UnitInVehicle()
UnitIsInMyGuild("name")
UnitIsPossessed()
UnitIsPVPSanctuary()
UnitIsRaidOfficer()
UnitIsSameServer("unit", "otherUnit")
UnitPower("unit"[, index])
UnitPowerMax("unit"[, index])
UnitRaceBase("unit")
UnitSwitchToVehicleSeat()
UnitThreatSituation("unit" [, "mob"])
UnitVehicleSeatCount()
UnitVehicleSeatInfo()
Usage(RenamePetition
UseAction(slot, [, target] [, button])
UseContainerItem(index, slot[, target])
WithdrawGuildBankMoney(money)

Last edited by Duugu : 08-11-08 at 04:29 AM.
  Reply With Quote
08-11-08, 05:21 AM   #2
Shirik
Blasphemer!
Premium Member
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2007
Posts: 818
Out of curiosity, is there any particular reason you analyzed wow.exe instead of the associated MPQs to find these?
__________________
たしかにひとつのじだいがおわるのお
ぼくはこのめでみたよ
だけどつぎがじぶんおばんだってことわ
しりたくなかったんだ
It's my turn next.

Shakespeare liked regexes too!
/(bb|[^b]{2})/
  Reply With Quote
08-11-08, 06:18 AM   #3
dafire
Premium Member
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 216
I think a diff would be more interesting then such a plain list :9
  Reply With Quote
08-11-08, 07:13 AM   #4
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Of course there is: I didn't know that there are any function descriptions inside of mpq's
Where do I find them?

Originally Posted by Shirik View Post
Out of curiosity, is there any particular reason you analyzed wow.exe instead of the associated MPQs to find these?
  Reply With Quote
08-11-08, 07:14 AM   #5
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
There is no difference. They are new.

Originally Posted by dafire View Post
I think a diff would be more interesting then such a plain list :9
  Reply With Quote
08-11-08, 10:52 AM   #6
LBXZero
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 61
Hmm. I almost feel like dumping _G to file. Fun to watch the screen freeze for a minute.
  Reply With Quote
08-11-08, 11:27 AM   #7
lilsparky
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 117
Originally Posted by Duugu View Post
There is no difference. They are new.
it'd be nice to see which old ones are no longer supported. i know all the craft stuff seems to be gone finally (enchanting is now using the tradeskill api -- not sure about pet training).
  Reply With Quote
08-11-08, 11:42 AM   #8
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
*shrug*

Originally I looked for the new events and came across the api functions. So I decided to copy them too. This was just simple copy and paste job ... so use it or not - doesn't matter for me.

dumping _G to file
doh
Great thought. Wish it would come from me. ;D
But this won't reveal the parameters? Or not?

Would still love to hear which MPQs Shirik was talking about.

Last edited by Duugu : 08-11-08 at 11:44 AM.
  Reply With Quote
08-11-08, 12:06 PM   #9
LBXZero
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 61
Originally Posted by Duugu View Post
*shrug*

Great thought. Wish it would come from me. ;D
But this won't reveal the parameters? Or not?
It does not reveal parameter. But you can figure out with are API functions and try to search for them specifically.

Quick warning about collecting the global data, it made a save file that is 184,406 KB on my drive. Yes, 180 MB. Well, the real global index is half of that because _G is in the index too.

After I added a filter to find only functions, there are 3819 functions set with global names. I got an excel spreadsheet with that list. This includes the functions for the Blizzard UI frames and some lua functions

Last edited by LBXZero : 08-11-08 at 07:58 PM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » API functions WofLK

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off