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

PetRegister() public static method

Sends PetRegister to creature's client.
TODO: Test, does this tell the client it can control this creature?
public static PetRegister ( Creature creature, Creature pet, SubordinateType type ) : void
creature Creature
pet Creature
type SubordinateType
return void
		public static void PetRegister(Creature creature, Creature pet, SubordinateType type)
		{
			var packet = new Packet(Op.PetRegister, creature.EntityId);
			packet.PutLong(pet.EntityId);
			packet.PutByte((byte)type);

			creature.Client.Send(packet);
		}
Send