MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / essentialBarClick

Method essentialBarClick

source/frontend/StarActionBar.cpp:331–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331void ActionBar::essentialBarClick(uint8_t index) {
332 m_player->inventory()->selectActionBarLocation((EssentialItem)index);
333}
334
335void ActionBar::swapCustomBar() {
336 m_player->inventory()->setCustomBarGroup((m_player->inventory()->customBarGroup() + 1) % m_player->inventory()->customBarGroups());

Callers

nothing calls this directly

Calls 2

inventoryMethod · 0.80

Tested by

no test coverage detected