1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 08:23:51 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Object/PacketObjectScale.cpp

17 lines
406 B
C++
Raw Normal View History

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