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

Method doTakeItems

source/game/objects/StarContainerObject.cpp:508–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506}
507
508ItemPtr ContainerObject::doTakeItems(size_t slot, size_t count) {
509 itemsUpdated();
510 return m_items->takeItems(slot, count);
511}
512
513ItemPtr ContainerObject::doSwapItems(size_t slot, ItemPtr const& items, bool tryCombine) {
514 itemsUpdated();

Callers

nothing calls this directly

Calls 1

takeItemsMethod · 0.45

Tested by

no test coverage detected