#ifndef OPENMW_ACTORLIST_HPP #define OPENMW_ACTORLIST_HPP #include #include "../mwworld/cellstore.hpp" #include #include "LocalActor.hpp" namespace mwmp { class Networking; class ActorList : public BaseActorList { public: ActorList(); virtual ~ActorList(); void reset(); void addActor(BaseActor baseActor); void addPositionActor(BaseActor baseActor); void addAnimFlagsActor(BaseActor baseActor); void addAnimPlayActor(BaseActor baseActor); void addSpeechActor(BaseActor baseActor); void addStatsDynamicActor(BaseActor baseActor); void addDeathActor(BaseActor baseActor); void addEquipmentActor(BaseActor baseActor); void addAiActor(BaseActor baseActor); void addAiActor(const MWWorld::Ptr& actorPtr, const MWWorld::Ptr& targetPtr, unsigned int aiAction); void addAttackActor(BaseActor baseActor); void addAttackActor(const MWWorld::Ptr& actorPtr, const mwmp::Attack &attack); void addCastActor(BaseActor baseActor); void addCellChangeActor(BaseActor baseActor); void sendPositionActors(); void sendAnimFlagsActors(); void sendAnimPlayActors(); void sendSpeechActors(); void sendStatsDynamicActors(); void sendDeathActors(); void sendEquipmentActors(); void sendAiActors(); void sendAttackActors(); void sendCastActors(); void sendCellChangeActors(); void sendActorsInCell(MWWorld::CellStore* cellStore); private: Networking *getNetworking(); std::vector positionActors; std::vector animFlagsActors; std::vector animPlayActors; std::vector speechActors; std::vector statsDynamicActors; std::vector deathActors; std::vector equipmentActors; std::vector aiActors; std::vector attackActors; std::vector castActors; std::vector cellChangeActors; }; } #endif //OPENMW_ACTORLIST_HPP