C# Class Yarn.Dialogue

Afficher le fichier Open project: thesecretlab/YarnSpinner Class Usage Examples

Méthodes publiques

Свойство Type Description
LogDebugMessage System.Logger
LogErrorMessage System.Logger
library Library

Méthodes publiques

Méthode Description
Analyse ( Analysis context ) : void
Dialogue ( Yarn continuity ) : System
GetByteCode ( ) : String
GetTextForNode ( string nodeName ) : string
LoadFile ( string fileName, bool showTokens = false, bool showParseTree = false, string onlyConsiderNode = null ) : void
LoadString ( string text, string fileName = "<input>", bool showTokens = false, bool showParseTree = false, string onlyConsiderNode = null ) : void
NodeExists ( string nodeName ) : bool
Run ( string startNode = DEFAULT_START ) : IEnumerable
Stop ( ) : void
UnloadAll ( bool clearVisitedNodes = true ) : void

Private Methods

Méthode Description
Compile ( ) : String

Method Details

Analyse() public méthode

public Analyse ( Analysis context ) : void
context Analysis
Résultat void

Dialogue() public méthode

public Dialogue ( Yarn continuity ) : System
continuity Yarn
Résultat System

GetByteCode() public méthode

public GetByteCode ( ) : String
Résultat String

GetTextForNode() public méthode

public GetTextForNode ( string nodeName ) : string
nodeName string
Résultat string

LoadFile() public méthode

public LoadFile ( string fileName, bool showTokens = false, bool showParseTree = false, string onlyConsiderNode = null ) : void
fileName string
showTokens bool
showParseTree bool
onlyConsiderNode string
Résultat void

LoadString() public méthode

public LoadString ( string text, string fileName = "<input>", bool showTokens = false, bool showParseTree = false, string onlyConsiderNode = null ) : void
text string
fileName string
showTokens bool
showParseTree bool
onlyConsiderNode string
Résultat void

NodeExists() public méthode

public NodeExists ( string nodeName ) : bool
nodeName string
Résultat bool

Run() public méthode

public Run ( string startNode = DEFAULT_START ) : IEnumerable
startNode string
Résultat IEnumerable

Stop() public méthode

public Stop ( ) : void
Résultat void

UnloadAll() public méthode

public UnloadAll ( bool clearVisitedNodes = true ) : void
clearVisitedNodes bool
Résultat void

Property Details

LogDebugMessage public_oe property

public Logger,System LogDebugMessage
Résultat System.Logger

LogErrorMessage public_oe property

public Logger,System LogErrorMessage
Résultat System.Logger

library public_oe property

public Library library
Résultat Library