WoW:XML file: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with "<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/">; <script file="repopme.lua"/>; <!-- Frame to handle all core events --> <Fr...")
 
No edit summary
Line 1: Line 1:
{{Wowapi}}
Example:
<pre>
&#60;Ui xsi&#58;schemaLocation=&#34;http&#58;//www.blizzard.com/wow/ui/">;
&#60;Ui xsi&#58;schemaLocation=&#34;http&#58;//www.blizzard.com/wow/ui/">;
&#60;script file=&#34;repopme.lua"/>;
&#60;script file=&#34;repopme.lua"/>;
Line 17: Line 20:
&#60;/Frame&#62;
&#60;/Frame&#62;
&#60;/Ui&#62;
&#60;/Ui&#62;
</pre>

Revision as of 14:42, 9 September 2014

WoW API

Example:

&#60;Ui xsi&#58;schemaLocation=&#34;http&#58;//www.blizzard.com/wow/ui/">;
&#60;script file=&#34;repopme.lua"/>;
&#60;&#33;-- Frame to handle all core events --&#62;

	&#60;Frame name=&#34;repopme_core&#34;&#62;

	&#60;scripts&#62;

	&#60;OnLoad&#62;
 this&#58;RegisterEvent&#40;&#34;PLAYER_DEAD&#34;&#41;;
	&#60;/OnLoad&#62;

	&#60;OnEvent&#62; 
   repopme_OnEvent&#40;event&#41;;
	&#60;/OnEvent&#62;
&#60;/Scripts&#62;
&#60;/Frame&#62;
&#60;/Ui&#62;