API Reference › Menu.Components
ChatColoredTextComponent
ClassNamespace: SwiftlyS2.Shared.Menu.Components · Assembly: SwiftlyS2.CS2.dll
public class ChatColoredTextComponent : MenuComponentBase, IMenuComponentImplements IMenuComponent
A line coloured with one of Helper.ChatColors ' tags rather than a hex Color. Can be scrolled to but never does anything when activated.
On the Chat renderer this prints with the actual chat colour code. On any other renderer, such as the default CenterHtml, IMenuComponentRenderContext) maps ChatColor to its closest hex equivalent instead of dropping colour entirely.
View source