WoW:XML file: Difference between revisions
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> | |||
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/">; | <Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/">; | ||
<script file="repopme.lua"/>; | <script file="repopme.lua"/>; | ||
Line 17: | Line 20: | ||
</Frame> | </Frame> | ||
</Ui> | </Ui> | ||
</pre> |
Revision as of 14:42, 9 September 2014
← 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>