public static void AddPartyMembers(this Packet packet, Party party)
{
var members = party.GetMembers();
for (int i = members.Length - 1; i >= 0; i--)
{
packet.AddPartyMember(members[i]);
packet.PutInt(i == 0 ? 3 : 1);
// [200200, NA242 (2016-12-15)]
{
packet.PutByte(0);
packet.PutShort(128);
packet.PutInt(0);
packet.PutInt(0);
packet.PutInt(0);
}
packet.PutLong(0);
}
packet.PutByte(0);
}