Companion

object Companion

A companion object for the PaginatedDynamicGUI class. Provides a utility function to create an instance of the PaginatedDynamicGUI for a given Enum class and player.

Functions

Link copied to clipboard
inline fun <S : Enum<S>> of(player: Player): PaginatedDynamicGUI<S>

Kotlin-friendly version of the PaginatedDynamicGUI constructor using a reified enum type.

fun <S : Enum<S>> of(enumClass: Class<S>, player: Player): PaginatedDynamicGUI<S>

Creates an instance of PaginatedDynamicGUI for the given enumeration class and player.