All pages
Powered by GitBook
1 of 8

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Comment

Field in TextReplacement

Summary

A descriptive comment explaining why the substitution is necessary.

public string Comment;

TextReplacement

Struct in

Inherits from System.ValueType

Summary

Contains information describing a replacement to make in a string.

ReplacementText

Field in

Summary

The string to replace with at .

Start

Field in

Summary

The position in the original string where the substitution should be made.

public string ReplacementText;
TextReplacement
OriginalText
Start
public int Start;
TextReplacement
Fields
Name
Description

A descriptive comment explaining why the substitution is necessary.

The string to expect at in the original string.

The string to replace with at .

The position in the original string where the substitution should be made.

The line in the original string where the substitution should be made.

Properties

Name
Description

Gets the length of .

Gets the length of .

Yarn.Compiler.Upgrader
public struct TextReplacement
Comment
OriginalText
Start
ReplacementText
OriginalText
Start
Start
StartLine
OriginalLength
OriginalText
ReplacementLength
ReplacementLength

OriginalText

Field in TextReplacement

Summary

The string to expect at Start in the original string.

public string OriginalText;

StartLine

Field in TextReplacement

Summary

The line in the original string where the substitution should be made.

public int StartLine;

ReplacementLength

Property in TextReplacement

Summary

Gets the length of ReplacementLength .

public int ReplacementLength { get };

OriginalLength

Property in

Summary

Gets the length of .

public int OriginalLength { get };
TextReplacement
OriginalText