Runtime

This class represents a Jacquard bytecode runtime

new Runtime()
Instance Members
loadFile(handle)
removeFile(type)
run(singleInstruction)
moveInstructionPointerTo(newIP)
moveInstructionPointerToNode(nodeName)
reset()
currentInstructionPointer
ready
errors
logicLoaded
dialogueLoaded
sourceMapLoaded
variableList
variables
functionList
characters
localizedCharacters
nodeNames
nodeHistory

Runtime Messages

These are all in the "Messages" export

Command

An engine command to execute.

new Command()
Static Members
args

EndOfFile

We have reached the end of the file.

new EndOfFile()

Halt

We have halted due to reaching a halt execution command

new Halt()

NodeChange

We have moved to a new node

new NodeChange(nodeName: any)
Parameters
nodeName (any)
Instance Members
nodeName

Options

There are selectable options

new Options()
Instance Members
options

Text Messages

These are in the "Messages.Text" export

Show

Dialogue to display

new Show()
Instance Members
parts

ShowPart

A line spoken (optionally) by a character

new ShowPart()
Instance Members
localizedCharacterName
characterName
characterIndex
text

Variable Messages

These are in the "Messages.Variable" export

base

The base class for variable messages (not exported)

new base(variableIndex: any, variableName: any, value: any)
Parameters
variableIndex (any)
variableName (any)
value (any)
Instance Members
variableName
value
index

Save

A variable is being saved

new Save(variableIndex: any, variableName: any, value: any)

Extends base

Parameters
variableIndex (any)
variableName (any)
value (any)

Load

A variable is being loaded

new Load(variableIndex: any, variableName: any, value: any)

Extends base

Parameters
variableIndex (any)
variableName (any)
value (any)

FileIO Classes

FileIO

FileIO operations

FileIO
Static Members
FileIO.Open
FileIO.handle
FileIO.Type
FileIO.Types
FileIO.Types.Logic
FileIO.Types.Dialogue
FileIO.Types.SourceMap