mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 04:49:54 +00:00
27 lines
697 B
C++
27 lines
697 B
C++
//
|
|
// Created by koncord on 18.04.17.
|
|
//
|
|
|
|
#ifndef OPENMW_ACTORPROCESSOR_HPP
|
|
#define OPENMW_ACTORPROCESSOR_HPP
|
|
|
|
#include <components/openmw-mp/Log.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);
|
|
};
|
|
}
|
|
|
|
|
|
#endif //OPENMW_ACTORPROCESSOR_HPP
|