Show / Hide Table of Contents

Class BlockLSCode

A block that contains LoliScript code for readonly visualization purposes.

Inheritance
System.Object
ViewModelBase
BlockBase
BlockLSCode
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
BlockBase.Label
BlockBase.Disabled
BlockBase.IsSelenium
BlockBase.IsCaptcha
BlockBase.FromLS(String)
BlockBase.Process(BotData)
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 BlockLSCode : BlockBase, INotifyPropertyChanged

Constructors

| Improve this Doc View Source

BlockLSCode()

Creates a LSCode block.

Declaration
public BlockLSCode()

Properties

| Improve this Doc View Source

Script

The LoliScript code to display.

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

Methods

| Improve this Doc View Source

FromLS(List<String>)

Builds a block from multiple lines of LoliScript code.

Declaration
public override BlockBase FromLS(List<string> lines)
Parameters
Type Name Description
System.Collections.Generic.List<System.String> lines

The lines of LoliScript code

Returns
Type Description
BlockBase

The parsed block object

Overrides
BlockBase.FromLS(List<String>)
| 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