C_ColorUtil. WrapTextInColor
functionimplementedavailable in: camelot
Wraps a given string with color code markup.
function C_ColorUtil.WrapTextInColor( text: string, color: ColorMixin): stringParameters
| name | type | description |
|---|---|---|
text | string | Text to be wrapped in color markup. |
color | ColorMixin | Color to apply to the text. |
Returns
coloredText · string · The input text wrapped in '|c' and '|r' quoted code sequences for the supplied color.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ColorUtil system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.