1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 21:49:56 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Worldstate/WorldstatePacket.hpp

30 lines
648 B
C++

#ifndef OPENMW_WORLDSTATEPACKET_HPP
#define OPENMW_WORLDSTATEPACKET_HPP
#include <string>
#include <RakNetTypes.h>
#include <BitStream.h>
#include <PacketPriority.h>
#include <components/openmw-mp/Base/BaseWorldstate.hpp>
#include <components/openmw-mp/Packets/BasePacket.hpp>
namespace mwmp
{
class WorldstatePacket : public BasePacket
{
public:
WorldstatePacket(RakNet::RakPeerInterface *peer);
~WorldstatePacket();
void setWorldstate(BaseWorldstate *worldstate);
BaseWorldstate *getWorldstate();
protected:
BaseWorldstate *worldstate;
};
}
#endif //OPENMW_WORLDSTATEPACKET_HPP