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

Method count

source/game/scripting/StarItemLuaBindings.cpp:53–55  ·  view source on GitHub ↗

Returns the number of items in this stack @return An integer containing the number of items in this stack

Source from the content-addressed store, hash-verified

51//
52// @return An integer containing the number of items in this stack
53size_t LuaBindings::ItemCallbacks::count(Item* item) {
54 return item->count();
55}
56
57// Sets the number of items in the stack (up to maxStack)
58//

Callers 4

burnContainerContentsMethod · 0.45
tickCraftingMethod · 0.45
fireMethod · 0.45
makePlayerCallbacksMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected