1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 05:49:56 +00:00
openmw-tes3mp/apps/openmw/mwmp/Cell.hpp

34 lines
715 B
C++
Raw Normal View History

2017-04-06 01:00:50 +00:00
#ifndef OPENMW_CELL_HPP
#define OPENMW_CELL_HPP
#include "LocalActor.hpp"
#include "DedicatedActor.hpp"
#include "../mwworld/cellstore.hpp"
namespace mwmp
{
class Cell
{
public:
Cell(MWWorld::CellStore* cellStore);
~Cell();
void update();
void initializeLocalActors();
2017-04-06 01:59:55 +00:00
void uninitializeLocalActors();
2017-04-06 01:00:50 +00:00
std::string generateMapIndex(MWWorld::Ptr ptr);
MWWorld::CellStore* getCellStore();
std::string getDescription();
private:
MWWorld::CellStore* store;
std::map<std::string, mwmp::LocalActor *> localActors;
std::map<std::string, mwmp::DedicatedActor *> dedicatedActors;
};
}
#endif //OPENMW_CELL_HPP