#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 addAnimFlagsActor(LocalActor localActor); void addAnimPlayActor(LocalActor localActor); void addSpeechActor(LocalActor localActor); void addStatsDynamicActor(LocalActor localActor); void sendPositionActors(); void sendAnimFlagsActors(); void sendAnimPlayActors(); void sendSpeechActors(); void sendStatsDynamicActors(); void editActorsInCell(MWWorld::CellStore* cellStore); void sendActorsInCell(MWWorld::CellStore* cellStore); private: Networking *getNetworking(); std::vector<BaseActor> positionActors; std::vector<BaseActor> animFlagsActors; std::vector<BaseActor> animPlayActors; std::vector<BaseActor> speechActors; std::vector<BaseActor> statsDynamicActors; }; } #endif //OPENMW_ACTORLIST_HPP