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/PacketPlayerSpellsActive.hpp
David Cernat c56cd7c221 [General] Implement PlayerSpellsActive packet, part 1
Additions and removals of the local player's active spells can now be saved to and loaded from the server.
2020-07-10 02:09:11 +02:00

20 lines
499 B
C++

#ifndef OPENMW_PACKETPLAYERSPELLSACTIVE_HPP
#define OPENMW_PACKETPLAYERSPELLSACTIVE_HPP
#include <components/openmw-mp/Packets/Player/PlayerPacket.hpp>
namespace mwmp
{
class PacketPlayerSpellsActive : public PlayerPacket
{
public:
PacketPlayerSpellsActive(RakNet::RakPeerInterface *peer);
virtual void Packet(RakNet::BitStream *newBitstream, bool send);
protected:
static const int maxEffects = 20;
};
}
#endif //OPENMW_PACKETPLAYERSPELLSACTIVE_HPP