WoW:XML/SCRIPTINTRINSICORDERTYPE

From AddOn Studio
< XML
Revision as of 02:08, 28 November 2020 by Bear (talk | contribs) (Created page with "{{uixmltype}} SCRIPTINTRINSICORDERTYPE is an WoW UI XML enumeration for an 'intrinsic' type, used for specifying event script execution order in XML for a Script in Scripts. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

XML UI ← XML types < SCRIPTINTRINSICORDERTYPE

SCRIPTINTRINSICORDERTYPE is an WoW UI XML enumeration for an 'intrinsic' type, used for specifying event script execution order in XML for a Script in Scripts. See also SCRIPTINHERITTYPE.

Values

  • precall - run this script before any other
  • postcall - run this script after any other
  • none - allow to be directly overridden by type implementation script

Xsd

<xs:simpleType name="SCRIPTINTRINSICORDERTYPE">
  <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="precall"/>
    <xs:enumeration value="postcall"/>
    <xs:enumeration value="none"/>
  </xs:restriction>
</xs:simpleType>

Details

An intrinsic type is similar to a virtual template, except that it can be used by type name, rather than by being inherited. When 'precall' or 'postcall' are set for a script, they cannot be directly overridden. They can be hooked by introspection later. An event can have both a 'precall' and 'postcall' script. The 'precall' and 'postcall' attributes are only used when defining an intrinsic.

See Also