forked from teamnwah/openmw-tes3coop
23 lines
651 B
C++
23 lines
651 B
C++
|
#ifndef OPENMW_WORLDSTATEPROCESSOR_HPP
|
||
|
#define OPENMW_WORLDSTATEPROCESSOR_HPP
|
||
|
|
||
|
#include <components/openmw-mp/Log.hpp>
|
||
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
||
|
#include <components/openmw-mp/Packets/Worldstate/WorldstatePacket.hpp>
|
||
|
#include "BaseClientPacketProcessor.hpp"
|
||
|
|
||
|
namespace mwmp
|
||
|
{
|
||
|
class WorldstateProcessor : public BasePacketProcessor<WorldstateProcessor>, public BaseClientPacketProcessor
|
||
|
{
|
||
|
public:
|
||
|
virtual void Do(WorldstatePacket &packet, BaseWorldstate &worldstate) = 0;
|
||
|
|
||
|
static bool Process(RakNet::Packet &packet, BaseWorldstate &worldstate);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
#endif //OPENMW_WORLDSTATEPROCESSOR_HPP
|