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

Method empty

source/game/StarItem.cpp:142–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142bool Item::empty() const {
143 return m_count == 0;
144}
145
146ItemDescriptor Item::descriptor() const {
147 return ItemDescriptor(m_name, m_count, m_parameters);

Callers 15

StarDrawable.cppFile · 0.45
updateAmbientMethod · 0.45
updateWeatherMethod · 0.45
wearableRemovedMethod · 0.45
setWearableFromHeadMethod · 0.45
setHandFrameOverridesMethod · 0.45
renderMethod · 0.45
renderPortraitMethod · 0.45
getHairFromIdentityMethod · 0.45

Calls

no outgoing calls

Tested by 15

runMethod · 0.36
runMethod · 0.36
TESTFunction · 0.36
checkAllFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
warpPlayerMethod · 0.36
file_nameFunction · 0.36
RegisterTestsMethod · 0.36
IsValidParamNameMethod · 0.36
IsEmptyFunction · 0.36
IsDirectoryMethod · 0.36