WoW API: XML file

From AddOn Studio
Revision as of 14:42, 9 September 2014 by WoWWiki>Fandyllic
Jump to navigation Jump to search

WoW API

Example:

<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/">;
<script file="repopme.lua"/>;
<!-- Frame to handle all core events -->

	<Frame name="repopme_core">

	<scripts>

	<OnLoad>
 this:RegisterEvent("PLAYER_DEAD");
	</OnLoad>

	<OnEvent> 
   repopme_OnEvent(event);
	</OnEvent>
</Scripts>
</Frame>
</Ui>