1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 19:19:55 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Player/PlayerPacket.hpp
David Cernat 27148ce9eb [General] Add placeholders for 12 new packets, to be implemented soon
Additionally, make it slightly clearer who created which previously existing packets.
2017-05-29 04:43:52 +03:00

30 lines
592 B
C++

#ifndef OPENMW_PLAYERPACKET_HPP
#define OPENMW_PLAYERPACKET_HPP
#include <string>
#include <RakNetTypes.h>
#include <BitStream.h>
#include <PacketPriority.h>
#include <components/openmw-mp/Base/BasePlayer.hpp>
#include <components/openmw-mp/Packets/BasePacket.hpp>
namespace mwmp
{
class PlayerPacket : public BasePacket
{
public:
PlayerPacket(RakNet::RakPeerInterface *peer);
~PlayerPacket();
void setPlayer(BasePlayer *player);
BasePlayer *getPlayer();
protected:
BasePlayer *player;
};
}
#endif //OPENMW_PLAYERPACKET_HPP