mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 23:49:55 +00:00
690211ad99
Move Send and Read functions to BasePacket
30 lines
548 B
C++
30 lines
548 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;
|
|
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_WORLDPACKET_HPP
|