open
Opens this inventory for the given player. Optionally, a previousInventory can be passed to make back-traversal possible.
When the given player clicks outside the current inventory view, he is navigated back to the given previousInventory. Additionally, this function will set the page for the given player to page 1 via setPage.
Opens this inventory for the given player. Optionally, a previousInventory can be passed to make back-traversal possible.
When the given player clicks outside the current inventory view, he is navigated back to the given previousInventory. Additionally, this function will set the page for the given player to page 1 via setPage.
This function can also accept totalContent to automatically calculate the maxPages for the given player.