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

Method maxStack

source/game/scripting/StarItemLuaBindings.cpp:69–71  ·  view source on GitHub ↗

Returns the maximum number of items in this item's stack @return An integer containing the number of items in this item's maximum stack

Source from the content-addressed store, hash-verified

67// @return An integer containing the number of items in this item's maximum
68// stack
69size_t LuaBindings::ItemCallbacks::maxStack(Item* item) {
70 return item->maxStack();
71}
72
73// Returns whether or not the serialized item descriptor passed logically
74// matches this item

Callers 1

tickCraftingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected