StringTableEntry

Struct in Yarn.Unity

Inherits from System.ValueType

Summary

public struct StringTableEntry

Constructors

NameDescription
StringTableEntry(StringTableEntry)Initializes a new instance of the StringTableEntry struct, copying values from an existing instance.

Fields

NameDescription
CommentA comment used to describe this line to translators.
FileThe name of the Yarn script in which this line was originally found.
IDThe line ID for this line. This value will be the same across all localizations.
LanguageThe language that the line is written in.
LineNumberThe line number in the file indicated by File at which the original version of this line can be found.
LockA string used as part of a mechanism for checking if translated versions of this string are out of date.
NodeThe name of the node in which this line was originally found.
TextThe text of this line, in the language specified by Language .

Methods

NameDescription
CreateCSV(IEnumerable)Creates a CSV-formatted string containing data from entries .
Equals(object)
GetHashCode()
ParseFromCSV(string)Reads comma-separated value data from sourceText , and produces a collection of StringTableEntry structs.
ToString()