API Changes

In an attempt to make the life of the ones who have to maintain custom scripts a little bit easier, we’ll be noting required changes to scripts and world databases in the following wiki page: http://collab.kpsn.org/display/tc/API+Changes.

Trinity never had a stable API and that probably won’t happen in the near future so this page should work as a workaround for that.

Suggestions/comments to the linked wiki page are very welcome.

P.S Most changes are trivial; I’m afraid that the ones that need this documentation are the ones that will not be able to find the wiki page.

Wiki updated with the recent changes to guid (uint64 → ObjectGuid) (http://collab.kpsn.org/display/tc/API+Changes#APIChanges-16September2014) that probably affect most custom code/scripts.

Reasons for this massive change:

  • Encapsulation

  • Easier to change how guids are created and handled

    • For example, in WoD, Blizz changed all guids to be 128 bits instead of 64 bits. With the new ObjectGuid class it is “trivial” to change all guids to that format.