mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 23:19:56 +00:00
25 lines
696 B
C++
25 lines
696 B
C++
#ifndef OPENMW_ACTORPROCESSOR_HPP
|
|
#define OPENMW_ACTORPROCESSOR_HPP
|
|
|
|
#include <components/openmw-mp/TimedLog.hpp>
|
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
#include <components/openmw-mp/Packets/Actor/ActorPacket.hpp>
|
|
#include "../ObjectList.hpp"
|
|
#include "../ActorList.hpp"
|
|
#include "BaseClientPacketProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ActorProcessor : public BasePacketProcessor<ActorProcessor>, public BaseClientPacketProcessor
|
|
{
|
|
public:
|
|
virtual void Do(ActorPacket &packet, ActorList &actorList) = 0;
|
|
|
|
static bool Process(RakNet::Packet &packet, ActorList &actorList);
|
|
|
|
virtual ~ActorProcessor();
|
|
};
|
|
}
|
|
|
|
|
|
#endif //OPENMW_ACTORPROCESSOR_HPP
|