Replace ID_ACTIVATOR_ACTIVATE with ID_OBJECT_MOVE_WORLD
parent
c25ebc34b3
commit
947a677801
@ -1,14 +0,0 @@
|
||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||
#include "PacketActivatorActivate.hpp"
|
||||
|
||||
using namespace mwmp;
|
||||
|
||||
PacketActivatorActivate::PacketActivatorActivate(RakNet::RakPeerInterface *peer) : WorldPacket(peer)
|
||||
{
|
||||
packetID = ID_ACTIVATOR_ACTIVATE;
|
||||
}
|
||||
|
||||
void PacketActivatorActivate::Packet(RakNet::BitStream *bs, WorldEvent *event, bool send)
|
||||
{
|
||||
WorldPacket::Packet(bs, event, send);
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
#ifndef OPENMW_PACKETACTIVATORACTIVATE_HPP
|
||||
#define OPENMW_PACKETACTIVATORACTIVATE_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketActivatorActivate : public WorldPacket
|
||||
{
|
||||
public:
|
||||
PacketActivatorActivate(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Packet(RakNet::BitStream *bs, WorldEvent *event, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PACKETACTIVATORACTIVATE_HPP
|
@ -0,0 +1,14 @@
|
||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||
#include "PacketObjectMoveWorld.hpp"
|
||||
|
||||
using namespace mwmp;
|
||||
|
||||
PacketObjectMoveWorld::PacketObjectMoveWorld(RakNet::RakPeerInterface *peer) : WorldPacket(peer)
|
||||
{
|
||||
packetID = ID_OBJECT_MOVE_WORLD;
|
||||
}
|
||||
|
||||
void PacketObjectMoveWorld::Packet(RakNet::BitStream *bs, WorldEvent *event, bool send)
|
||||
{
|
||||
WorldPacket::Packet(bs, event, send);
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
#ifndef OPENMW_PACKETOBJECTMOVEWORLD_HPP
|
||||
#define OPENMW_PACKETOBJECTMOVEWORLD_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectMoveWorld : public WorldPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectMoveWorld(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Packet(RakNet::BitStream *bs, WorldEvent *event, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PACKETOBJECTMOVEWORLD_HPP
|
Loading…
Reference in New Issue