mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 22:19:54 +00:00
26 lines
748 B
C++
26 lines
748 B
C++
#ifndef OPENMW_OBJECTPROCESSSOR_HPP
|
|
#define OPENMW_OBJECTPROCESSSOR_HPP
|
|
|
|
#include <components/openmw-mp/TimedLog.hpp>
|
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
|
#include "../ObjectList.hpp"
|
|
#include "../LocalPlayer.hpp"
|
|
#include "../DedicatedPlayer.hpp"
|
|
#include "BaseClientPacketProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ObjectProcessor : public BasePacketProcessor<ObjectProcessor>, public BaseClientPacketProcessor
|
|
{
|
|
public:
|
|
virtual void Do(ObjectPacket &packet, ObjectList &objectList) = 0;
|
|
|
|
static bool Process(RakNet::Packet &packet, ObjectList &objectList);
|
|
|
|
virtual ~ObjectProcessor();
|
|
};
|
|
}
|
|
|
|
|
|
#endif //OPENMW_OBJECTPROCESSSOR_HPP
|