mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 16:26:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			558 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			558 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef OPENMW_BASEPLAYERPROCESSOR_HPP
 | |
| #define OPENMW_BASEPLAYERPROCESSOR_HPP
 | |
| 
 | |
| #include <components/openmw-mp/Base/BasePacketProcessor.hpp>
 | |
| #include <components/openmw-mp/Packets/BasePacket.hpp>
 | |
| #include <components/openmw-mp/NetworkMessages.hpp>
 | |
| #include "Player.hpp"
 | |
| 
 | |
| namespace mwmp
 | |
| {
 | |
|     class PlayerProcessor : public BasePacketProcessor<PlayerProcessor>
 | |
|     {
 | |
|     public:
 | |
| 
 | |
|         virtual void Do(PlayerPacket &packet, Player &player) = 0;
 | |
| 
 | |
|         static bool Process(RakNet::Packet &packet) noexcept;
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif //OPENMW_BASEPLAYERPROCESSOR_HPP
 |