2017-05-29 01:43:52 +00:00
|
|
|
#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);
|
|
|
|
|
2017-12-10 01:48:29 +00:00
|
|
|
RW(player->weather, send);
|
2017-05-29 01:43:52 +00:00
|
|
|
}
|