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

Method getSlotX

src/Savegame/BattleItem.cpp:279–282  ·  view source on GitHub ↗

* Gets the item's inventory X position. * @return X position. */

Source from the content-addressed store, hash-verified

277 * @return X position.
278 */
279int BattleItem::getSlotX() const
280{
281 return _inventoryX;
282}
283
284/**
285 * Sets the item's inventory X position.

Callers 5

placeItemByLayoutMethod · 0.45
saveEquipmentLayoutMethod · 0.45
drawItemsMethod · 0.45
setSelectedItemMethod · 0.45
mouseClickMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected