openmw-tes3coop/apps/openmw-mp/processors/WorldProcessor.hpp

29 lines
706 B
C++
Raw Normal View History

2017-04-02 21:32:49 +00:00
//
// Created by koncord on 03.04.17.
//
#ifndef OPENMW_WORLDPROCESSOR_HPP
#define OPENMW_WORLDPROCESSOR_HPP
#include <components/openmw-mp/Base/BasePacketProcessor.hpp>
#include <components/openmw-mp/Packets/BasePacket.hpp>
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
#include <components/openmw-mp/NetworkMessages.hpp>
#include "Script/Script.hpp"
#include "Player.hpp"
namespace mwmp
{
class WorldProcessor : public BasePacketProcessor<WorldProcessor>
2017-04-02 21:32:49 +00:00
{
public:
virtual void Do(WorldPacket &packet, Player &player, BaseEvent &event);
2017-04-02 21:32:49 +00:00
static bool Process(RakNet::Packet &packet, BaseEvent &event) noexcept;
2017-04-02 21:32:49 +00:00
};
}
#endif //OPENMW_WORLDPROCESSOR_HPP