MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / CanBeActivated

Method CanBeActivated

ogsr_engine/xrGame/Inventory.cpp:48–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46CInventorySlot::~CInventorySlot() {}
47
48bool CInventorySlot::CanBeActivated() const { return (m_bVisible && !IsBlocked()); };
49
50bool CInventorySlot::IsBlocked() const { return (m_blockCounter > 0); }
51

Callers 2

SetSlotsBlockedMethod · 0.80
IsActiveSlotBlockedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected