openmw-tes3coop/components/openmw-mp/Packets/Actor/ActorPacket.hpp

32 lines
673 B
C++
Raw Normal View History

#ifndef OPENMW_ACTORPACKET_HPP
#define OPENMW_ACTORPACKET_HPP
#include <string>
#include <RakNetTypes.h>
#include <BitStream.h>
#include <PacketPriority.h>
#include <components/openmw-mp/Base/BaseActor.hpp>
#include <components/openmw-mp/Packets/BasePacket.hpp>
namespace mwmp
{
class ActorPacket : public BasePacket
{
public:
ActorPacket(RakNet::RakPeerInterface *peer);
~ActorPacket();
void setActorList(BaseActorList *actorList);
2017-05-28 07:23:16 +00:00
virtual void Packet(RakNet::BitStream *bs, bool send);
protected:
BaseActorList *actorList;
static const int maxActors = 3000;
};
}
#endif //OPENMW_ACTORPACKET_HPP