C# Class Yarn.Dialogue

ファイルを表示 Open project: thesecretlab/YarnSpinner Class Usage Examples

Public Properties

Property Type Description
LogDebugMessage System.Logger
LogErrorMessage System.Logger
library Library

Public Methods

Method 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

Method Description
Compile ( ) : String

Method Details

Analyse() public method

public Analyse ( Analysis context ) : void
context Analysis
return void

Dialogue() public method

public Dialogue ( Yarn continuity ) : System
continuity Yarn
return System

GetByteCode() public method

public GetByteCode ( ) : String
return String

GetTextForNode() public method

public GetTextForNode ( string nodeName ) : string
nodeName string
return string

LoadFile() public method

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

LoadString() public method

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
return void

NodeExists() public method

public NodeExists ( string nodeName ) : bool
nodeName string
return bool

Run() public method

public Run ( string startNode = DEFAULT_START ) : IEnumerable
startNode string
return IEnumerable

Stop() public method

public Stop ( ) : void
return void

UnloadAll() public method

public UnloadAll ( bool clearVisitedNodes = true ) : void
clearVisitedNodes bool
return void

Property Details

LogDebugMessage public_oe property

public Logger,System LogDebugMessage
return System.Logger

LogErrorMessage public_oe property

public Logger,System LogErrorMessage
return System.Logger

library public_oe property

public Library library
return Library