WoW:SecureUnitButtonTemplate: Difference between revisions

m
no edit summary
(argument list)
mNo edit summary
Line 1: Line 1:
{{uitech}}
{{uitech}}
'''SecureUnitButtonTemplate''' is one of the SecureTemplates introduced in [[Patch 2.0]]. It's purpose is to allow creation of unit frames, executing certain protected actions from secure code in response to clicks.
'''SecureUnitButtonTemplate''' is one of the SecureTemplates introduced in Patch 2.0. It's purpose is to allow creation of unit frames, executing certain protected actions from secure code in response to clicks.


This template's behavior differs only slightly from [[SecureActionButtonTemplate]], and can be thought of as a special case. The only difference is in how the menu function is handled: the template allows spells currently being targeted to be cancelled before calling the menu function.
This template's behavior differs only slightly from [[SecureActionButtonTemplate]], and can be thought of as a special case. The only difference is in how the menu function is handled: the template allows spells currently being targeted to be cancelled before calling the menu function.