mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 08:00:56 -04:00
[Client] Add getMergedRefs() method to CellStore
This commit is contained in:
parent
f59609fcd7
commit
ebf9df3fe2
@ -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…
x
Reference in New Issue
Block a user