#ifndef OPENMW_ACTORPACKET_HPP #define OPENMW_ACTORPACKET_HPP #include #include #include #include #include #include namespace mwmp { class ActorPacket : public BasePacket { public: ActorPacket(RakNet::RakPeerInterface *peer); ~ActorPacket(); void setActorList(BaseActorList *actorList); virtual void Packet(RakNet::BitStream *bs, bool send); 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