openmw-tes3coop/components/openmw-mp/Packets/World/WorldPacket.hpp

30 lines
591 B
C++

#ifndef OPENMW_WORLDPACKET_HPP
#define OPENMW_WORLDPACKET_HPP
#include <string>
#include <RakNetTypes.h>
#include <BitStream.h>
#include <PacketPriority.h>
#include <components/openmw-mp/Base/BaseEvent.hpp>
#include <components/openmw-mp/Packets/BasePacket.hpp>
namespace mwmp
{
class WorldPacket : public BasePacket
{
public:
WorldPacket(RakNet::RakPeerInterface *peer);
~WorldPacket();
void setEvent(BaseEvent *event);
protected:
BaseEvent *event;
static const int maxObjects = 3000;
};
}
#endif //OPENMW_WORLDPACKET_HPP