MCPcopy 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
72void InstrumentItem::activate() {
73 owner()->interact(InteractAction{InteractActionType::OpenSongbookInterface, owner()->entityId(), {}});
74}
75
76List<Drawable> InstrumentItem::drawables() const {
77 if (active())

Callers 1

tickMethod · 0.80

Calls 2

entityIdMethod · 0.80
interactMethod · 0.45

Tested by

no test coverage detected