@kismet.ts/core / Exports / VariableConnection

Class: VariableConnection

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new VariableConnection(input, type, index?)

Parameters

NameType
inputstring
typeKismetConnectionType
index?number

Overrides

BaseKismetConnection.constructor

Defined in

item/link.ts:234open in new window

Properties

CachedProperty

CachedProperty: boolean

Defined in

item/link.ts:226open in new window


DrawX

DrawX: number

Defined in

item/link.ts:229open in new window


MaxVars

MaxVars: number

Defined in

item/link.ts:228open in new window


MinVars

MinVars: number

Defined in

item/link.ts:227open in new window


PropertyName

PropertyName: string

Defined in

item/link.ts:224open in new window


bAllowAnyType

bAllowAnyType: boolean

Defined in

item/link.ts:225open in new window


bHidden

bHidden: boolean

Inherited from

BaseKismetConnection.bHidden

Defined in

item/link.ts:38open in new window


bModifiesLinkedObject

bModifiesLinkedObject: boolean

Defined in

item/link.ts:232open in new window


bSequenceNeverReadsOnlyWritesToThisVar

bSequenceNeverReadsOnlyWritesToThisVar: boolean

Defined in

item/link.ts:231open in new window


bWriteable

bWriteable: boolean

Defined in

item/link.ts:230open in new window


connectionIndex

connectionIndex: number = 0

Inherited from

BaseKismetConnection.connectionIndex

Defined in

item/link.ts:34open in new window


expectedType

expectedType: string

Defined in

item/link.ts:223open in new window


input

Protected input: string

Inherited from

BaseKismetConnection.input

Defined in

item/link.ts:31open in new window


kismet

Protected kismet: BaseKismetConnectionOptions

Inherited from

BaseKismetConnection.kismet

Defined in

item/link.ts:30open in new window


linkedIds

linkedIds: string[] = []

Inherited from

BaseKismetConnection.linkedIds

Defined in

item/link.ts:37open in new window


links: null | string[] = null

Inherited from

BaseKismetConnection.links

Defined in

item/link.ts:36open in new window


name

name: string

Inherited from

BaseKismetConnection.name

Defined in

item/link.ts:33open in new window


type

Protected Readonly type: KismetConnectionType

Inherited from

BaseKismetConnection.type

Defined in

item/link.ts:29open in new window

Accessors

isUsed

get isUsed(): boolean

Whether the socket currently is being used by having at least one connection with another socket

Returns

boolean

Inherited from

BaseKismetConnection.isUsed

Defined in

item/link.ts:133open in new window


typeName

Private get typeName(): string

Returns

string

Inherited from

BaseKismetConnection.typeName

Defined in

item/link.ts:97open in new window


value

get value(): string

Returns

string

Inherited from

BaseKismetConnection.value

Defined in

item/link.ts:212open in new window

Methods

addLink(linkId, index?, hidden?): VariableConnection

Add a new socket link connection

Parameters

NameTypeDescription
linkIdstringThe linkId of the (other) item to connect to
index?numberThe index of the input variable socket that will be connected to. Empty or 0 if the socket is the first input socket on the item
hidden?booleanChange the hidden state of this socket

Returns

VariableConnection

Overrides

BaseKismetConnection.addLink

Defined in

item/link.ts:274open in new window


breakAllLinks(): VariableConnection

Returns

VariableConnection

Inherited from

BaseKismetConnection.breakAllLinks

Defined in

item/link.ts:177open in new window


breakLinkTo

breakLinkTo(linkId): VariableConnection

Parameters

NameType
linkIdstring

Returns

VariableConnection

Inherited from

BaseKismetConnection.breakLinkTo

Defined in

item/link.ts:166open in new window


format

Protected format(keys?): string

Parameters

NameType
keys?string[]

Returns

string

Inherited from

BaseKismetConnection.format

Defined in

item/link.ts:101open in new window


isBaseConnection

isBaseConnection(): this is BaseKismetConnection

Returns

this is BaseKismetConnection

Inherited from

BaseKismetConnection.isBaseConnection

Defined in

item/link.ts:184open in new window


isItemConnection

isItemConnection(): this is ItemConnection

Returns

this is ItemConnection

Inherited from

BaseKismetConnection.isItemConnection

Defined in

item/link.ts:188open in new window


isOutput

isOutput(): boolean

Returns

boolean

Defined in

item/link.ts:300open in new window


isVariableConnection

isVariableConnection(): this is VariableConnection

Returns

this is VariableConnection

Inherited from

BaseKismetConnection.isVariableConnection

Defined in

item/link.ts:195open in new window


prefix

prefix(index?): string

Parameters

NameType
index?number

Returns

string

Inherited from

BaseKismetConnection.prefix

Defined in

item/link.ts:208open in new window


setHidden

setHidden(hidden): VariableConnection

Parameters

NameType
hiddenboolean

Returns

VariableConnection

Inherited from

BaseKismetConnection.setHidden

Defined in

item/link.ts:202open in new window


toString

toString(index?): string

Parameters

NameType
index?number

Returns

string

Overrides

BaseKismetConnection.toString

Defined in

item/link.ts:304open in new window


convertInput

Static convertInput(input): Record<string, string | number | boolean>

Parameters

NameType
inputstring

Returns

Record<string, string | number | boolean>

Inherited from

BaseKismetConnection.convertInput

Defined in

item/link.ts:80open in new window


Static convertLink(type, input, index?): undefined | ItemConnection | VariableConnection

Parameters

NameType
typeKismetConnectionType
inputstring
index?number

Returns

undefined | ItemConnection | VariableConnection

Inherited from

BaseKismetConnection.convertLink

Defined in

item/link.ts:64open in new window