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

Method itemsAt

source/game/StarPlayerInventory.cpp:96–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96ItemPtr PlayerInventory::itemsAt(InventorySlot const& slot) const {
97 return retrieve(slot);
98}
99
100ItemPtr PlayerInventory::stackWith(InventorySlot const& slot, ItemPtr const& items) {
101 if (!items || items->empty())

Callers 6

setNetArmorSecretsMethod · 0.80
makePlayerCallbacksMethod · 0.80
updateMethod · 0.80
customBarClickRightMethod · 0.80
InventoryPaneMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected