WoW:XML/SCRIPTINHERITTYPE: Difference between revisions

From AddOn Studio
< XML
Jump to navigation Jump to search
m (Move page script moved page XML/SCRIPTINHERITTYPE to XML/SCRIPTINHERITTYPE without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:


== Values ==
== Values ==
* nil - override any inherited scripts, other scripts will not be run
* prepend - run this script before any other previously inherited scripts
* prepend - run this script before any other previously inherited scripts
* append - run this script after any other previously inherited scripts
* append - run this script after any other previously inherited scripts
* none - no inheritance, same as 'nil' above
* none - (default) no inheritance. override any inherited scripts, other scripts will not be run


== Xsd ==
== Xsd ==

Latest revision as of 04:49, 15 August 2023

XML UI ← XML types < SCRIPTINHERITTYPE

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

Values[edit]

  • prepend - run this script before any other previously inherited scripts
  • append - run this script after any other previously inherited scripts
  • none - (default) no inheritance. override any inherited scripts, other scripts will not be run

Xsd[edit]

<xs:simpleType name="SCRIPTINHERITTYPE">
  <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="prepend"/>
    <xs:enumeration value="append"/>
    <xs:enumeration value="none"/>
  </xs:restriction>
</xs:simpleType>

Details[edit]

See Also[edit]