1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 15:49:56 +00:00
openmw-tes3mp/apps/openmw/mwmp/processors/ObjectProcessor.hpp

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