setMeta

fun <T> setMeta(key: String, value: T): GuiButton

Sets the metadata value for a specific key.

Return

The current GuiButton instance for method chaining.

Parameters

key

The key for the metadata.

value

The value to associate with the key.