get All Viewers Paginated
fun <T : AbstractKtInventoryPaginated<*>> getAllViewersPaginated(clazz: KClass<T>): Map<Player, AbstractKtInventoryPaginated.Entry<T>>
Gets all online players currently viewing a paginated inventory of the specified type.
Return
Map of players to their open paginated inventory entries of type T
Since
2.0.0
Parameters
T
The type of inventory extending AbstractKtInventoryPaginated
clazz
The KClass of the inventory type
inline fun <T : AbstractKtInventoryPaginated<*>> getAllViewersPaginated(): Map<Player, AbstractKtInventoryPaginated.Entry<T>>
Gets all online players currently viewing a paginated inventory of the specified type.
Return
Map of players to their open paginated inventory entries of type T
Since
2.0.0
Parameters
T
The type of inventory extending AbstractKtInventoryPaginated