forked from teamnwah/openmw-tes3coop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
648 B
C++
31 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
|