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