Manager interface for Virtual Inventories. Provides methods for creating inventories by type or ID for specific players and pages.
| 8 | * Provides methods for creating inventories by type or ID for specific players and pages. |
| 9 | */ |
| 10 | public interface VInvManager { |
| 11 | /** |
| 12 | * Create an inventory for a player of a specified EnumInventory type and page. |
| 13 | * |
| 14 | * @param enumInventory The inventory type (enum). |
| 15 | * @param player The player for whom to create the inventory. |
| 16 | * @param page The page number to display. |
| 17 | * @param objects Additional context info. |
| 18 | */ |
| 19 | void createInventory(EnumInventory enumInventory, Player player, int page, Object... objects); |
| 20 | |
| 21 | /** |
| 22 | * Create an inventory for a player by numeric ID and page. |
| 23 | * |
| 24 | * @param id The inventory identifier. |
| 25 | * @param player The player for whom to create the inventory. |
| 26 | * @param page The page number to display. |
| 27 | * @param objects Additional context info. |
| 28 | */ |
| 29 | void createInventory(int id, Player player, int page, Object... objects); |
| 30 | } |
no outgoing calls
no test coverage detected