mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 15:19:55 +00:00
24 lines
680 B
C++
24 lines
680 B
C++
#ifndef OPENMW_ACTORPROCESSOR_HPP
|
|
#define OPENMW_ACTORPROCESSOR_HPP
|
|
|
|
|
|
#include <components/openmw-mp/Base/BasePacketProcessor.hpp>
|
|
#include <components/openmw-mp/Packets/BasePacket.hpp>
|
|
#include <components/openmw-mp/Packets/Actor/ActorPacket.hpp>
|
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
#include "Script/Script.hpp"
|
|
#include "Player.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ActorProcessor : public BasePacketProcessor<ActorProcessor>
|
|
{
|
|
public:
|
|
|
|
virtual void Do(ActorPacket &packet, Player &player, BaseActorList &actorList);
|
|
|
|
static bool Process(RakNet::Packet &packet, BaseActorList &actorList) noexcept;
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_ACTORPROCESSOR_HPP
|