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

Method customBarPrimarySlot

source/game/StarPlayerInventory.cpp:653–655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

651}
652
653Maybe<InventorySlot> PlayerInventory::customBarPrimarySlot(CustomBarIndex customBarIndex) const {
654 return m_customBar.at(m_customBarGroup, customBarIndex).first;
655}
656
657Maybe<InventorySlot> PlayerInventory::customBarSecondarySlot(CustomBarIndex customBarIndex) const {
658 return m_customBar.at(m_customBarGroup, customBarIndex).second;

Callers 4

makePlayerCallbacksMethod · 0.80
updateMethod · 0.80
customBarClickRightMethod · 0.80
updateMethod · 0.80

Calls 1

atMethod · 0.45

Tested by

no test coverage detected