forked from mirror/openmw-tes3mp
16 lines
441 B
C++
16 lines
441 B
C++
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
#include "PacketScriptMemberFloat.hpp"
|
|
|
|
using namespace mwmp;
|
|
|
|
PacketScriptMemberFloat::PacketScriptMemberFloat(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
|
|
{
|
|
packetID = ID_SCRIPT_MEMBER_FLOAT;
|
|
}
|
|
|
|
void PacketScriptMemberFloat::Object(WorldObject &worldObject, bool send)
|
|
{
|
|
RW(worldObject.refId, send);
|
|
RW(worldObject.index, send);
|
|
RW(worldObject.floatVal, send);
|
|
}
|