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

Method altHandItemDescriptor

source/game/StarToolUser.cpp:90–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90ItemDescriptor ToolUser::altHandItemDescriptor() const {
91 if (m_altHandItem.get())
92 return m_altHandItem.get()->descriptor();
93 return {};
94}
95
96void ToolUser::init(ToolUserEntity* user) {
97 m_user = user;

Callers 1

makeNpcCallbacksMethod · 0.80

Calls 2

getMethod · 0.45
descriptorMethod · 0.45

Tested by

no test coverage detected