WoW:XML/SCRIPTINHERITTYPE: Difference between revisions

From AddOn Studio
< XML
Jump to navigation Jump to search
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 ==

Revision as of 17:10, 22 August 2022

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

  • 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

<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

See Also