Found out the second weather packet value is a transition time.

This commit is contained in:
Filip Maj 2016-05-09 22:19:57 -04:00
parent b45390adb6
commit f0ec2125ac
5 changed files with 42 additions and 36 deletions

View file

@ -26,9 +26,9 @@ namespace FFXIVClassic_Map_Server.lua
player.playerSession.queuePacket(SetMusicPacket.buildPacket(player.actorId, musicID, playMode), true, false);
}
public void setWeather(uint weatherID)
public void setWeather(ushort weatherID)
{
player.playerSession.queuePacket(SetWeatherPacket.buildPacket(player.actorId, weatherID, true), true, false);
player.playerSession.queuePacket(SetWeatherPacket.buildPacket(player.actorId, weatherID, 1), true, false);
}
public void getParameter(string paramName)