forked from mirror/openmw-tes3mp
17 lines
408 B
C++
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);
|
|
}
|