1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-31 20:45:32 +00:00
openmw-tes3mp/components/openmw-mp/Packets/PacketPreInit.hpp

32 lines
684 B
C++
Raw Normal View History

2017-03-05 08:46:11 +00:00
//
// Created by koncord on 05.03.17.
//
#ifndef OPENMW_PACKETPREINIT_HPP
#define OPENMW_PACKETPREINIT_HPP
#include <vector>
#include "BasePacket.hpp"
namespace mwmp
{
class PacketPreInit final: public BasePacket
2017-03-05 08:46:11 +00:00
{
public:
2017-05-02 15:31:30 +00:00
typedef std::vector<unsigned> HashList;
typedef std::pair<std::string, HashList> PluginPair;
2017-03-05 08:46:11 +00:00
typedef std::vector<PluginPair> PluginContainer;
explicit PacketPreInit(RakNet::RakPeerInterface *peer);
2017-03-05 08:46:11 +00:00
void Packet(RakNet::BitStream *bs, bool send) override;
2017-03-06 10:40:53 +00:00
void setChecksums(PluginContainer *checksums);
private:
PluginContainer *checksums;
2017-03-05 08:46:11 +00:00
};
}
#endif //OPENMW_PACKETPREINIT_HPP