forked from teamnwah/openmw-tes3coop
24 lines
559 B
C++
24 lines
559 B
C++
#ifndef OPENMW_PROCESSORACTORCELLCHANGE_HPP
|
|
#define OPENMW_PROCESSORACTORCELLCHANGE_HPP
|
|
|
|
#include "apps/openmw-mp/ActorProcessor.hpp"
|
|
|
|
namespace mwmp
|
|
{
|
|
class ProcessorActorCellChange : public ActorProcessor
|
|
{
|
|
public:
|
|
ProcessorActorCellChange()
|
|
{
|
|
BPP_INIT(ID_ACTOR_CELL_CHANGE)
|
|
}
|
|
|
|
void Do(ActorPacket &packet, Player &player, BaseActorList &actorList) override
|
|
{
|
|
// Send this to everyone
|
|
packet.Send(true);
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PROCESSORACTORCELLCHANGE_HPP
|