WoW:XML/SCRIPTINTRINSICORDERTYPE
< XML
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[edit]
- 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[edit]
<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[edit]
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.