// // Created by koncord on 16.04.17. // #ifndef OPENMW_WORLDPROCESSSOR_HPP #define OPENMW_WORLDPROCESSSOR_HPP #include #include #include #include "../WorldEvent.hpp" #include "../LocalPlayer.hpp" #include "../DedicatedPlayer.hpp" #include "BaseClientPacketProcessor.hpp" namespace mwmp { class WorldProcessor : public BasePacketProcessor, public BaseClientPacketProcessor { public: virtual void Do(WorldPacket &packet, WorldEvent &event) = 0; static bool Process(RakNet::Packet &packet, WorldEvent &event); }; } #endif //OPENMW_WORLDPROCESSSOR_HPP