#ifndef OPENMW_ACTORPACKET_HPP #define OPENMW_ACTORPACKET_HPP #include #include #include #include #include #include namespace mwmp { class ActorPacket : public BasePacket { public: explicit ActorPacket(RakNet::RakPeerInterface *peer); ~ActorPacket() override = default; void setActorList(BaseActorList *actorList); void Packet(RakNet::BitStream *bs, bool send) override; protected: bool PacketHeader(RakNet::BitStream *bs, bool send); virtual void Actor(BaseActor &actor, bool send) {}; BaseActorList *actorList; static const int maxActors = 3000; }; } #endif //OPENMW_ACTORPACKET_HPP