#ifndef OPENMW_ACTORPACKETCONTROLLER_HPP #define OPENMW_ACTORPACKETCONTROLLER_HPP #include #include "../Packets/Actor/ActorPacket.hpp" #include #include namespace mwmp { class ActorPacketController { public: ActorPacketController(RakNet::RakPeerInterface *peer); ActorPacket *GetPacket(RakNet::MessageID id); void SetStream(RakNet::BitStream *inStream, RakNet::BitStream *outStream); bool ContainsPacket(RakNet::MessageID id); typedef std::unordered_map > packets_t; private: packets_t packets; }; } #endif //OPENMW_ACTORPACKETCONTROLLER_HPP