File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66getEnabled(): boolean
77```
88
9+ Gets if the backpack is enabled.
10+
911### setEnabled
1012
1113```
1214setEnabled(enabled: boolean): ()
1315```
1416
17+ Sets whether the backpack is enabled or not.
18+
1519### getTheme
1620
1721```
1822getTheme(): StyleSheet
1923```
2024
25+ Gets the active StyleSheet for the backpack theme.
26+
2127### setTheme
2228
2329```
2430setTheme(theme: "DefaultTheme" | "LegacyTheme" | StyleSheet): ()
2531```
2632
33+ Configures the backpack theme with a StyleSheet.
34+
2735### getTopbarIcon
2836
2937```
3038getTopbarIcon(): TopbarPlus.Icon
3139```
3240
41+ Gets the TopbarPlus icon used to toggle the backpack.
42+
3343### openInventory
3444
3545```
3646openInventory(): ()
3747```
3848
49+ Opens the inventory.
50+
3951### closeInventory
4052
4153```
4254closeInventory(): ()
4355```
4456
57+ Closes the inventory.
58+
4559### isInventoryOpen
4660
4761```
4862isInventoryOpen(): boolean
4963```
64+
65+ Returns ` true ` if the inventory is open.
You can’t perform that action at this time.
0 commit comments