mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 19:19:55 +00:00
c56cd7c221
Additions and removals of the local player's active spells can now be saved to and loaded from the server.
20 lines
499 B
C++
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
|