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-tes3mp/apps/openmw-mp/processors/player/ProcessorPlayerCooldowns.hpp

27 lines
593 B
C++

#ifndef OPENMW_PROCESSORPLAYERCOOLDOWNS_HPP
#define OPENMW_PROCESSORPLAYERCOOLDOWNS_HPP
#include "../PlayerProcessor.hpp"
namespace mwmp
{
class ProcessorPlayerCooldowns : public PlayerProcessor
{
public:
ProcessorPlayerCooldowns()
{
BPP_INIT(ID_PLAYER_COOLDOWNS)
}
void Do(PlayerPacket &packet, Player &player) override
{
DEBUG_PRINTF(strPacketID.c_str());
Script::Call<Script::CallbackIdentity("OnPlayerCooldowns")>(player.getId());
}
};
}
#endif //OPENMW_PROCESSORPLAYERCOOLDOWNS_HPP