Skip to content

uesp-eso-build-wrapper v0.7.0


uesp-eso-build-wrapper / computePurchaseableNodes

Function: computePurchaseableNodes() ​

computePurchaseableNodes(nodes, graph, getPoints): Set<number>

Flood-fill from every root, returning the set of purchaseable abilityIds for the current allocation.

visited is reset at each root (as in UESP), so a node reachable from any root counts. Traversal stops at a node whose points are below its jumpPointDelta.

Parameters ​

nodes ​

readonly CpGateNode[]

graph ​

Readonly<Record<number, number[]>>

getPoints ​

(abilityId) => number

Returns ​

Set<number>

Elder Scrolls Online is a trademark of ZeniMax Media Inc. This project is not affiliated with or endorsed by ZeniMax Media Inc.