[Client] Add getMergedRefs() method to CellStore

0.6.1
David Cernat 8 years ago
parent f59609fcd7
commit ebf9df3fe2

@ -478,6 +478,12 @@ namespace MWWorld
return searchVisitor.mFound;
}
// Added by tes3mp and used to get all the MergedRefs in the cell
std::vector<LiveCellRefBase*> *CellStore::getMergedRefs()
{
return &mMergedRefs;
}
// Added by tes3mp and used to get all the NPCs in the cell
CellRefList<ESM::NPC> *CellStore::getNpcs()
{

@ -234,6 +234,9 @@ namespace MWWorld
Ptr searchExact (const std::string& id, unsigned int refNumIndex, unsigned int mpNum);
///< Added by tes3mp and used to find an object by both its ID and its reference number
std::vector<LiveCellRefBase*> *getMergedRefs();
// Added by tes3mp and used to get all the MergedRefs in the cell
CellRefList<ESM::NPC> *getNpcs();
// Added by tes3mp and used to get all the NPCs in the cell

Loading…
Cancel
Save