forked from teamnwah/openmw-tes3coop
Create placeholder for ID_GAME_SPELLBOOK
parent
6c8c0827ea
commit
6ea5f08e9c
@ -0,0 +1,15 @@
|
||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||
#include "PacketSpellbook.hpp"
|
||||
|
||||
using namespace std;
|
||||
using namespace mwmp;
|
||||
|
||||
PacketSpellbook::PacketSpellbook(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
|
||||
{
|
||||
packetID = ID_GAME_SPELLBOOK;
|
||||
}
|
||||
|
||||
void PacketSpellbook::Packet(RakNet::BitStream *bs, BasePlayer *player, bool send)
|
||||
{
|
||||
PlayerPacket::Packet(bs, player, send);
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
#ifndef OPENMW_PACKETSPELLBOOK_HPP
|
||||
#define OPENMW_PACKETSPELLBOOK_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/Player/PlayerPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketSpellbook : public PlayerPacket
|
||||
{
|
||||
public:
|
||||
PacketSpellbook(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Packet(RakNet::BitStream *bs, BasePlayer *player, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#endif //OPENMW_PACKETSPELLBOOK_HPP
|
Loading…
Reference in New Issue