[General] Add weather struct and packet

sol2-server-rewrite
Koncord 7 years ago
parent aff1859759
commit 1ef6ad6215

@ -288,6 +288,12 @@ namespace mwmp
unsigned int resurrectType;
bool diedSinceArrestAttempt;
struct
{
int currentWeather, nextWeather;
float updateTime, transitionFactor;
} weather;
};
}

@ -13,5 +13,5 @@ void PacketGameWeather::Packet(RakNet::BitStream *bs, bool send)
{
PlayerPacket::Packet(bs, send);
// Placeholder to be filled in later
RW(player->weather, send);
}

Loading…
Cancel
Save