mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-11-04 04:26:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
	
		
			625 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
	
		
			625 B
		
	
	
	
		
			C++
		
	
	
	
	
	
//
 | 
						|
// Created by koncord on 05.03.17.
 | 
						|
//
 | 
						|
 | 
						|
#ifndef OPENMW_PACKETPREINIT_HPP
 | 
						|
#define OPENMW_PACKETPREINIT_HPP
 | 
						|
 | 
						|
#include <vector>
 | 
						|
#include "BasePacket.hpp"
 | 
						|
 | 
						|
 | 
						|
namespace mwmp
 | 
						|
{
 | 
						|
    class PacketPreInit : public BasePacket
 | 
						|
    {
 | 
						|
    public:
 | 
						|
        typedef std::pair<std::string, unsigned int> PluginPair;
 | 
						|
        typedef std::vector<PluginPair> PluginContainer;
 | 
						|
 | 
						|
        PacketPreInit(RakNet::RakPeerInterface *peer);
 | 
						|
 | 
						|
        virtual void Packet(RakNet::BitStream *bs, bool send);
 | 
						|
        void setChecksums(PluginContainer *checksums);
 | 
						|
    private:
 | 
						|
        PluginContainer *checksums;
 | 
						|
    };
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
#endif //OPENMW_PACKETPREINIT_HPP
 |