openmw-tes3coop/components/openmw-mp/Packets/PacketPreInit.hpp
2017-03-05 16:46:11 +08:00

27 lines
575 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, RakNet::RakNetGUID &guid, bool send, PluginContainer &checksums);
};
}
#endif //OPENMW_PACKETPREINIT_HPP