Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Field in LineParser
The name of the property in replacement attributes that contains the text of the attribute.
Field in LineParser
The name of the 'name' property, on the implicitly-generated character
attribute.
LineParser.CharacterAttribute: The name of the implicitly-generated character
attribute.
Field in LineParser
The name of the implicitly-generated character
attribute.
LineParser.CharacterAttributeNameProperty: The name of the 'name' property, on the implicitly-generated character
attribute.
Field in LineParser
The name of the property to use to signify that trailing whitespace should be trimmed if a tag had preceding whitespace or begins the line. This property must be a bool value.
Class in Yarn.Markup
Inherits from System.Object
Parses text and produces markup information.
The name of the implicitly-generated character
attribute.
The name of the 'name' property, on the implicitly-generated character
attribute.
The name of the property in replacement attributes that contains the text of the attribute.
The name of the property to use to signify that trailing whitespace should be trimmed if a tag had preceding whitespace or begins the line. This property must be a bool value.
Replaces all substitution markers in a text with the given substitution list.
Registers an object as a marker processor for a given marker name.
Method in LineParser
string
input
string
localeCode
bool
squish
bool
sort
bool
addImplicitCharacterAttribute
Method in LineParser
Replaces all substitution markers in a text with the given substitution list.
This method replaces substitution markers - for example, {0}
with the corresponding entry in substitutions
. If text
contains a substitution marker whose index is not present in substitutions
, it is ignored.
string
text
The text containing substitution markers.
System.Collections.Generic.IList<string>
substitutions
The list of substitutions.
text
, with the content from substitutions
inserted.
Struct in LineParser
Inherits from System.ValueType
string
input
string
localeCode
bool
squish
bool
sort
bool
addImplicitCharacterAttribute
Method in LineParser
Registers an object as a marker processor for a given marker name.
When a marker processor is registered for a marker name, the parser will ask the processor for text to insert into the plain text. This allows users of the LineParser class to dynamically replace text in a line. The nomarkup
tag is implemented in this way by the LineParser class directly; the Dialogue class uses this mechanism to implement the select
, plural
and ordinal
markers.
string
attributeName
The name of the marker that should use this marker processor.
markerProcessor
The object that should be invoked when markers with this name are encountered.