getSize

Returns the size of a given InventoryGUI instance. This method can be called statically from outside the class.

Return

The size as an integer.

Parameters

gui

The InventoryGUI instance to get the size from.