forked from mirror/openmw-tes3mp
[Client] Add getMergedRefs() method to CellStore
This commit is contained in:
parent
f59609fcd7
commit
ebf9df3fe2
2 changed files with 9 additions and 0 deletions
|
@ -478,6 +478,12 @@ namespace MWWorld
|
||||||
return searchVisitor.mFound;
|
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
|
// Added by tes3mp and used to get all the NPCs in the cell
|
||||||
CellRefList<ESM::NPC> *CellStore::getNpcs()
|
CellRefList<ESM::NPC> *CellStore::getNpcs()
|
||||||
{
|
{
|
||||||
|
|
|
@ -234,6 +234,9 @@ namespace MWWorld
|
||||||
Ptr searchExact (const std::string& id, unsigned int refNumIndex, unsigned int mpNum);
|
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
|
///< 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();
|
CellRefList<ESM::NPC> *getNpcs();
|
||||||
// Added by tes3mp and used to get all the NPCs in the cell
|
// Added by tes3mp and used to get all the NPCs in the cell
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue