C_ColorUtil. WrapTextInColorCode
functionguessedavailable in: camelot
Wraps a given string with color code markup.
function C_ColorUtil.WrapTextInColorCode( text: string, textColorCode: string): stringParameters
| name | type | description |
|---|---|---|
text | string | Text to be wrapped in color markup. |
textColorCode | string | Color to apply to the text, formatted as an 8-byte ARGB string as returned by GenerateTextColorCode. |
Returns
coloredText · string · The input text wrapped in '|c' and '|r' quoted code sequences for the supplied color.
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. 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 ↗.