// // Created by koncord on 31.03.17. // #ifndef OPENMW_BASEPLAYERPROCESSOR_HPP #define OPENMW_BASEPLAYERPROCESSOR_HPP #include #include #include #include #include //#include //#include #include "Player.hpp" namespace mwmp { class PlayerProcessor : public BasePacketProcessor { public: virtual void Do(PlayerPacket &packet, Player &player) = 0; static bool Process(RakNet::Packet &packet) noexcept; static void AddProcessor(PlayerProcessor *processor) noexcept; //typedef boost::unordered_map > processors_t; typedef std::unordered_map > processors_t; private: static processors_t processors; }; } #endif //OPENMW_BASEPLAYERPROCESSOR_HPP