1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:53:50 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Actor/PacketActorSpellsActive.hpp
David Cernat bf0a42fdad [General] Implement ActorSpellsActive packet, part 1
The packet can now set the active spells of DedicatedActors.
2021-04-20 03:25:14 +02:00

20 lines
475 B
C++

#ifndef OPENMW_PACKETACTORSPELLSACTIVE_HPP
#define OPENMW_PACKETACTORSPELLSACTIVE_HPP
#include <components/openmw-mp/Packets/Actor/ActorPacket.hpp>
namespace mwmp
{
class PacketActorSpellsActive : public ActorPacket
{
public:
PacketActorSpellsActive(RakNet::RakPeerInterface *peer);
virtual void Actor(BaseActor &actor, bool send);
protected:
static const int maxEffects = 20;
};
}
#endif //OPENMW_PACKETACTORSPELLSACTIVE_HPP