1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 16:53:52 +00:00
openmw-tes3mp/apps/openmw-mp/processors/WorldProcessor.hpp

28 lines
701 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 "Players.hpp"
2017-04-02 21:32:49 +00:00
namespace mwmp
{
class WorldProcessor : public BasePacketProcessor<WorldProcessor>
2017-04-02 21:32:49 +00:00
{
public:
virtual void Do(WorldPacket &packet, const std::shared_ptr<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