mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-31 00:45:34 +00:00
176aa62b15
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
27 lines
642 B
C++
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
|