WoW:XML/ATTRIBUTETYPE: Difference between revisions

From AddOn Studio
< XML
Jump to navigation Jump to search
(Created page with "{{uixmltype}} ATTRIBUTETYPE is an WoW UI XML enumeration used for specifying the Lua type in XML for a runtime UIOBJECT. == Values == * nil - define the member, but set no v...")
 
m (Move page script moved page XML/ATTRIBUTETYPE to XML/ATTRIBUTETYPE without leaving a redirect)
 
(No difference)

Latest revision as of 04:49, 15 August 2023

XML UI ← XML types < ATTRIBUTETYPE

ATTRIBUTETYPE is an WoW UI XML enumeration used for specifying the Lua type in XML for a runtime UIOBJECT. See also KEYVALUETYPE.

Values[edit]

  • nil - define the member, but set no value
  • boolean - interpret the value to boolean before setting
  • number - interpret the value as a Lua number before setting
  • string - interpret the value as a string before setting. the usual default.

Xsd[edit]

<xs:restriction base="xs:NMTOKEN">
  <xs:enumeration value="nil"/>
  <xs:enumeration value="boolean"/>
  <xs:enumeration value="number"/>
  <xs:enumeration value="string"/>
</xs:restriction>

Details[edit]

See Also[edit]