mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:23:52 +00:00
8a393d2984
# Conflicts: # apps/openmw-mp/Networking.cpp # apps/openmw-mp/Networking.hpp # components/CMakeLists.txt
27 lines
729 B
C++
27 lines
729 B
C++
//
|
|
// Created by koncord on 03.04.17.
|
|
//
|
|
|
|
#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 "Players.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ObjectProcessor : public BasePacketProcessor<ObjectProcessor>
|
|
{
|
|
public:
|
|
|
|
virtual void Do(ObjectPacket &packet, const std::shared_ptr<Player> &player, BaseObjectList &objectList);
|
|
|
|
static bool Process(RakNet::Packet &packet, BaseObjectList &objectList) noexcept;
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_OBJECTPROCESSOR_HPP
|