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

Method getSlots

src/Ruleset/RuleInventory.cpp:124–127  ·  view source on GitHub ↗

* Gets all the slots in the inventory section. * @return The list of slots. */

Source from the content-addressed store, hash-verified

122 * @return The list of slots.
123 */
124std::vector<struct RuleSlot> *RuleInventory::getSlots()
125{
126 return &_slots;
127}
128
129/**
130 * Gets the slot located in the specified mouse position.

Callers 2

addItemMethod · 0.80
drawGridMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected