/// <summary> /// Sends PetRegister to creature's client. /// </summary> /// <remarks> /// TODO: Test, does this tell the client it can control this creature? /// </remarks> /// <param name="creature"></param> /// <param name="pet"></param> 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); }