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

25 lines
692 B
C++
Raw Normal View History

#ifndef OPENMW_OBJECTPROCESSOR_HPP
#define OPENMW_OBJECTPROCESSOR_HPP
2017-04-02 21:32:49 +00:00
#include <components/openmw-mp/Base/BasePacketProcessor.hpp>
#include <components/openmw-mp/Packets/BasePacket.hpp>
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
2017-04-02 21:32:49 +00:00
#include <components/openmw-mp/NetworkMessages.hpp>
#include "Script/Script.hpp"
#include "Player.hpp"
namespace mwmp
{
class ObjectProcessor : public BasePacketProcessor<ObjectProcessor>
2017-04-02 21:32:49 +00:00
{
public:
virtual void Do(ObjectPacket &packet, Player &player, BaseObjectList &objectList);
2017-04-02 21:32:49 +00:00
static bool Process(RakNet::Packet &packet, BaseObjectList &objectList) noexcept;
2017-04-02 21:32:49 +00:00
};
}
#endif //OPENMW_OBJECTPROCESSOR_HPP