Skip to content
Version 2.11.0
↓ Get the launcher

IColorRegistry interface

Plugins register the colours they OWN. Key is namespaced “Owner.Concept.Property” (e.g. “PlayerHUD.StaminaBar.Fill”), unique. A Register overload supplies the owner’s colour for each built-in preset. Register only colours a plugin owns; to match a theme colour, read Theme.Colors.X directly instead.

public interface IColorRegistry
name description
Register(…) Registers a color slot with per-preset defaults. (2 methods)
Unregister(…) Unregisters the color slot identified by key.