MessageKey

interface MessageKey<E : IMessageProvider<C>, C : Any>

Represents a key for a localized message.

Parameters

E

The type of the message provider.

C

The type of the text component.

Functions

Link copied to clipboard
open fun c(): C

Retrieves the text component of this message key.

Link copied to clipboard
open fun fp(): String

Retrieves the full-path content of this message key.

Link copied to clipboard
open fun log(level: LangMan.LogLevel = LogLevel.INFO)

Logs the message corresponding to this key.

Link copied to clipboard
open fun rc(): String

Retrieves the raw content of this message key.

Link copied to clipboard
open fun t(provider: E): C

Retrieves the message corresponding to this key using the given provider.