mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 22:49:55 +00:00
25 lines
655 B
C++
25 lines
655 B
C++
#ifndef OPENMW_SYSTEMPROCESSOR_HPP
|
|
#define OPENMW_SYSTEMPROCESSOR_HPP
|
|
|
|
#include <components/openmw-mp/TimedLog.hpp>
|
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
#include <components/openmw-mp/Packets/System/SystemPacket.hpp>
|
|
#include "../LocalSystem.hpp"
|
|
#include "BaseClientPacketProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class SystemProcessor : public BasePacketProcessor<SystemProcessor>, public BaseClientPacketProcessor
|
|
{
|
|
public:
|
|
virtual void Do(SystemPacket &packet, BaseSystem *system) = 0;
|
|
|
|
static bool Process(RakNet::Packet &packet);
|
|
|
|
virtual ~SystemProcessor();
|
|
};
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_SYSTEMPROCESSOR_HPP
|