C# Class Yarn.YarnSpinnerConsole.ConsoleRunnerImplementation

Inheritance: Yarn.VariableStorage
Show file Open project: thesecretlab/YarnSpinner

Public Properties

Property Type Description
autoSelectFirstOption bool
autoSelectOptionNumber int
expectedNextCommand string
expectedNextLine string
numberOfExpectedOptions int

Public Methods

Method Description
Clear ( ) : void
ConsoleRunnerImplementation ( bool waitForLines = false ) : System
DialogueComplete ( ) : void
GetNumber ( string variableName ) : float
GetValue ( string variableName ) : Value
HandleDebugMessage ( string message ) : void
HandleErrorMessage ( string error ) : void
RunCommand ( string command ) : void
RunLine ( Yarn lineText ) : void
RunOptions ( Options optionsGroup, OptionChooser optionChooser ) : void
SetNumber ( string variableName, float number ) : void
SetValue ( string variableName, Value value ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

ConsoleRunnerImplementation() public method

public ConsoleRunnerImplementation ( bool waitForLines = false ) : System
waitForLines bool
return System

DialogueComplete() public method

public DialogueComplete ( ) : void
return void

GetNumber() public method

public GetNumber ( string variableName ) : float
variableName string
return float

GetValue() public method

public GetValue ( string variableName ) : Value
variableName string
return Value

HandleDebugMessage() public method

public HandleDebugMessage ( string message ) : void
message string
return void

HandleErrorMessage() public method

public HandleErrorMessage ( string error ) : void
error string
return void

RunCommand() public method

public RunCommand ( string command ) : void
command string
return void

RunLine() public method

public RunLine ( Yarn lineText ) : void
lineText Yarn
return void

RunOptions() public method

public RunOptions ( Options optionsGroup, OptionChooser optionChooser ) : void
optionsGroup Options
optionChooser OptionChooser
return void

SetNumber() public method

public SetNumber ( string variableName, float number ) : void
variableName string
number float
return void

SetValue() public method

public SetValue ( string variableName, Value value ) : void
variableName string
value Value
return void

Property Details

autoSelectFirstOption public property

public bool autoSelectFirstOption
return bool

autoSelectOptionNumber public property

public int autoSelectOptionNumber
return int

expectedNextCommand public property

public string expectedNextCommand
return string

expectedNextLine public property

public string expectedNextLine
return string

numberOfExpectedOptions public property

public int numberOfExpectedOptions
return int