Thread Tools Display Modes
07-19-14, 11:12 PM   #1
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
New API Usage

Most likely incomplete, pulled from exe strings


Code:
<widget>:CGTooltip_SetCurrencyTokenByID(currencyID)
<widget>:EquipItem(itemID)
<widget>:SetAtlas("atlasName")
<widget>:SetAtlas("atlasName"[, useAtlasSize])
<widget>:SetBlingTexture(file, [r, g, b, a])
<widget>:SetCompareItem(shoppingTooltipTwo, primaryMouseover)
<widget>:SetCooldown(start, duration)
<widget>:SetCooldownDuration(duration)
<widget>:SetCooldownUNIX(start, duration)
<widget>:SetCreatureData(creatureID)
<widget>:SetEdgeTexture(file, [r, g, b, a])
<widget>:SetFacingLeft(isFacingLeft)
<widget>:SetFromAlpha(from)
<widget>:SetFromScale(x, y)
<widget>:SetHideCountdownNumbers(doHide)
<widget>:SetMask("maskName")
<widget>:SetPanDistance(scale)
<widget>:SetQuestBlobOutsideSelectedTexture("file")
<widget>:SetSwipeColor(r, g, b, [a])
<widget>:SetSwipeTexture(file, [r, g, b, a])
<widget>:SetTargetDistance(scale)
<widget>:SetToAlpha(change)
<widget>:SetToScale(x, y)
<widget>:SetToyByItemID(ID)
<widget>:SetVoidItem(tab, slot)
<widget>:StartPan(panType, timeInSeconds[, doFade, visualKitID])

AcceptInvite(resultID)
AddFollowerToMission(missionID, followerID)
AdjustFadeTimes(fadeIn, fadeOut)
ApplyToGroup(resultID, comment, tankOK, healerOK, damageOK)
AssignFollowerToBuilding(plotInstanceID, followerID)
BNSummonFriendByIndex(friendIndex)
BreakUpLargeNumbers(schoolMask)
C_LFGList.CreateListing(lfgID, "groupName", itemLevel, "voiceChat", "comment")
C_LFGList.UpdateListing(lfgID, "groupName", itemLevel, "voiceChat", "comment")
C_Questline.GetQuestlineInfoByIndex(index)
C_TaskQuest.GetQuestDataByQuestID(id)
C_TaskQuest.GetQuestObjectiveStrByQuestID(id)
C_TaskQuest.GetQuestsForPlayerByMapID(id)
C_Timer.After(seconds, func)
CancelApplication(resultID)
CancelConstruction(plotInstanceID)
CanOpenMissionChest(missionID)
CastSpellOnFollower(followerID)
ClosestGameObjectPosition(gameObjectID)
ClosestUnitPosition(creatureID)
CopyAccountCharacterFromLive(index)
DeclineApplicant(applicantID)
DeclineInvite(resultID)
GetAccountCharacterInfo(index)
GetActivityGroupInfo(groupID)
GetActivityInfo(activityID)
GetAddOnEnableState("character", index or "name")
GetApplicantData(applicantID)
GetApplicantMemberInfo(applicantID, memberIndex)
GetApplicantMemberStats(applicantID, memberIndex)
GetApplicationInfo(resultID)
GetAtlasInfo("atlasName")
GetAvailableActivityGroups(categoryID[, filter])
GetBagSlotFlag(index, flagIndex)
GetBankBagSlotFlag(index, flagIndex)
GetBasicMissionInfo(missionID)
GetBonusStepRewardQuestID(stepIndex
GetBuffedFollowersForMission(missionID)
GetBuildingInfo(buildingID)
GetBuildingsForPlot(plotInstanceID)
GetBuildingsForSize(uiCategoryID)
GetBuildingTimeRemaining(plotInstanceID)
GetBuildingTooltip(buildingID)
GetBuildingUpgradeInfo(buildingID)
GetCollectedFilterSetting(flag)
GetContinentName(continentIndex)
GetCriteriaInfo(criteriaIndex
GetCriteriaInfoByStep(stepIndex, criteriaIndex
GetCurrentLevelDraenorTalent(level)
GetEquipmentSetIgnoreSlots("setName" [, returnTable])
GetExtendedBuffedFollowersForMission(missionID)
GetFollowerAbilities(guid|id)
GetFollowerAbilityAtIndex(followerID, index)
GetFollowerAbilityAtIndexByID(garrFollowerID, index)
GetFollowerAbilityCounterMechanic(garrAbilityID)
GetFollowerAbilityDescription(garrAbilityID)
GetFollowerAbilityIcon(garrAbilityID)
GetFollowerAbilityIsTrait(garrAbilityID)
GetFollowerAbilityLink(abilityID)
GetFollowerAbilityName(garrAbilityID)
GetFollowerClassSpec(followerID)
GetFollowerClassSpecAtlas(garrSpecID)
GetFollowerClassSpecByID(garrFollowerID)
GetFollowerClassSpecName(garrFollowerID)
GetFollowerDisplayID(followerID)
GetFollowerDisplayIDByID(garrFollowerID)
GetFollowerInfo(guid|id)
GetFollowerItemLevelAverage(followerID)
GetFollowerItems(followerID)
GetFollowerLevel(followerID)
GetFollowerLevelXP(followerID)
GetFollowerLink(followerID)
GetFollowerLinkByID(garrFollowerID)
GetFollowerMissionCompleteInfo(followerID)
GetFollowerModelItems(followerID)
GetFollowerName(missionID, followerID)
GetFollowerNameByID(garrFollowerID)
GetFollowerPortraitIconIDByID(garrFollowerID)
GetFollowerQuality(followerID)
GetFollowerSourceText(garrFollowerID)
GetFollowerStatus(followerID)
GetFollowerTraitAtIndex(followerID, index)
GetFollowerTraitAtIndexByID(garrFollowerID, index)
GetFollowerXP(followerID)
GetFollowersTraitsForMission(missionID)
GetGuildChallengeInfo(index)
GetGuildRosterLastOnline(index)
GetInspectArenaData(armor, attackerLevel)
GetIsFavorite(index)
GetIsFavorite(itemID)
GetLandingPageShipmentInfo(buildingID)
GetLFDRoleLockInfo(dungeonID, roleID)
GetLFGInviteRoleRestrictions(role)
GetLooseMacroIcons([table])
GetLooseMacroItemIcons([table])
GetMapSubzones(mapID)
GetMissionChance(missionID)
GetMissionCompleteEncounters(missionID)
GetMissionInfo(missionID)
GetMissionLink(missionID)
GetMissionMaxFollowers(garrMissionID)
GetMissionName(garrMissionID)
GetMissionRewardInfo(garrMissionID)
GetMissionTimes(missionID)
GetMissionUncounteredMechanicsForEncounter(missionID)
GetOwnedBuildingInfo(plotInstanceID)
GetOwnedBuildingInfoAbbrev(plotInstanceID)
GetPartyBuffs(missionID)
GetPartyMissionInfo(missionID)
GetPendingShipmentInfo(index)
GetPetActionCooldown(index)
GetPetInfoByID(petGUID)
GetPlotsForBuilding(buildingID)
GetPossibleFollowersForBuilding(plotInstanceID)
GetProgressBarPercent(questID)
GetQuestFactionGroup(questID
GetQuestLogTaskInfo(index)
GetQuestObjectiveInfo(questID, index)
GetQuestPOIBlobCount(questID)
GetQuestPOIs([table])
GetQuestTag(questID)
GetQuestWatchInfo(index)
GetRealmInfo(category, index)
GetRecruitAbilities(index)
GetRecruiterAbilityList(traits)
GetSearchResultEncounterInfo(resultID)
GetSearchResultFriends(resultID)
GetSearchResultMemberCounts(resultID)
GetSearchResultMemberInfo(resultID, memberIdx)
GetSearchResultInfo(resultID)
GetSetBonusesForSpecializationByItemID(specID, itemID)
GetShipmentReagentInfo(reagentIndex)
GetShipmentReagentItemLink(reagentIndex)
GetSpecializationInfoByID(specID[, sex])
GetSpellsForCharacterUpgradeTier(tierIndex)
GetTabForPlot(plotInstanceID)
GetTalentInfoByID(talentID, groupIndex [, isInspect, inspectUnit])
GetTalentInfoBySpecialization(specIndex, tier, column)
GetTaskInfo(questID)
GetTaskPOIs([table])
GetTasksTable([table])
GetToyFromIndex(itemIndex)
GetToyInfo(itemID)
GetToyLink(itemID)
GetVoidStorageSlotPageIndex(slot)
GetWorldLocFromMapPos(x, y)
HasAction(slot)
HaveQuestData(questID
InviteApplicant(applicantID)
IsBagSlotFlagEnabledOnOtherBags(index, flagIndex)
IsBagSlotFlagEnabledOnOtherBankBags(index, flagIndex)
IsBreadcrumbQuest(questID)
IsFollowerCollected(garrFollowerID)
IsFollowerUnique(dbID)
IsLegacyDifficulty(difficultyID)
IsMapGarrisonMap(mapAreaID)
IsQuestComplete(questID
IsQuestHardWatched(index)
IsQuestSequenced(questID
IsQuestTask(questID)
IsSourceTypeFiltered(sourceIndex)
IsStoryQuest(questID)
IsUnitOnQuestByQuestID(questID, "unit")
JoinSkirmish(id, joinAsGroup)
MarkMissionComplete(missionID)
MissionBonusRoll(missionID)
MonumentChangeAppearanceToTrophyID(trophyID)
MonumentSaveSelection(trophyID)
PickupToyBoxItem(itemID)
PlaceBuilding(plotInstanceID, buildingID)
PlayerHasToy(itemID)
QuestHasPOIInfo(questID)
QuestPOIGetSecondaryLocations(questID, [table])
ReagentBankButtonIDToInvSlotID(buttonID)
RecruitFollower(dbID)
RecruitFollower(followerIndex)
RecruitFollower(followerIndex) where 0 <= followerIndex < %d
RemoveApplicant(applicantID)
RemoveFollowerFromMission(missionID, followerID)
ReportApplicant(applicantID, complaintType[, applicantMember])
ReportSearchResult(resultID, complaintType)
ResetView(viewModeIndex)
Script_GetSpecializationReadinessSpell(specIndex[, isInspect[, isPet]])
Search(categoryID, "query"[, filter[, preferredFilters]]
SearchForFollower(guid|id, searchString)
SetAnimOffset(offset)
SetApplicantMemberRole(applicantID, memberIdx, "ROLE")
SetBackpackAutosortDisabled(disable)
SetBagSlotFlag(index, flagIndex, checked)
SetBankAutosortDisabled(disable)
SetBankBagSlotFlag(index, flagIndex, checked)
SetBuildingActive(plotInstanceID)
SetCollectedFilterSetting(flag, value)
SetCurrentGraphicsSetting(setting{0=normal, 1=raid/BG})
SetFilterCollected(true|false)
SetFilterSourceType(sourceIndex, value)
SetFilterString(string)
SetFilterUncollected(true|false)
SetFollowerFavorite(followerID, true/false)
SetFollowerInactive(followerID, true/false)
SetHeightFactor(factor)
SetInsertItemsLeftToRight(disable)
SetIsFavorite(index, value)
SetIsFavorite(itemID, value)
SetJumpInfo(length, height)
SetLegacyRaidDifficultyID(difficultyID[, force])
SetMapZoom(continentIndex [,zoneIndex]) .. requested continent out of bounds
SetRecruitmentPreferences(mechanicTypeID, traitID)
SetSortBagsRightToLeft(disable)
SetSpellVisualKit(kitID)
SetUsingPartyGarrison(enabled)
SortRealms("type")
SpellIsAlwaysShown(spellID)
StartMission(missionID)
SwapBuildings(plotInstanceID1, plotInstanceID2)
UndeleteCharacter(guid)
UnitBonusArmor("unit")
UnitDistanceSquared("unit")
UnitPosition("unit")
UpgradeBuilding(plotInstanceID)
UseToy(itemID)
UseToyByName(toyName)

strcmputf8i(string1, string2)

hasLoot, canLoot = CanLootUnit(unitGUID)
value = GetDefaultVideoQualityOption("cvar", [, qualityLevel] [, defaultValue] [, isRaid])
tank, healer, dps = GetLFDRoleRestrictions(dungeonID)
unlocked, alert = GetLFGInviteRoleAvailability(role)

Last edited by p3lim : 09-19-14 at 12:51 AM. Reason: Updated for build 18898
 
07-20-14, 10:01 AM   #2
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
It's very useful that you share the information from Wowpedia here, and even info from the exe strings
This makes me think it's amazing that Blizzard still actively develops this game and user interface after almost 10 years

Keep up the good work p3lim =)
 
08-04-14, 11:43 PM   #3
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Changes from 18566 to 18663

Code:
<cooldown>:SetSwipeColor(r, g, b, [a])
GetBuffedFollowersForMission(missionID)
GetFollowerStatus(followerID)
GetFollowersTraitsForMission(missionID)
GetGuildChallengeInfo(index)
GetMissionUncounteredMechanicsForEncounter(missionID)
GetPartyMissionInfo(missionID)
SetCurrentGraphicsSetting(setting{0=normal, 1=raid/BG})
strcmputf8i(string1, string2)

StopSound(soundHandleID, [optional: fadeout time in ms])

GetExtendedBuffedFollowersForMission(missionID)
GetLandingPageShipmentInfo(index)
StopSound(soundHandleID)
UnitGetGuildLevel("unit")
UnitGetGuildXP("unit")

Last edited by p3lim : 08-04-14 at 11:48 PM.
 
08-07-14, 03:20 AM   #4
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Changes in 18689:

Code:
GetFollowerName(missionID, followerID)
UnitDistanceSquared("unit")
UnitPosition("unit")

hasLoot, canLoot = CanLootUnit(unitGUID)
 
08-07-14, 04:01 AM   #5
Cybeloras
A Fallenroot Satyr
 
Cybeloras's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 28
Unfortunately, UnitDistanceSquared only works on group members (party and raid). It does exactly what you would expect - returns the square of the distance to the unit in yards. Its second return is false if the unit cannot be checked.

UnitPosition has the same restrictions. It returns exact x, y, z, mapID coordinates for any group members (and yourself). For example, right now in Ashran I'm getting (4000.6, -4066.8, 1047687, 1191) as the return values.

These do have quite the interesting implications, even if they don't work on hostiles, pets, or ungrouped players.
 
08-07-14, 07:08 AM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Cybeloras View Post
Unfortunately, UnitDistanceSquared only works on group members (party and raid).
I'd be pretty surprised if it were any other way, as Blizzard has made it abundantly clear over the years that they don't want addons having access to the locations of mobs or enemy players. With an accurate distance, you could easily triangulate the position.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
 
09-11-14, 12:33 PM   #7
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Changes from 18837 to 18850:

Code:
<widget>:SetQuestBlobOutsideSelectedTexture("file")
GetAddOnEnableState("character", index or "name")
GetAddOnDependencies(index)
 
09-15-14, 12:03 PM   #8
WarlockD
A Kobold Labourer
Join Date: Sep 2014
Posts: 1
Side note, strcmputf8i is restricted.

Wanted to try it out because it sounded so stupid since you have a string library.
 
09-21-14, 11:07 AM   #9
sylvanaar
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 92
Originally Posted by p3lim View Post
Changes from 18837 to 18850:

Code:
<widget>:SetQuestBlobOutsideSelectedTexture("file")
GetAddOnEnableState("character", index or "name")
GetAddOnDependencies(index)
GetAddonEnableState(character|nil, index|name), returns 0 = disabled, 1 = enabled for some, 2= enabled for all
 
 

WoWInterface » Site Forums » Archived Beta Forums » WoD Beta archived threads » New API Usage


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