// // Created by koncord on 15.01.16. // #ifndef OPENMW_PACKETSCONTROLLER_HPP #define OPENMW_PACKETSCONTROLLER_HPP #include #include "Packets/BasePacket.hpp" #include #include namespace mwmp { class PacketsController { public: PacketsController(RakNet::RakPeerInterface *peer); BasePacket *GetPacket(RakNet::MessageID id); void SetStream(RakNet::BitStream *inStream, RakNet::BitStream *outStream); typedef std::map > packets_t; private: packets_t packets; }; } #endif //OPENMW_PACKETSCONTROLLER_HPP