Skip to content

uesp-eso-build-wrapper v0.7.0


uesp-eso-build-wrapper / isCpNodePurchaseable

Function: isCpNodePurchaseable() ​

isCpNodePurchaseable(abilityId, nodes, graph, getPoints): boolean

Convenience single-node check. Prefer createCpGate / computePurchaseableNodes when checking more than one node, since this recomputes the whole flood-fill per call.

Parameters ​

abilityId ​

number

nodes ​

readonly CpGateNode[]

graph ​

Readonly<Record<number, number[]>>

getPoints ​

(abilityId) => number

Returns ​

boolean

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