1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 11:53:52 +00:00
openmw-tes3mp/components/openmw-mp/Packets/World/PacketObjectScale.cpp

17 lines
408 B
C++
Raw Normal View History

#include <components/openmw-mp/NetworkMessages.hpp>
#include "PacketObjectScale.hpp"
using namespace mwmp;
PacketObjectScale::PacketObjectScale(RakNet::RakPeerInterface *peer) : WorldPacket(peer)
{
packetID = ID_OBJECT_SCALE;
2017-06-02 19:10:47 +00:00
hasCellData = true;
}
2017-06-02 19:10:47 +00:00
void PacketObjectScale::Object(WorldObject &worldObject, bool send)
{
2017-06-02 19:10:47 +00:00
WorldPacket::Object(worldObject, send);
RW(worldObject.scale, send);
}