1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 11:23:51 +00:00
openmw-tes3mp/apps/openmw/mwmp/ActorList.hpp

40 lines
820 B
C++
Raw Normal View History

#ifndef OPENMW_ACTORLIST_HPP
#define OPENMW_ACTORLIST_HPP
#include <components/openmw-mp/Base/BaseActor.hpp>
#include "../mwworld/cellstore.hpp"
#include <RakNetTypes.h>
#include "LocalActor.hpp"
namespace mwmp
{
class Networking;
class ActorList : public BaseActorList
{
public:
ActorList();
virtual ~ActorList();
void reset();
void addActor(BaseActor baseActor);
void addActor(LocalActor localActor);
void addPositionActor(LocalActor localActor);
void sendPositionActors();
void editActorsInCell(MWWorld::CellStore* cellStore);
void sendActorsInCell(MWWorld::CellStore* cellStore);
private:
Networking *getNetworking();
std::vector<BaseActor> positionActors;
};
}
#endif //OPENMW_ACTORLIST_HPP