forked from mirror/openmw-tes3mp
4ca5da5666
Use LibFFI for Public & Timer APIs Use "PlayerId" type instead "unsigned short" Add GetPluginDir() function
23 lines
663 B
C++
23 lines
663 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 "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
|