v0.13.8

C_ColorUtil.WrapTextInColor

functionimplementedavailable in: camelot

Wraps a given string with color code markup.

signaturewowlua
function C_ColorUtil.WrapTextInColor(    text: string,    color: ColorMixin): string

Parameters

nametypedescription
textstringText to be wrapped in color markup.
colorColorMixinColor 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 ↗.