LS kicking and leaving work.

This commit is contained in:
Filip Maj 2017-01-09 00:12:11 -05:00
parent 61e4effd74
commit 771b5b6d81
7 changed files with 139 additions and 16 deletions

View file

@ -698,7 +698,13 @@ namespace FFXIVClassic_Map_Server
public void RequestWorldLinkshellLeave(Player player, string lsname)
{
SubPacket packet = LinkshellLeavePacket.BuildPacket(player.playerSession, lsname, false);
SubPacket packet = LinkshellLeavePacket.BuildPacket(player.playerSession, lsname, null, false);
Server.GetWorldConnection().QueuePacket(packet, true, false);
}
public void RequestWorldLinkshellKick(Player player, string lsname, string kickedName)
{
SubPacket packet = LinkshellLeavePacket.BuildPacket(player.playerSession, lsname, kickedName, true);
Server.GetWorldConnection().QueuePacket(packet, true, false);
}