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

Method setSlot

src/Savegame/BattleItem.cpp:270–273  ·  view source on GitHub ↗

* Sets the item's inventory slot. * @param slot The slot id. */

Source from the content-addressed store, hash-verified

268 * @param slot The slot id.
269 */
270void BattleItem::setSlot(RuleInventory *slot)
271{
272 _inventorySlot = slot;
273}
274
275/**
276 * Gets the item's inventory X position.

Callers 9

loadMethod · 0.80
addItemMethod · 0.80
placeItemByLayoutMethod · 0.80
addItemMethod · 0.80
loadWeaponsMethod · 0.80
convertUnitMethod · 0.80
takeItemMethod · 0.80
moveItemMethod · 0.80
arrangeGroundMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected