Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
string
path
The path to the file to load.
Class in Yarn.Compiler
Inherits from System.Object
Yarn Projects represent instructions on where to find Yarn scripts and associated assets, and how they should be compiled.
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
string
path
The path of the file to write to.
Stores the locations of where localized assets and a localized string table for a Yarn Project may be found.
The current version of .yarnproject
file format.
Gets a string containing JSON-formatted text that represents this Project .
Gets a value indicating whether path
is a path that is included in this project.
Loads and parses a Project from a file on disk.
Saves a Project as JSON-formatted text to a file on disk.
Gets or sets the base language of the project, as an IETF BCP-47 language tag.
Gets or sets a dictionary containing instructions that control how the Yarn Spinner compiler should compile a project.
Gets or sets the path to a JSON file containing command and function definitions that this project references.
Gets the path to the Definitions file, relative to this project's location.
Gets or sets the collection of file search patterns that should be excluded from this project.
Gets or sets the file version of the project.
Gets or sets the collection of LocalizationInfo objects that store information about where localized data for this project is found.
Gets the path that the Project was loaded from.
Gets or sets the collection of file search patterns used to locate Yarn files that form this project.
Gets the collection of Yarn files that should be used to compile the project.
Method in Project
Gets a value indicating whether path
is a path that is included in this project.
Name | Description |
---|---|
true
if path
is a path that is included in this project; false
otherwise.
string
path
The path to check.
Property in Project
Gets or sets the collection of file search patterns used to locate Yarn files that form this project.
Property in Project
Gets the path to the Definitions file, relative to this project's location.
Property in Project
Gets or sets the base language of the project, as an IETF BCP-47 language tag.
The base language is the language that the Yarn scripts is written in.
Property in Project
Gets or sets the path to a JSON file containing command and function definitions that this project references.
Definitions files are used by editing tools to provide type information and other externally-defined data used by the Yarn scripts.
Property in LocalizationInfo
Gets or sets the location at which localized assets may be found.
Property in Project
Gets the collection of Yarn files that should be used to compile the project.
This collection uses a Yarn.Compiler.Project.Matcher
to find all files specified by SourceFilePatterns , excluding those that are specified by ExcludeFilePatterns .
Property in Project
Gets or sets the collection of file search patterns that should be excluded from this project.
If a file is matched by a pattern in SourceFilePatterns , and is also matched by a pattern in ExcludeFilePatterns , then it is not included in the value returned by SourceFiles .
Property in Project
Gets the path that the Project was loaded from.
This value is not stored when the file is saved, but is instead determined when the file is loaded by LoadFromFile(string) .
Gets or sets the location at which localized assets may be found. |
Gets or sets the location at which the localized string table may be found. |
Property in LocalizationInfo
Gets or sets the location at which the localized string table may be found.