MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getSlot

Method getSlot

src/Savegame/BattleItem.cpp:261–264  ·  view source on GitHub ↗

* Gets the item's inventory slot. * @return The slot id. */

Source from the content-addressed store, hash-verified

259 * @return The slot id.
260 */
261RuleInventory *BattleItem::getSlot() const
262{
263 return _inventorySlot;
264}
265
266/**
267 * Sets the item's inventory slot.

Callers 15

loadMethod · 0.45
getItemMethod · 0.45
deployXCOMMethod · 0.45
placeItemByLayoutMethod · 0.45
loadWeaponsMethod · 0.45
saveEquipmentLayoutMethod · 0.45
setBattleItemMethod · 0.45
drawRoutine4Method · 0.45
surveyItemsMethod · 0.45
applyGravityMethod · 0.45
drawItemsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected