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

Method equipmentVisibility

source/game/StarPlayerInventory.cpp:784–786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

782}
783
784bool PlayerInventory::equipmentVisibility(EquipmentSlot slot) const {
785 return (m_equipmentVisibilityMask >> (uint8_t)slot) & 0x1;
786}
787
788void PlayerInventory::setEquipmentVisibility(EquipmentSlot slot, bool visible) {
789 if (visible)

Callers 2

InventoryPaneMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected