AddOn Development Reference

UI and Macro
(PLEASE DO NOT POST QUESTIONS IN THIS THREAD, USE THE FORUM FOR QUESTIONS)

While there are numerous sites available with WoW UI API Documentation, there are a number of useful features that aren't exactly API calls, but are really useful to AddOn developers.

Extracting UI Files

(coming shortly given cataclysm changes)

Lua File Arguments
Whenever WoW loads and runs an AddOn's .lua file (not including saved variables), it passes in two parameters which can be accessed via the ... token:

local addonName, addonTable = ...;

The addonName is the name by which WoW is referring to the AddOn, based on the capitalization of the AddOn's .toc file. The addonTable is a private table which is sent to every file in a particular AddOn (but is distinct from the table sent to other AddOns). The game maintains no global registry of these tables, so it's garbage collected if not used, and an AddOn must grab its own reference to use it later.
Secure Handlers Reference

There's a reference document for the secure handlers infrastructure that can be found at:

http://www.iriel.org/wow/docs/SecureHeadersGuide-4.0-r1.pdf
(reserved: topics include binding macros/clicks/spells in binding.xml)
(reserved: topics include quick introduction to taint, and the taint log)
(reserved)
(also reserved)
(further reservation)
(just in case)
While we do appreciate the information, any chance the first post could be updated with steps on extracting stock UI files?
05/07/2011 02:50 AMPosted by Dstruct
While we do appreciate the information, any chance the first post could be updated with steps on extracting stock UI files?
http://www.wowpedia.org/Viewing_Blizzard%27s_interface_code
Welll for some reason it wont let me post a new thread

It keeps giving me:
"A required field is incomplete"

and seems to only post a reply after a hit "reply" or the chat bubble in the above posters name...

so some someone please help... with well.. starting a thread on how to make a macro for saying the name of a NPC/player in like party/guild chat

Join the Conversation

Return to Forum