WoW:XML file: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{uiaddon}} | ||
== Example == | |||
<!-- where did this come from? very old --> | |||
<[[XML/Ui|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> | |||
self:RegisterEvent("PLAYER_DEAD"); | |||
</OnLoad> | |||
<OnEvent> | |||
repopme_OnEvent(event); | |||
</OnEvent> | |||
</Scripts> | |||
</Frame> | |||
</Ui> | |||
[[Category:UI_technical_details]] |
Latest revision as of 04:49, 15 August 2023
Example[edit]
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/">; <Script file="repopme.lua"/>; <Frame name="repopme_core"> <Scripts> <OnLoad> self:RegisterEvent("PLAYER_DEAD"); </OnLoad> <OnEvent> repopme_OnEvent(event); </OnEvent> </Scripts> </Frame> </Ui>