Abstract Kt Inventory Paginated Lazy Fetched
Base class for inventories that open immediately and populate entries after data is fetched asynchronously.
Since
2.2.0
Parameters
Plugin context
Number of inventory rows
Type Parameters
Type of the lazy fetched inventory
Type of the display condition
Type of the fetched data
Inheritors
Types
Base class for refreshable lazy-fetched paginated inventories.
Properties
Map of all buttons in the inventory
Initial display condition used by open.
Set of all paged storables in this inventory.
Functions
Adds an existing button to a single slot
Adds an existing button to multiple slots
Adds a button to a single slot with the given item and click handler
Adds a button to multiple slots with the given item and click handler
Creates a new inventory button.
Adds a button to navigate to the next condition.
Called when bottom inventory is clicked
Sets slots to be used for pagination.
Adds a button to navigate to the previous condition.
Adds a storable that is applied to each created condition entry.