2012-09-28

‎Breaking Changes:

←Older revision

Revision as of 07:18, September 28, 2012

(5 intermediate revisions by one user not shown)

Line 6:

Line 6:

* [[#Party and Group APIs|Party and Group]] member APIs have been consolidated and renamed.

* [[#Party and Group APIs|Party and Group]] member APIs have been consolidated and renamed.

* Some [[#Specialization and Talent APIs|Specialization and Talent]] APIs have been renamed.

* Some [[#Specialization and Talent APIs|Specialization and Talent]] APIs have been renamed.

-

* Some [[#Achievement APIs|Achievement]] APIs have been split, to allow access by differnt types of IDs.

+

* Some [[#Achievement APIs|Achievement]] APIs have been split, to simplify access by differnt types of IDs.

* [[#Item Links|Item link text]] has been extended yet one more optional parameter for 5.0.x.

* [[#Item Links|Item link text]] has been extended yet one more optional parameter for 5.0.x.

-

* [[#Buttons|UIPanelButtonTemplate has changed dramaticaly]], using textures to paint the button rather than the button's normal mechanism.

+

* [[#Buttons|UIPanelButtonTemplate has changed dramaticaly]], using layer textures to paint the button rather than the button's normal mechanism.

* New Lua execution time limit while in combat.

* New Lua execution time limit while in combat.

Line 24:

Line 24:

== Party and Group APIs ==

== Party and Group APIs ==

-

Several of the specialized Party and Raid functions and events have been consolidated. The naming convention cleanup is basically that: 'Party' and 'Raid' groups have semantically become just a 'Group'; and 'Party' within a 'Raid' has semantically become just a 'SubGroup'. This effectively means that a Group is now a 'Group', whether raid or party. And a raids' parties are now 'SubGroups'. Ther were some return value type changes where the new GetNum functions return Lua 'true' and 'false' instead of '1' and 'nil'.

+

Several of the specialized Party and Raid functions and events have been consolidated. The naming convention cleanup is basically that: 'Party' and 'Raid' groups have semantically become just a 'Group'; and 'Party' within a 'Raid' has semantically become just a 'SubGroup'. This effectively means that a Group is now a 'Group', whether raid or party. And a raids' parties are now 'SubGroups'. There were some return value type changes where the new GetNum functions return Lua 'true' and 'false' instead of '1' and 'nil', as is the growing trend with new fuctions after WoW went to Lua 5.0.

* group counts - {{api|GetNumPartyMembers}}, {{api|GetNumRaidMembers}} and {{api|GetRealNumRaidMembers}} to {{api|GetNumGroupMembers}}

* group counts - {{api|GetNumPartyMembers}}, {{api|GetNumRaidMembers}} and {{api|GetRealNumRaidMembers}} to {{api|GetNumGroupMembers}}

Line 48:

Line 48:

== Achievement APIs ==

== Achievement APIs ==

-

There was some specialized Achievement API rework where function has been split, basically allowing getting info by both 'index' and 'id'. The parameter differneces are via 'criteriaIndex' and 'criteriaID' respectively.

+

There was some specialized Achievement API rework where function has been split, getting info by 'index' or 'id' seperately and less awkwardly. The parameter differneces are via 'criteriaIndex' and 'criteriaID' respectively.

-

* crit info - {{api|GetAchievementCriteriaInfo}} split into {{api|GetAchievementCriteriaInfo}} and {{api|GetAchievementCriteriaInfoByID}}

+

* crit info - {{api|GetAchievementCriteriaInfo}} split or simplified into {{api|GetAchievementCriteriaInfo}} and {{api|GetAchievementCriteriaInfoByID}}

== XML Lua Object References ==

== XML Lua Object References ==

Line 78:

Line 78:

== Other ==

== Other ==

-

* Inline X and Y values for [[XML/Anchor|XML Anchors]] have been changed from 'int' to 'float'.

+

* Inline X and Y values for [[XML/Anchor|XML Anchors]] have been officially changed from 'int' to 'float'. There were already anchors in the game resource files with float values prior to 5.0.4.

Show more