Class BlockLSCode
A block that contains LoliScript code for readonly visualization purposes.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
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 SourceBlockLSCode()
Creates a LSCode block.
Declaration
public BlockLSCode()
Properties
| Improve this Doc View SourceScript
The LoliScript code to display.
Declaration
public string Script { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceFromLS(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
| Improve this Doc View SourceToLS(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
Implements
System.ComponentModel.INotifyPropertyChanged