@kismet.ts/parsers-node / Exports / KismetClassTree

Class: KismetClassTree

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new KismetClassTree(nodes)

Parameters

NameType
nodesUnrealJsonReadFileNode[]

Defined in

classes/misc/tree.ts:41open in new window

Properties

nodes

nodes: UnrealJsonReadFileNode[]

Defined in

classes/misc/tree.ts:41open in new window


staticTypes

Private staticTypes: string[] = []

Defined in

classes/misc/tree.ts:45open in new window

Accessors

staticNodes

get staticNodes(): UnrealJsonReadFileNode[]

Returns

UnrealJsonReadFileNode[]

Defined in

classes/misc/tree.ts:51open in new window

Methods

addStaticType

Private addStaticType(type): void

Parameters

NameType
typestring

Returns

void

Defined in

classes/misc/tree.ts:47open in new window


createStaticTree

createStaticTree(className, depth): undefined | StaticClassTreeVariable[]

Parameters

NameType
classNamestring
depthnumber

Returns

undefined | StaticClassTreeVariable[]

Defined in

classes/misc/tree.ts:88open in new window


fill

fill(path, options?): undefined | BaseClassTreeVariable | BaseClassTreeVariable[]

Parameters

NameType
pathstring
options?KismetClassTreeFillOptions

Returns

undefined | BaseClassTreeVariable | BaseClassTreeVariable[]

Defined in

classes/misc/tree.ts:102open in new window


find

find(className): undefined | KismetClassTreeItem

Parameters

NameType
classNamestring

Returns

undefined | KismetClassTreeItem

Defined in

classes/misc/tree.ts:143open in new window


findVariable

findVariable(variable): undefined | RawUnrealJsonVariable

Parameters

NameType
variableBaseClassTreeVariable

Returns

undefined | RawUnrealJsonVariable

Defined in

classes/misc/tree.ts:160open in new window


formatVariables

formatVariables(node): undefined | BaseClassTreeVariable[]

Parameters

NameType
nodeundefined | UnrealJsonReadFileNode

Returns

undefined | BaseClassTreeVariable[]

Defined in

classes/misc/tree.ts:92open in new window


searchVariable

Private searchVariable(v, max, index?): undefined | StaticClassTreeVariable[]

Parameters

NameTypeDefault value
vundefined | BaseClassTreeVariable[]undefined
maxnumberundefined
indexnumber0

Returns

undefined | StaticClassTreeVariable[]

Defined in

classes/misc/tree.ts:57open in new window