Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

SecureHandlers

Last wiki revision 2021-10-12

SecureHandlers (created by inheriting SecureHandlerBaseTemplate) use code snippets inside the RestrictedEnvironment. Each snippet is a that behaves like the body of a Lua function, but it can only contain a subset of the World of Warcraft API.

  • ''These templates are defined in and
  • - Executes a code snippet in the restricted environment.
  • - Wraps a widget script with code snippets executed in the restricted environment.
  • - Strips (and returns) the outermost-wrapped handler.
  • - Creates a frame reference accessible in the restricted environment.
  • The base template has an OnLoad widget script which adds the four defined methods.
  • Other templates (listed below) use to run widget script handlers in the RestrictedEnvironment.

Source

https://warcraft.wiki.gg/wiki/SecureHandlers · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.