forked from mirror/openmw-tes3mp
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.
17 lines
412 B
C++
17 lines
412 B
C++
8 years ago
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
||
|
#include "PacketObjectMove.hpp"
|
||
|
|
||
|
using namespace mwmp;
|
||
|
|
||
7 years ago
|
PacketObjectMove::PacketObjectMove(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
|
||
8 years ago
|
{
|
||
|
packetID = ID_OBJECT_MOVE;
|
||
8 years ago
|
hasCellData = true;
|
||
8 years ago
|
}
|
||
|
|
||
8 years ago
|
void PacketObjectMove::Object(WorldObject &worldObject, bool send)
|
||
8 years ago
|
{
|
||
7 years ago
|
ObjectPacket::Object(worldObject, send);
|
||
8 years ago
|
RW(worldObject.position.pos, send);
|
||
8 years ago
|
}
|