1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 11:53:52 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Player/PacketGameWeather.cpp
2017-12-10 09:48:29 +08:00

17 lines
408 B
C++

#include "PacketGameWeather.hpp"
#include <components/openmw-mp/NetworkMessages.hpp>
using namespace mwmp;
PacketGameWeather::PacketGameWeather(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
{
packetID = ID_GAME_WEATHER;
orderChannel = CHANNEL_SYSTEM;
}
void PacketGameWeather::Packet(RakNet::BitStream *bs, bool send)
{
PlayerPacket::Packet(bs, send);
RW(player->weather, send);
}