mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 04:19:55 +00:00
15 lines
406 B
C++
15 lines
406 B
C++
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
#include "PacketScriptGlobalShort.hpp"
|
|
|
|
using namespace mwmp;
|
|
|
|
PacketScriptGlobalShort::PacketScriptGlobalShort(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
|
|
{
|
|
packetID = ID_SCRIPT_GLOBAL_SHORT;
|
|
}
|
|
|
|
void PacketScriptGlobalShort::Object(BaseObject &baseObject, bool send)
|
|
{
|
|
RW(baseObject.varName, send);
|
|
RW(baseObject.shortVal, send);
|
|
}
|