Aura.Channel.Network.Sending.Send.PartyCreateUpdate C# (CSharp) Method

PartyCreateUpdate() public static method

Sent to clients when a new creature joins.
I'm not entirely sure of the purpose of this packet, I don't think the client would mind if you didn't send it.
public static PartyCreateUpdate ( Creature creature ) : void
creature Creature
return void
		public static void PartyCreateUpdate(Creature creature)
		{
			var loc = creature.GetPosition();

			var packet = new Packet(Op.PartyCreateUpdate, 0);

			packet.PutLong(creature.EntityId);
			packet.PutInt(creature.PartyPosition);
			packet.PutLong(creature.EntityId);
			packet.PutString(creature.Name);
			packet.PutByte(1);
			packet.PutInt(creature.Region.Id);
			packet.PutInt(loc.X);
			packet.PutInt(loc.Y);
			packet.PutByte(0);

			packet.PutInt((int)((creature.Life * 100) / creature.LifeMax));
			packet.PutInt((int)100);
			packet.PutInt(creature.Party.Leader == creature ? 3 : 1); // I've only seen the leader with a 3 so far
			packet.PutLong(0);

			creature.Party.Broadcast(packet, true);
		}
Send