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

Method empty

source/game/scripting/StarItemLuaBindings.cpp:100–102  ·  view source on GitHub ↗

Returns the number of items in the stack is equal to 0 @return true if stack is empty, false otherwise

Source from the content-addressed store, hash-verified

98//
99// @return true if stack is empty, false otherwise
100bool LuaBindings::ItemCallbacks::empty(Item* item) {
101 return item->empty();
102}
103
104// Returns the descriptor of this item
105//

Callers 15

renderMethod · 0.45
interactMethod · 0.45
enterStageMethod · 0.45
ArmorItemMethod · 0.45
HeadArmorMethod · 0.45
MaterialItemMethod · 0.45
blockSwapMethod · 0.45
fireMethod · 0.45
triggerEffectsMethod · 0.45
handDrawablesMethod · 0.45
fireTriggeredMethod · 0.45
shutdownMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected