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

PartyJoinR() public static method

Sends the correct response to the client sending a party join request, and success grants full party information.
This is also sent when changing channel whilst in a party, upon reaching the new channel.
public static PartyJoinR ( Creature creature, PartyJoinResult result ) : void
creature Creature
result PartyJoinResult
return void
		public static void PartyJoinR(Creature creature, PartyJoinResult result)
		{
			var packet = new Packet(Op.PartyJoinR, creature.EntityId);

			packet.PutByte((byte)result);
			if (result == PartyJoinResult.Success)
				packet.AddParty(creature.Party);

			creature.Client.Send(packet);

		}
Send