mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-03 05:15:32 +00:00
18 lines
472 B
C++
18 lines
472 B
C++
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
||
|
#include "PacketClientScriptLocal.hpp"
|
||
|
|
||
|
using namespace mwmp;
|
||
|
|
||
|
PacketClientScriptLocal::PacketClientScriptLocal(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
|
||
|
{
|
||
|
packetID = ID_CLIENT_SCRIPT_LOCAL;
|
||
|
hasCellData = true;
|
||
|
}
|
||
|
|
||
|
void PacketClientScriptLocal::Object(BaseObject &baseObject, bool send)
|
||
|
{
|
||
|
ObjectPacket::Object(baseObject, send);
|
||
|
RW(baseObject.index, send);
|
||
|
RW(baseObject.shortVal, send);
|
||
|
}
|