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

Method isInteractive

source/game/StarNpc.cpp:893–895  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

891}
892
893bool Npc::isInteractive() const {
894 return m_isInteractive.get();
895}
896
897InteractAction Npc::interact(InteractRequest const& request) {
898 auto result = m_scriptComponent.invoke<Json>("interact",

Callers 5

interactiveEntityNearMethod · 0.45
renderMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected