Show / Hide Table of Contents

Class BlockImageCaptcha

A block that solves an image captcha challenge.

Inheritance
System.Object
ViewModelBase
BlockBase
BlockCaptcha
BlockImageCaptcha
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
BlockCaptcha.Balance
BlockBase.Label
BlockBase.Disabled
BlockBase.IsSelenium
BlockBase.IsCaptcha
BlockBase.FromLS(List<String>)
BlockBase.ReplaceValuesRecursive(String, BotData)
BlockBase.ReplaceValues(String, BotData)
BlockBase.ParseArguments(String, Char, Char)
BlockBase.UpdateSeleniumData(BotData)
BlockBase.InsertVariables(BotData, Boolean, Boolean, List<String>, String, String, String)
BlockBase.SaveScreenshot(Screenshot, BotData)
BlockBase.SaveScreenshot(Bitmap, BotData)
BlockBase.GetFirstAvailableFileName(String, String, String)
BlockBase.MakeValidFileName(String, Boolean)
BlockBase.TruncatePretty(String, Int32)
ViewModelBase.PropertyChanged
ViewModelBase.OnPropertyChanged(String)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: RuriLib
Assembly: RuriLib.dll
Syntax
public class BlockImageCaptcha : BlockCaptcha, INotifyPropertyChanged

Constructors

| Improve this Doc View Source

BlockImageCaptcha()

Creates an Image Captcha block.

Declaration
public BlockImageCaptcha()

Properties

| Improve this Doc View Source

Base64

Whether the Url is a base64-encoded captcha image.

Declaration
public bool Base64 { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SendScreenshot

Whether the captcha image needs to be taken by the last screenshot taken by selenium.

Declaration
public bool SendScreenshot { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Url

The URL to download the captcha image from.

Declaration
public string Url { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

VariableName

The name of the variable where the challenge solution will be stored.

Declaration
public string VariableName { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

FromLS(String)

Builds a block from a line of LoliScript code.

Declaration
public override BlockBase FromLS(string line)
Parameters
Type Name Description
System.String line

The line of LoliScript code

Returns
Type Description
BlockBase

The parsed block object

Overrides
BlockBase.FromLS(String)
| Improve this Doc View Source

Process(BotData)

Executes the actual block logic.

Declaration
public override void Process(BotData data)
Parameters
Type Name Description
BotData data

The BotData needed for variable replacement

Overrides
BlockCaptcha.Process(BotData)
| Improve this Doc View Source

ToLS(Boolean)

Converts the block to LoliScript code.

Declaration
public override string ToLS(bool indent = true)
Parameters
Type Name Description
System.Boolean indent
Returns
Type Description
System.String
Overrides
BlockBase.ToLS(Boolean)

Implements

System.ComponentModel.INotifyPropertyChanged
  • Improve this Doc
  • View Source
Back to top Generated by DocFX