getAllViewersDeeply

inline fun <T : ParentInventory> getAllViewersDeeply(): Map<Player, T>

Gets all online players currently viewing an inventory or child inventory of the specified parent type. This function searches through the inventory hierarchy to find parent inventories of the specified type.

Return

Map of players to their open parent inventories of type T

Since

2.0.0

Parameters

T

The type of parent inventory