Quantcast Added/removed API from live (18414) to build 18566 - WoWInterface
 
Thread Tools Display Modes
07-19-14, 10:34 PM   #1
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,618
Added/removed API

Widget methods are not included in this.

New API:
Code:
AntiAliasingSupported
AutoChooseCurrentGraphicsSetting
BNSummonFriendByIndex
BuyReagentBank
C_Garrison.AddFollowerToMission
C_Garrison.AssignFollowerToBuilding
C_Garrison.CanGenerateRecruits
C_Garrison.CanOpenMissionChest
C_Garrison.CanSetRecruitmentPreference
C_Garrison.CanUpgradeGarrison
C_Garrison.CancelConstruction
C_Garrison.CastSpellOnFollower
C_Garrison.CloseArchitect
C_Garrison.CloseGarrisonTradeskillNPC
C_Garrison.CloseMissionNPC
C_Garrison.CloseRecruitmentNPC
C_Garrison.CloseTradeskillCrafter
C_Garrison.GenerateRecruits
C_Garrison.GetAvailableMissions
C_Garrison.GetAvailableRecruits
C_Garrison.GetBasicMissionInfo
C_Garrison.GetBuffedFollowersForMission
C_Garrison.GetBuildingInfo
C_Garrison.GetBuildingLockInfo
C_Garrison.GetBuildingSizes
C_Garrison.GetBuildingSpecInfo
C_Garrison.GetBuildingTimeRemaining
C_Garrison.GetBuildingTooltip
C_Garrison.GetBuildingUpgradeInfo
C_Garrison.GetBuildings
C_Garrison.GetBuildingsForPlot
C_Garrison.GetBuildingsForSize
C_Garrison.GetCompleteMissions
C_Garrison.GetFollowerAbilities
C_Garrison.GetFollowerAbilityAtIndex
C_Garrison.GetFollowerAbilityAtIndexByID
C_Garrison.GetFollowerAbilityCounterMechanicInfo
C_Garrison.GetFollowerAbilityDescription
C_Garrison.GetFollowerAbilityIcon
C_Garrison.GetFollowerAbilityIsTrait
C_Garrison.GetFollowerAbilityLink
C_Garrison.GetFollowerAbilityName
C_Garrison.GetFollowerActivationCost
C_Garrison.GetFollowerBiasForMission
C_Garrison.GetFollowerClassSpec
C_Garrison.GetFollowerClassSpecAtlas
C_Garrison.GetFollowerClassSpecByID
C_Garrison.GetFollowerClassSpecName
C_Garrison.GetFollowerDisplayID
C_Garrison.GetFollowerDisplayIDByID
C_Garrison.GetFollowerInfo
C_Garrison.GetFollowerInfoForBuilding
C_Garrison.GetFollowerItemLevelAverage
C_Garrison.GetFollowerItems
C_Garrison.GetFollowerLevel
C_Garrison.GetFollowerLevelXP
C_Garrison.GetFollowerLink
C_Garrison.GetFollowerLinkByID
C_Garrison.GetFollowerMissionCompleteInfo
C_Garrison.GetFollowerModelItems
C_Garrison.GetFollowerName
C_Garrison.GetFollowerNameByID
C_Garrison.GetFollowerPortraitIconIDByID
C_Garrison.GetFollowerQuality
C_Garrison.GetFollowerQualityTable
C_Garrison.GetFollowerSoftCap
C_Garrison.GetFollowerSourceTextByID
C_Garrison.GetFollowerStatus
C_Garrison.GetFollowerTraitAtIndex
C_Garrison.GetFollowerTraitAtIndexByID
C_Garrison.GetFollowerXP
C_Garrison.GetFollowerXPTable
C_Garrison.GetFollowers
C_Garrison.GetFollowersTraitsForMission
C_Garrison.GetGarrisonInfo
C_Garrison.GetGarrisonUpgradeCost
C_Garrison.GetInProgressMissions
C_Garrison.GetLandingPageItems
C_Garrison.GetLandingPageShipmentCount
C_Garrison.GetLandingPageShipmentInfo
C_Garrison.GetMissionCompleteEncounters
C_Garrison.GetMissionDisplayIDs
C_Garrison.GetMissionInfo
C_Garrison.GetMissionLink
C_Garrison.GetMissionMaxFollowers
C_Garrison.GetMissionName
C_Garrison.GetMissionRewardInfo
C_Garrison.GetMissionTimes
C_Garrison.GetMissionUncounteredMechanics
C_Garrison.GetNumActiveFollowers
C_Garrison.GetNumFollowerActivationsRemaining
C_Garrison.GetNumFollowerDailyActivations
C_Garrison.GetNumFollowers
C_Garrison.GetNumFollowersOnMission
C_Garrison.GetNumPendingShipments
C_Garrison.GetNumShipmentReagents
C_Garrison.GetOwnedBuildingInfo
C_Garrison.GetOwnedBuildingInfoAbbrev
C_Garrison.GetPartyBuffs
C_Garrison.GetPartyMissionInfo
C_Garrison.GetPendingShipmentInfo
C_Garrison.GetPlots
C_Garrison.GetPlotsForBuilding
C_Garrison.GetPossibleFollowersForBuilding
C_Garrison.GetRecruitAbilities
C_Garrison.GetRecruiterAbilityCategories
C_Garrison.GetRecruiterAbilityList
C_Garrison.GetRecruitmentPreferences
C_Garrison.GetRewardChance
C_Garrison.GetShipmentContainerInfo
C_Garrison.GetShipmentItemInfo
C_Garrison.GetShipmentReagentCurrencyInfo
C_Garrison.GetShipmentReagentInfo
C_Garrison.GetShipmentReagentItemLink
C_Garrison.GetSpecChangeCost
C_Garrison.GetTabForPlot
C_Garrison.IsAboveFollowerSoftCap
C_Garrison.IsFollowerCollected
C_Garrison.IsFollowerUnique
C_Garrison.IsInvasionAvailable
C_Garrison.IsOnGarrisonMap
C_Garrison.IsUsingPartyGarrison
C_Garrison.IsVisitGarrisonAvailable
C_Garrison.MarkMissionComplete
C_Garrison.MissionBonusRoll
C_Garrison.PlaceBuilding
C_Garrison.RecruitFollower
C_Garrison.RemoveFollower
C_Garrison.RemoveFollowerFromBuilding
C_Garrison.RemoveFollowerFromMission
C_Garrison.RequestGarrisonUpgradeable
C_Garrison.RequestLandingPageShipmentInfo
C_Garrison.RequestShipmentCreation
C_Garrison.RequestShipmentInfo
C_Garrison.SearchForFollower
C_Garrison.SetBuildingActive
C_Garrison.SetBuildingSpecialization
C_Garrison.SetFollowerFavorite
C_Garrison.SetFollowerInactive
C_Garrison.SetRecruitmentPreferences
C_Garrison.SetUsingPartyGarrison
C_Garrison.StartMission
C_Garrison.SwapBuildings
C_Garrison.UpgradeBuilding
C_Garrison.UpgradeGarrison
C_LFGList.AcceptInvite
C_LFGList.ApplyToGroup
C_LFGList.CancelApplication
C_LFGList.ClearSearchResults
C_LFGList.CreateListing
C_LFGList.DeclineApplicant
C_LFGList.DeclineInvite
C_LFGList.GetActiveEntryInfo
C_LFGList.GetActivityGroupInfo
C_LFGList.GetActivityInfo
C_LFGList.GetActivityInfoExpensive
C_LFGList.GetApplicantInfo
C_LFGList.GetApplicantMemberInfo
C_LFGList.GetApplicantMemberStats
C_LFGList.GetApplicants
C_LFGList.GetApplicationInfo
C_LFGList.GetApplications
C_LFGList.GetAvailableActivities
C_LFGList.GetAvailableActivityGroups
C_LFGList.GetAvailableCategories
C_LFGList.GetAvailableRoles
C_LFGList.GetCategoryInfo
C_LFGList.GetNumApplicants
C_LFGList.GetNumApplications
C_LFGList.GetNumInvitedApplicantMembers
C_LFGList.GetRoleCheckInfo
C_LFGList.GetSearchResultEncounterInfo
C_LFGList.GetSearchResultFriends
C_LFGList.GetSearchResultInfo
C_LFGList.GetSearchResultMemberCounts
C_LFGList.GetSearchResultMemberInfo
C_LFGList.GetSearchResults
C_LFGList.HasActivityList
C_LFGList.InviteApplicant
C_LFGList.IsCurrentlyApplying
C_LFGList.RefreshApplicants
C_LFGList.RemoveApplicant
C_LFGList.RemoveListing
C_LFGList.ReportApplicant
C_LFGList.ReportSearchResult
C_LFGList.RequestAvailableActivities
C_LFGList.Search
C_LFGList.SetApplicantMemberRole
C_LFGList.UpdateListing
C_MountJournal.Dismiss
C_MountJournal.GetCollectedFilterSetting
C_MountJournal.GetIsFavorite
C_MountJournal.GetMountInfo
C_MountJournal.GetMountInfoExtra
C_MountJournal.GetNumMounts
C_MountJournal.Pickup
C_MountJournal.SetCollectedFilterSetting
C_MountJournal.SetIsFavorite
C_MountJournal.Summon
C_Questline.GetNumAvailableQuestlines
C_Questline.GetQuestlineInfoByIndex
C_Scenario.GetBonusStepRewardQuestID
C_Scenario.GetBonusSteps
C_Scenario.GetCriteriaInfoByStep
C_Scenario.GetSupersededObjectives
C_Scenario.TreatScenarioAsDungeon
C_TaskQuest.GetQuestObjectiveStrByQuestID
C_TaskQuest.GetQuestTitleByQuestID
C_TaskQuest.GetQuestsForPlayerByMapID
C_Timer.After
C_Timer.NewTicker
C_Timer.NewTimer
C_ToyBox.ClearAllSourceTypesFiltered
C_ToyBox.FilterToys
C_ToyBox.GetFilterCollected
C_ToyBox.GetFilterUncollected
C_ToyBox.GetIsFavorite
C_ToyBox.GetNumFilteredToys
C_ToyBox.GetNumLearnedDisplayedToys
C_ToyBox.GetNumTotalDisplayedToys
C_ToyBox.GetNumToys
C_ToyBox.GetToyFromIndex
C_ToyBox.GetToyInfo
C_ToyBox.GetToyLink
C_ToyBox.HasFavorites
C_ToyBox.IsSourceTypeFiltered
C_ToyBox.PickupToyBoxItem
C_ToyBox.SetAllSourceTypesFiltered
C_ToyBox.SetFilterCollected
C_ToyBox.SetFilterSourceType
C_ToyBox.SetFilterString
C_ToyBox.SetFilterUncollected
C_ToyBox.SetIsFavorite
C_Trophy.MonumentChangeAppearanceToTrophyID
C_Trophy.MonumentCloseMonumentUI
C_Trophy.MonumentGetCount
C_Trophy.MonumentGetSelectedTrophyID
C_Trophy.MonumentGetTrophyInfoByIndex
C_Trophy.MonumentLoadList
C_Trophy.MonumentLoadSelectedTrophyID
C_Trophy.MonumentRevertAppearanceToSaved
C_Trophy.MonumentSaveSelection
C_Vignettes.GetVignetteGUID
CanLootUnit
CheckBagSettingsTutorial
CheckToggleDifficulty
CloseQuestChoice
ClosestGameObjectPosition
ClosestUnitPosition
CommentatorFollowUnit
DepositReagentBank
GMEuropaBugsEnabled
GMEuropaComplaintsEnabled
GMEuropaSuggestionsEnabled
GMEuropaTicketsEnabled
GetActiveLootRollIDs
GetAddOnEnableState
GetAmplify
GetArmorEffectiveness
GetAtlasInfo
GetAvailableAudioLocales
GetAvoidance
GetBackpackAutosortDisabled
GetBagSlotFlag
GetBankAutosortDisabled
GetBankBagSlotFlag
GetBladedArmorEffect
GetCleave
GetContinentName
GetCritChanceProvidesParryEffect
GetCurrentGraphicsSetting
GetCurrentLevelDraenorTalent
GetCurrentMapHeaderIndex
GetCurrentRegion
GetEquipmentSetIgnoreSlots
GetGroupMemberCounts
GetHaste
GetInsertItemsLeftToRight
GetInventoryItemEquippedUnusable
GetItemIDFromHyperlink
GetLFDRoleLockInfo
GetLFDRoleRestrictions
GetLFGInviteRoleAvailability
GetLFGInviteRoleRestrictions
GetLastDraenorSpellTexture
GetLegacyRaidDifficultyID
GetLifesteal
GetLooseMacroIcons
GetLooseMacroItemIcons
GetLootInfo
GetMapHierarchy
GetMapSubzones
GetMaxRewardCurrencies
GetMultistrike
GetMultistrikeEffect
GetNewActionHighlightMark
GetNumQuestLogTasks
GetQuestFactionGroup
GetQuestLogTaskInfo
GetQuestObjectiveInfo
GetQuestPOIBlobCount
GetQuestPOIs
GetQuestProgressBarPercent
GetQuestTagInfo
GetQuestWatchInfo
GetReadiness
GetReagentBankCost
GetSetBonusesForSpecializationByItemID
GetSortBagsRightToLeft
GetSpecializationReadinessSpell
GetSpellConfirmationPromptsInfo
GetSpeed
GetSpellsForCharacterUpgradeTier
GetSturdiness
GetTalentInfoByID
GetTalentInfoBySpecialization
GetTaskInfo
GetTaskPOIs
GetTasksTable
GetTutorialsEnabled
GetVersatilityBonus
GetVoidStorageSlotPageIndex
GetZoneStoryID
GroupHasOfflineMember
HasAPEffectsSpellPower
HasDraenorZoneAbility
HasDraenorZoneSpellOnBar
HasDualWieldPenalty
HasSPEffectsAttackPower
HaveQuestData
IsAddonVersionCheckEnabled
IsArenaSkirmish
IsBagSlotFlagEnabledOnOtherBags
IsBagSlotFlagEnabledOnOtherBankBags
IsBreadcrumbQuest
IsCharacterNewlyBoosted
IsInventoryItemProfessionBag
IsLegacyDifficulty
IsMapGarrisonMap
IsNPCCrafting
IsPlayerInMicroDungeon
IsPlayerMoving
IsQuestComplete
IsQuestHardWatched
IsQuestSequenced
IsQuestTask
IsReagentBankUnlocked
IsRestrictedAccount
IsStoryQuest
IsUnitOnQuestByQuestID
IsTestBuild
JoinSkirmish
LFDCheckRolesRestricted
LFDPopupCheckRoleSelectionValid
LFDQueueCheckRoleSelectionValid
MarkNewActionHighlight
NormalizeLegacyDifficultyID
PlayerHasToy
QuestHasPOIInfo
QuestPOIGetSecondaryLocations
ReagentBankButtonIDToInvSlotID
ReagentButtonInventorySlot
RequeueSkirmish
ResetAddOns
SaveAddOns
SearchBagsForItem
SearchBagsForItemLink
SetAddonVersionCheck
SetBackpackAutosortDisabled
SetBagSlotFlag
SetBankAutosortDisabled
SetBankBagSlotFlag
SetCheckButtonIsRadio
SetCurrentGraphicsSetting
SetInsertItemsLeftToRight
SetLegacyRaidDifficultyID
SetRaidDifficulties
SetSortBagsRightToLeft
ShouldHideTalentsTab
ShowQuestLog
ShowQuickButton
SortBags
SortBankBags
SortReagentBankBags
StartSpectatorWarGame
StartWarGameByName
StringToBoolean
TaxiGetNodeSlot
ToggleGarrisonBuildingUI
ToggleGarrisonMissionUI
ToggleQuestLog
ToggleWorldMap
UnitBonusArmor
UnitDistanceSquared
UnitPosition
UpdateAddonButton
UseToy
UseToyByName
ValueToBoolean
Removed API:
Code:
BNGetFriendInviteInfoByAddon
C_PetBattles.GetSpeed
C_Scenario.GetBonusCriteriaInfo
C_Scenario.GetBonusStepInfo
C_Vignettes.GetVignetteInstanceID
CloseReforge
CommentatorSetBattlemaster
CreateArenaTeam
DevTest1
DownloadSettings
GetApplicableMultisampleSetting
GetCurrentGuildPerkIndex
GetCurrentMultisampleFormat
GetDestinationReforgeStats
GetExistingLocales
GetGuildLevel
GetGuildRosterContribution
GetGuildRosterLargestContribution
GetKeyRingSize
GetMaxMultisampleFormatOnCvar
GetMeleeMissChance
GetMultisampleFormats
GetNextGuildPerkIndex
GetNumReforgeOptions
GetNumTalents
GetRangedMissChance
GetReforgeItemInfo
GetReforgeItemStats
GetReforgeOptionInfo
GetSourceReforgeStats
GetSpecializationNameForClassID
GetSpellMissChance
GetTimerTextColor
IsInProvingGround
PutKeyInKeyRing
QueryGuildXP
ReforgeItem
ReverseQuestObjective
SetMultisampleFormat
SetReforgeFromCursorItem
ShiftQuestWatches
ShowQuickButton
ShowStatInCategory
SpellIsAlwaysShown
ToggleKeyRing
TogglePerformanceDisplay
UnitGetGuildLevel
UnitGetGuildXP
UploadSettings
Diff:
https://gist.github.com/p3lim/6e30ab...4923/revisions


Tool used:
https://gist.github.com/p3lim/6e30ab...le-dumpapi-lua

Last edited by p3lim : 09-26-14 at 09:11 AM. Reason: Build 18927
 
07-19-14, 10:58 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,567
Originally Posted by p3lim View Post
New API:
Code:
AntiAliasingSupported
Are there any video cards capable of running WoW that don't support antialiasing? o_O
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
 
07-20-14, 08:28 AM   #3
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Originally Posted by Phanx View Post
Are there any video cards capable of running WoW that don't support antialiasing? o_O
Maybe they're planing some mobil stuff or something? *shrug*
 
07-20-14, 09:53 AM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,567
Originally Posted by Duugu View Post
Maybe they're planing some mobil stuff or something? *shrug*
Well, I'm pretty sure my current phone is at least as powerful as the PC I had when WoW was first released, so who knows! Though, I'm not really sure how you could possibly build an effective WoW UI for a 4.7-inch screen.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
 
07-20-14, 10:18 AM   #5
ObbleYeah
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 210


:P
 
07-20-14, 10:35 AM   #6
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Ahhaha. What is the thingi at the right good for?
 
07-20-14, 10:39 AM   #7
ObbleYeah
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 210
I can't really believe that's actually genuine, but:
http://disciplinaryaction.wordpress....ow-on-an-ipad/

anyway - enough derailing.
 
07-26-14, 05:00 AM   #8
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,618
Changes from 18566 to 18594:

Code:
C_Garrison.CanUpgradeGarrison
C_Garrison.GetFollowerQualityTable
C_Garrison.GetRecruitAbilities
C_Garrison.IsVisitGarrisonAvailable
GetCurrentGuildPerkIndex
GetGuildLevel
GetGuildRosterContribution
GetGuildRosterLargestContribution
GetNextGuildPerkIndex
QueryGuildXP
ShowQuickButton
UnitGetGuildLevel
UnitGetGuildXP
 
08-04-14, 11:33 PM   #9
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,618
Changes from 18594 to 18663:

Code:
AutoChooseCurrentGraphicsSetting
C_Garrison.GetFollowerStatus
C_Garrison.GetFollowersTraitsForMission
C_Garrison.GetGarrisonUpgradeCost
C_Garrison.GetMissionUncounteredMechanics
C_Garrison.GetPartyMissionInfo
C_Garrison.RequestGarrisonUpgradeable
C_LFGList.GetActivityInfoExpensive
CanLootUnit
GetCurrentGraphicsSetting
GetCurrentRegion
GetNewActionHighlightMark
IsInventoryItemProfessionBag
MarkNewActionHighlight
SetCurrentGraphicsSetting
StartWarGameByName
 
08-07-14, 03:23 AM   #10
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,618
Changes from 18663 to 18689:

Code:
C_Garrison.GetFollowerBiasForMission
C_LFGList.GetCategoryInfo
UnitDistanceSquared
UnitPosition
 
08-12-14, 03:00 PM   #11
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,618
Changes from 18689 to 18716:

Code:
C_Garrison.GetNumFollowers
GetBankBagSlotFlag
IsBagSlotFlagEnabledOnOtherBankBags
SetBankBagSlotFlag
GetBankBagSlotAutosortDisabled
SetBankBagSlotAutosortDisabled
 
08-18-14, 06:55 PM   #12
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,618
Changes from 18716 to 18738:

Code:
C_LFGList.GetSearchResultMemberCounts
C_LFGList.ReportApplicant
C_LFGList.ReportSearchResult
C_ToyBox.HasFavorites
GetGroupMemberCounts
IsUnitOnQuestByQuestID
C_LFGList.GetCategoryInfo
GetPartyRoleCount
 
09-03-14, 03:13 AM   #13
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,618
Changes from 18738 to 18816:

Code:
C_Garrison.GetMissionDisplayIDs
C_Garrison.IsFollowerCollected
C_LFGList.GetCategoryInfo
C_LFGList.GetNumInvitedApplicantMembers
C_LFGList.GetSearchResultMemberInfo
CloseQuestChoice
ClosestGameObjectPosition
ClosestUnitPosition
GetActiveLootRollIDs
GetAddOnEnableState
GetAvailableAudioLocales
GetEquipmentSetIgnoreSlots
GetQuestPOIBlobCount
GetSpellConfirmationPromptsInfo
GroupHasOfflineMember
IsMapGarrisonMap
IsRestrictedAccount
SearchBagsForItemLink
UseToyByName
GetVersatility
 
09-03-14, 04:34 AM   #14
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
ClosestGameObjectPosition
ClosestUnitPosition

Uh, these look promissing. But I bet they are related to garrison stuff, hm?
 
09-03-14, 07:41 AM   #15
TOM_RUS
A Black Drake
Join Date: Sep 2008
Posts: 86
Originally Posted by Duugu View Post
ClosestGameObjectPosition
ClosestUnitPosition

Uh, these look promissing. But I bet they are related to garrison stuff, hm?
Those API's only work for units that have 0x10 flag set at [[objPtr+284]+324] (DWORD) and gameobjects that have 0x1 flag set at [[objPtr+280]+22] (BYTE).
Not sure what those special objects are.

Screenshotted after playing a bit with debugger (to make that API work on any unit):

Last edited by TOM_RUS : 09-03-14 at 07:53 AM.
 
09-04-14, 08:50 AM   #16
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Originally Posted by TOM_RUS View Post
Screenshotted after playing a bit with debugger (to make that API work on any unit):
Nice

Funny enough that they do not use the functions within their interface code right now.
I'm really curious what they will do with them.

btw: did they changed the return value of UnitGUID or is /dump just printing out the guid in a readable format now?

Last edited by Duugu : 09-04-14 at 08:53 AM.
 
09-04-14, 11:22 AM   #17
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,618
Originally Posted by Duugu View Post
btw: did they changed the return value of UnitGUID or is /dump just printing out the guid in a readable format now?
http://www.wowinterface.com/forums/s...ad.php?t=49503
 
09-10-14, 10:02 AM   #18
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,618
Changes in 18837:

Code:
C_Garrison.SetFollowerInactive
SpellIsAlwaysShown

C_Garrison.GetRecallPortalLastUsedTime
C_Garrison.UseRecallPortal
 
09-11-14, 12:36 PM   #19
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,618
Changes from 18837 to 18850:

Code:
C_Garrison.GetFollowerActivationCost
C_Garrison.GetNumFollowerActivationsRemaining
C_Garrison.GetNumFollowerDailyActivations
 
09-14-14, 01:13 AM   #20
Gello
A Firelord
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 484
Originally Posted by p3lim View Post
Code:

UnitDistanceSquared
UnitPosition
For anyone interested in using these functions:

These work for other players in the group. No pets or friendly targets outside the group.

When a given unit has no valid returns:
  • UnitDistanceSquared returns 0
  • UnitPosition returns nil

These functions appear to deal with in-game yards on the global coordinate system previously limited to the map transformation functions.

UnitDistanceSquared is, as it says, the distance from you to the unit, squared. If your friendly target is 50 yards away, UnitDistanceSquared("target") returns 2500. I've not done any debugprofilestop testing on it to tell if it's faster than (x2-x1)^2 + (y2-y1)^2, but it's very likely.

The first two returns of UnitPosition freaks me out. Moving north will increase the first return, which is ordinarily the x-axis. Moving west will increase the second return, which is ordinarily the y axis. The coordinate system is flipped somehow. But with them ordered as returned, x,y=UnitPosition(unit), the math seems to work out. So if you're moving from GetPlayerMapPosition to this, you might want to hold off on reversing returns.

It's always nice when Blizzard gives us API stuff they don't even use. These are especially cool since we can now deal with player coordinates without having to deal with maps at all.
 
 

WoWInterface » Site Forums » Archived Beta Forums » WoD Beta archived threads » Added/removed API from live (18414) to build 18566

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