#ifndef OPENMW_PLAYERPACKETCONTROLLER_HPP #define OPENMW_PLAYERPACKETCONTROLLER_HPP #include #include "../Packets/Player/PlayerPacket.hpp" #include #include namespace mwmp { class PlayerPacketController { public: PlayerPacketController(RakNet::RakPeerInterface *peer); PlayerPacket *GetPacket(RakNet::MessageID id); void SetStream(RakNet::BitStream *inStream, RakNet::BitStream *outStream); typedef std::map > packets_t; private: packets_t packets; }; } #endif //OPENMW_PLAYERPACKETCONTROLLER_HPP