WoW:XML/KEYVALUETYPE: Difference between revisions
< XML
Jump to navigation
Jump to search
(Created page with "{{uixmltype}} KEYVALUETYPE 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 va...") |
(→Values) |
||
Line 5: | Line 5: | ||
== Values == | == Values == | ||
* nil - define the member, but set no value | * nil - define the member, but set no value | ||
* boolean - interpret the value | * boolean - interpret the value as boolean before setting | ||
* number - interpret the value as a Lua number before setting | * number - interpret the value as a Lua number before setting | ||
* string - interpret the value as a string before setting. the usual default. | * string - interpret the value as a string before setting. the usual default. | ||
* global - value is | * global - value is a string as name to look up in the global table before setting. | ||
== Xsd == | == Xsd == |
Revision as of 01:49, 29 July 2022
← XML UI ← XML types < KEYVALUETYPE
KEYVALUETYPE is an WoW UI XML enumeration used for specifying the Lua type in XML for a runtime UIOBJECT. See also ATTRIBUTETYPE.
Values
- nil - define the member, but set no value
- boolean - interpret the value as 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.
- global - value is a string as name to look up in the global table before setting.
Xsd
<xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="nil"/> <xs:enumeration value="boolean"/> <xs:enumeration value="number"/> <xs:enumeration value="string"/> <xs:enumeration value="global"/> </xs:restriction>