mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
LS kicking and leaving work.
This commit is contained in:
@@ -9,8 +9,9 @@ namespace FFXIVClassic_World_Server.Packets.WorldPackets.Receive.Group
|
||||
{
|
||||
public bool invalidPacket = false;
|
||||
|
||||
public bool isDisband;
|
||||
public bool isKicked;
|
||||
public string lsName;
|
||||
public string kickedName;
|
||||
|
||||
public LinkshellLeavePacket(byte[] data)
|
||||
{
|
||||
@@ -20,7 +21,8 @@ namespace FFXIVClassic_World_Server.Packets.WorldPackets.Receive.Group
|
||||
{
|
||||
try
|
||||
{
|
||||
isDisband = binReader.ReadUInt16() == 1;
|
||||
isKicked = binReader.ReadUInt16() == 1;
|
||||
kickedName = Encoding.ASCII.GetString(binReader.ReadBytes(0x20)).Trim(new[] { '\0' });
|
||||
lsName = Encoding.ASCII.GetString(binReader.ReadBytes(0x20)).Trim(new[] { '\0' });
|
||||
}
|
||||
catch (Exception)
|
||||
|
Reference in New Issue
Block a user