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

26 lines
557 B
C++

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