WoW:XML/SCRIPTINHERITTYPE: Difference between revisions

From AddOn Studio
< XML
Jump to navigation Jump to search
(Created page with "{{uixmltype}} SCRIPTINHERITTYPE is an WoW UI XML enumeration used for specifying event script execution order in XML for a Script in Scripts. See also [[XML/ATTRIBUTETYPE|ATT...")
 
m (Move page script moved page XML/SCRIPTINHERITTYPE to XML/SCRIPTINHERITTYPE without leaving a redirect)
 
(2 intermediate revisions 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 ==
<xs:simpleType name="SCRIPTINHERITTYPE">
<pre>
  <xs:restriction base="xs:NMTOKEN">
<xs:simpleType name="SCRIPTINHERITTYPE">
    <xs:enumeration value="prepend"/>
  <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="append"/>
    <xs:enumeration value="prepend"/>
    <xs:enumeration value="none"/>
    <xs:enumeration value="append"/>
  </xs:restriction>
    <xs:enumeration value="none"/>
</xs:simpleType>
  </xs:restriction>
</xs:simpleType>
</pre>


== Details ==
== Details ==

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]