Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ activate
Method
activate
source/game/items/StarInstrumentItem.cpp:72–74 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
70
}
71
72
void InstrumentItem::activate() {
73
owner()->interact(InteractAction{InteractActionType::OpenSongbookInterface, owner()->entityId(), {}});
74
}
75
76
List<Drawable> InstrumentItem::drawables() const {
77
if (active())
Callers
1
tick
Method · 0.80
Calls
2
entityId
Method · 0.80
interact
Method · 0.45
Tested by
no test coverage detected