WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   MoP Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=162)
-   -   [5.0.3.15851-15882] API changes (https://www.wowinterface.com/forums/showthread.php?t=43756)

Ketho 07-20-12 11:13 AM

[5.0.3.15851-15882] API changes
 
and another ugly dump of the _G changes
Lua Code:
  1. GetBuildInfo() => "5.0.3", "15882", "Jul 16 2012", 50001

Global API functions
Quote:

New
  1. wowpedia, wowprog, CanAbandonQuest() -- unused
  2. wowpedia, wowprog, framexml, IsMasterLooter() -- 1 hit
Removed
  1. wowpedia, wowprog GetCompanionCooldown() -- previously deprecated


FrameXML functions
Quote:

New
  1. go-hero, BattlePetTooltipJournalClick_OnClick()
  2. go-hero, BattlePetTooltipTemplate_SetBattlePet()
  3. go-hero, BattlePetTooltip_OnLoad()
  4. go-hero, FloatingBattlePet_Show()
  5. go-hero, MountJournalMountButton_UpdateTooltip() -- loadondemand
  6. go-hero, PetBattleAbilityButton_UpdateBetterIcon()
  7. go-hero, PetJournalListItem_OnClick() -- loadondemand
  8. go-hero, PetJournalPetCard_OnClick() -- loadondemand
  9. go-hero, PetJournalPetLoadoutDragButton_OnClick() -- loadondemand
  10. go-hero, PetJournalRequirement_ShowRequirementToolTip() -- loadondemand
  11. go-hero, PetJournal_SelectSpecies() -- loadondemand
  12. go-hero, SharedPetBattleAbilityTooltip_GetInfoTable()
Removed
  1. go-hero, PetJournalRequirementButton_ShowRequirementToolTip() -- renamed to PetJournalRequirement_ShowRequirementToolTip()


C_* functions
Quote:

New
  1. wowpedia, framexml, C_PetBattles.GetBattlePetLink() -- 4 hits in 1 file


Ketho 07-20-12 11:13 AM

New String Variables
Lua Code:
  1. ARCANE_CHARGES_COST_PER_TIME_NO_BASE = "%d Arcane Charges per sec"
  2. BATTLE_PET_PUT_IN_CAGE_HEALTH = "Put In Cage (Health)"
  3. BATTLE_PET_PUT_IN_CAGE_SLOTTED = "Put In Cage (Battle Slot)"
  4. BATTLE_PET_TOOLTIP_CLICK = "[Click here to view in journal]"
  5. BURNING_EMBERS_COST_PER_TIME_NO_BASE = "%d Burning Ember per sec"
  6. CHI_COST_PER_TIME_NO_BASE = "%d Energy per sec"
  7. DARK_FORCE_COST_PER_TIME_NO_BASE = "%d Dark Force per sec"
  8. DEMONIC_FURY_COST_PER_TIME_NO_BASE = "%d Demonic Fury per sec"
  9. ENERGY_COST_PER_TIME_NO_BASE = "%d Energy per sec"
  10. ERR_PETBATTLE_NOT_WHILE_IN_MATCHED_BATTLE = "You can't do that in a matched pet battle."
  11. FOCUS_COST_PER_TIME_NO_BASE = "%d Focus per sec"
  12. HEALTH_COST_PER_TIME_NO_BASE = "%d Health per sec"
  13. LIGHT_FORCE_COST_PER_TIME_NO_BASE = "%d Chi per sec"
  14. MAC_USE_COMMAND_AS_CONTROL = "Use Command key as Control key"
  15. MAC_USE_COMMAND_AS_CONTROL_TOOLTIP = "Use Command key and Control key interchangeably."
  16. MAC_USE_COMMAND_LEFT_CLICK_AS_RIGHT_CLICK = "Command left click as right click"
  17. MAC_USE_COMMAND_LEFT_CLICK_AS_RIGHT_CLICK_TOOLTIP = "Hold down Command key and left click to simulate a right click."
  18. MANA_COST_LARGE_PER_TIME_NO_BASE = "%s Mana per sec"
  19. MANA_COST_PER_TIME_NO_BASE = "%d Mana per sec"
  20. MOUNT_JOURNAL_CANT_USE = "You do not meet the requirements for this mount."
  21. PET_JOURNAL_CARD_NAME_DEFAULT = "Select a pet from the list on the left."
  22. POWER_DISPLAY_COST_PER_TIME_NO_BASE = "%d %s per sec"
  23. RAGE_COST_PER_TIME_NO_BASE = "%d Rage per sec"
  24. RUNIC_POWER_COST_PER_TIME_NO_BASE = "%d Runic Power per sec"
  25. SHADOW_ORBS_COST_PER_TIME_NO_BASE = "%d Shadow Orbs per sec"
  26. SOUL_SHARDS_COST_PER_TIME_NO_BASE = "%d Soul Shards per sec"
  27. SPELL_FAILED_CANT_ADD_BATTLE_PET = "Can't Add Companion To Your Account"
Removed String Variables
Lua Code:
  1. MAC_SWAP_CONTROL_AND_COMMAND = "Use Command instead of Control for key bindings"

----------

New Number Variables
Lua Code:
  1. PET_BATTLE_EVENT_ON_ABILITY = 9
  2. PET_BATTLE_EVENT_ON_AURA_REMOVED = 5
  3. PET_BATTLE_EVENT_ON_ROUND_END = 7
  4. PET_BATTLE_EVENT_ON_ROUND_START = 6
  5. PET_BATTLE_EVENT_ON_SWAP_IN = 10
  6. PET_BATTLE_EVENT_ON_SWAP_OUT = 11
  7. PET_BATTLE_EVENT_ON_TURN = 8

----------

New Tables
Code:

DEFAULT_PET_BATTLE_ABILITY_INFO
FloatingBattlePetTooltip
MacOptionsFrameCheckButton11
MacOptionsFrameCheckButton11Text
PetJournalLoadoutPet1Requirement
PetJournalLoadoutPet1RequirementStr
PetJournalLoadoutPet2Requirement
PetJournalLoadoutPet2RequirementStr
PetJournalLoadoutPet3Requirement
PetJournalLoadoutPet3RequirementStr

Removed Tables
Code:

PetJournalLoadoutPet1RequirementButton
PetJournalLoadoutPet2RequirementButton
PetJournalLoadoutPet3RequirementButton


Ketho 07-20-12 11:16 AM

and as Vladinator already mentioned, there is the new "battlepet" hyperlink

SDPhantom 07-20-12 12:29 PM

Quote:

Originally Posted by Ketho (Post 258502)
... there is the new "battlepet" hyperlink

Putting multiple links on different pieces of a word may be confusing. Here's to split up the links.

"battlepet" hyperlink (WoWProgramming | WoWPedia)
Note: Neither of these sites have a description of this specific link type yet.

Vlad 07-20-12 12:38 PM

Quote:

Originally Posted by SDPhantom (Post 258504)
<snip> Note: Neither of these sites have a description of this specific link type yet.

True, but he referenced my post and it does! :D

By the way about the build, keep getting an crash "File: src\lstorminterface.cpp | Line: 9 | Expr: exp" and can't play or test the new pet battle quests (that they said were now fixed)... :'(

jeffy162 07-20-12 12:52 PM

Quote:

Originally Posted by Vladinator (Post 258506)
True, but he referenced my post and it does! :D

By the way about the build, keep getting an crash "File: src\lstorminterface.cpp | Line: 9 | Expr: exp" and can't play or test the new pet battle quests (that they said were now fixed)... :'(

THIS IS NOT AN ATTEMPT TO HIJACK THIS THREAD!!!!

That being said: I was getting the same error, but I found that disabling ALL of my addons stopped it.

THAT IS ALL!

You can go about your regular business now. (Those last two lines are a feeble attempt at humor.:o)

Phanx 07-21-12 07:21 PM

Build 15882 GlobalStrings.lua for all locales:
https://github.com/phanx/wow-globalstrings


All times are GMT -6. The time now is 02:48 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI