// // Created by koncord on 03.04.17. // #ifndef OPENMW_WORLDPROCESSOR_HPP #define OPENMW_WORLDPROCESSOR_HPP #include #include #include #include #include #include #include "Script/Script.hpp" #include "Player.hpp" //#include //#include namespace mwmp { class WorldProcessor : public BasePacketProcessor { public: virtual void Do(WorldPacket &packet, Player &player, BaseEvent &event); static bool Process(RakNet::Packet &packet, BaseEvent &event) noexcept; static void AddProcessor(WorldProcessor *processor) noexcept; //typedef boost::unordered_map > processors_t; typedef std::unordered_map > processors_t; private: static processors_t processors; }; } #endif //OPENMW_WORLDPROCESSOR_HPP