Setting the active linkshell now works.

This commit is contained in:
Filip Maj
2017-01-09 23:12:56 -05:00
parent fe1a652cd1
commit 9bc3fc8dd7
11 changed files with 196 additions and 14 deletions

View File

@@ -5,13 +5,13 @@ using System.Text;
namespace FFXIVClassic_World_Server.Packets.WorldPackets.Receive.Group
{
class SetActiveLinkshellPacket
class LinkshellChangePacket
{
public bool invalidPacket = false;
public string lsName;
public string name;
public SetActiveLinkshellPacket(byte[] data)
public LinkshellChangePacket(byte[] data)
{
using (MemoryStream mem = new MemoryStream(data))
{
@@ -19,7 +19,7 @@ namespace FFXIVClassic_World_Server.Packets.WorldPackets.Receive.Group
{
try
{
name = Encoding.ASCII.GetString(binReader.ReadBytes(0x20)).Trim(new[] { '\0' });
lsName = Encoding.ASCII.GetString(binReader.ReadBytes(0x20)).Trim(new[] { '\0' });
}
catch (Exception)
{