mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 13:53:52 +00:00
8a393d2984
# Conflicts: # apps/openmw-mp/Networking.cpp # apps/openmw-mp/Networking.hpp # components/CMakeLists.txt
22 lines
707 B
C++
22 lines
707 B
C++
#ifndef OPENMW_BASEWORLDSTATEPROCESSOR_HPP
|
|
#define OPENMW_BASEWORLDSTATEPROCESSOR_HPP
|
|
|
|
#include <components/openmw-mp/Base/BasePacketProcessor.hpp>
|
|
#include <components/openmw-mp/Packets/BasePacket.hpp>
|
|
#include <components/openmw-mp/Packets/Worldstate/WorldstatePacket.hpp>
|
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
#include "Players.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class WorldstateProcessor : public BasePacketProcessor<WorldstateProcessor>
|
|
{
|
|
public:
|
|
|
|
virtual void Do(WorldstatePacket &packet, Player &player, BaseWorldstate &worldstate);
|
|
|
|
static bool Process(RakNet::Packet &packet, BaseWorldstate &worldstate) noexcept;
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_BASEWORLDSTATEPROCESSOR_HPP
|