forked from teamnwah/openmw-tes3coop
On second thought, rename ID_OBJECT_MOVE_WORLD into ID_OBJECT_MOVE
parent
947a677801
commit
0fb9b6eefb
@ -0,0 +1,14 @@
|
||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||
#include "PacketObjectMove.hpp"
|
||||
|
||||
using namespace mwmp;
|
||||
|
||||
PacketObjectMove::PacketObjectMove(RakNet::RakPeerInterface *peer) : WorldPacket(peer)
|
||||
{
|
||||
packetID = ID_OBJECT_MOVE;
|
||||
}
|
||||
|
||||
void PacketObjectMove::Packet(RakNet::BitStream *bs, WorldEvent *event, bool send)
|
||||
{
|
||||
WorldPacket::Packet(bs, event, send);
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
#ifndef OPENMW_PacketObjectMove_HPP
|
||||
#define OPENMW_PacketObjectMove_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectMove : public WorldPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectMove(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Packet(RakNet::BitStream *bs, WorldEvent *event, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PacketObjectMove_HPP
|
@ -1,14 +0,0 @@
|
||||
#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);
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
#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