virtual Inv Scrolling Window
Calculates the current scrolling window for a virtual inventory. This method returns a pair of integers representing the first and last slot indices of the virtual inventory that are currently being displayed in the GUI. This is used to determine which items from the virtual inventory should be shown based on the current scroll position.
Parameters
inventory Id
The ID of the virtual inventory to calculate the scrolling window for. This should correspond to the ID specified when the virtual inventory was bound in the Builder.