1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 22:19:54 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Object/PacketObjectState.cpp

17 lines
412 B
C++
Raw Normal View History

#include <components/openmw-mp/NetworkMessages.hpp>
#include "PacketObjectState.hpp"
using namespace mwmp;
PacketObjectState::PacketObjectState(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
{
packetID = ID_OBJECT_STATE;
hasCellData = true;
}
2017-07-13 06:46:30 +00:00
void PacketObjectState::Object(BaseObject &baseObject, bool send)
2017-07-13 06:46:30 +00:00
{
ObjectPacket::Object(baseObject, send);
RW(baseObject.objectState, send);
2017-07-13 06:46:30 +00:00
}