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

Method updateItemDescriptor

source/game/StarToolUser.cpp:754–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

752}
753
754void ToolUser::NetItem::updateItemDescriptor() {
755 if (m_item)
756 m_itemDescriptor.set(m_item->descriptor());
757 else
758 m_itemDescriptor.set(ItemDescriptor());
759}
760
761void ToolUser::initPrimaryHandItem() {
762 if (m_user && m_primaryHandItem.get()) {

Callers 2

netStoreMethod · 0.80
writeNetDeltaMethod · 0.80

Calls 3

ItemDescriptorClass · 0.85
setMethod · 0.45
descriptorMethod · 0.45

Tested by

no test coverage detected