View Single Post
04-20-21, 04:17 AM   #26
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
Most of the "protections" are to prevent people from writing "bot" addons. There are also some blocks they added to prevent people from running malicious code. Malicious code from an addon isn't capable of causing harm to your computer, but historically was capable of selling/destroying all of your items or manipulating mail and trading to give stuff to another player.

While ShowUIPanel() by itself seems innocuous, it has to deal with shuffling windows around and closing ones that don't "fit" on the screen. Many of them like the Spellbook are protected and as such, requires ShowUIPanel() to be run from secure code.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 04-20-21 at 04:20 AM.
  Reply With Quote