1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-31 00:45:34 +00:00
openmw-tes3mp/components/openmw-mp/Packets/PacketPreInit.hpp
David Cernat 176aa62b15 Merge pull request #446 from TES3MP/0.6.3 while resolving conflicts
Conflicts:
	apps/openmw-mp/Script/Functions/Cells.cpp
	apps/openmw-mp/Script/Functions/Cells.hpp
	apps/openmw-mp/Script/Functions/Worldstate.cpp
	apps/openmw-mp/Script/Functions/Worldstate.hpp
	apps/openmw-mp/Script/ScriptFunctions.hpp
	apps/openmw-mp/processors/player/ProcessorPlayerMap.hpp
	apps/openmw/mwmp/processors/player/ProcessorPlayerMap.hpp
	components/openmw-mp/Base/BasePlayer.hpp
	components/openmw-mp/Packets/Player/PacketPlayerMap.hpp
	components/openmw-mp/Packets/Worldstate/PacketWorldMap.cpp
2018-06-07 23:23:19 +03:00

27 lines
642 B
C++

#ifndef OPENMW_PACKETPREINIT_HPP
#define OPENMW_PACKETPREINIT_HPP
#include <vector>
#include "BasePacket.hpp"
namespace mwmp
{
class PacketPreInit final: public BasePacket
{
public:
typedef std::vector<unsigned> HashList;
typedef std::pair<std::string, HashList> PluginPair;
typedef std::vector<PluginPair> PluginContainer;
explicit PacketPreInit(RakNet::RakPeerInterface *peer);
void Packet(RakNet::BitStream *bs, bool send) override;
void setChecksums(PluginContainer *checksums);
private:
PluginContainer *checksums;
};
}
#endif //OPENMW_PACKETPREINIT_HPP