1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 05:49:56 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Player/PlayerPacket.hpp

31 lines
592 B
C++
Raw Normal View History

2016-10-17 12:54:36 +00:00
#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:
2016-10-17 12:54:36 +00:00
PlayerPacket(RakNet::RakPeerInterface *peer);
2016-10-17 12:54:36 +00:00
~PlayerPacket();
void setPlayer(BasePlayer *player);
BasePlayer *getPlayer();
protected:
BasePlayer *player;
};
}
2016-10-17 12:54:36 +00:00
#endif //OPENMW_PLAYERPACKET_HPP