get All Viewers Paginated
fun <T : AbstractKtInventoryPaginated<*>> getAllViewersPaginated(clazz: KClass<T>): Map<Player, AbstractKtInventoryPaginated.Entry<T>>
Deprecated
Deprecated in v2.2.0. Will be removed in v2.5.0. Use getViewersPaginatedEntry instead.
Replace with
import dev.s7a.ktinventory.util.getViewersPaginatedEntry
Content copied to clipboard
getViewersPaginatedEntry(clazz)Content copied to clipboard
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
clazz
The KClass of the inventory type
Type Parameters
T
The type of inventory extending AbstractKtInventoryPaginated
inline fun <T : AbstractKtInventoryPaginated<*>> getAllViewersPaginated(): Map<Player, AbstractKtInventoryPaginated.Entry<T>>
Deprecated
Deprecated in v2.2.0. Will be removed in v2.5.0. Use getViewersPaginatedEntry instead.
Replace with
import dev.s7a.ktinventory.util.getViewersPaginatedEntry
Content copied to clipboard
getViewersPaginatedEntry<T>()Content copied to clipboard
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
Type Parameters
T
The type of inventory extending AbstractKtInventoryPaginated