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