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.
openmw-tes3coop/components/openmw-mp/Packets/Player/PlayerPacket.hpp

31 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