mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-22 13:23:53 +00:00
16 lines
440 B
C++
16 lines
440 B
C++
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
#include "PacketScriptMemberFloat.hpp"
|
|
|
|
using namespace mwmp;
|
|
|
|
PacketScriptMemberFloat::PacketScriptMemberFloat(RakNet::RakPeerInterface *peer) : WorldPacket(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);
|
|
}
|