Hacking — V's netrunner side. Serves every R.requestBreach with the Breach
Protocol minigame, puts hackable street furniture (ATMs, vending machines,
access terminals, security cameras) in the city as interactables, tags the
enemy V is looking at while the shades are on and runs quickhacks on it
from a menu, and regenerates RAM. Lives on "mount_hacking" in play.
put(name: string, tree: any) → void
| arg | type | description |
|---|
| name | string | |
| tree | any | |
hide(name: string) → void
| arg | type | description |
|---|
| name | string | |
upper(s: any) → string return string
flash(color: string?) → void
| arg | type | description |
|---|
| color | string? | |
takeModal(name: string) → boolean
| arg | type | description |
|---|
| name | string | |
closeModal(keepFocus: boolean?, noRelock: boolean?) → void
keepFocus: someone else already took or will clear the focus.
noRelock: the component is going away; leave the pointer alone.
| arg | type | description |
|---|
| keepFocus | boolean? | |
| noRelock | boolean? | |
findTarget(id: string) → any
Targets
| arg | type | description |
|---|
| id | string | |
targetLevel(t: any) → number
drawTag( ) → void
The tag readout beside the reticle
scan( ) → void
Pick the hostile V is facing: nearest within scan range in a 60° cone
(or right next to V), weighted towards the centre of V's view.
glitch(p: any, lift: number, label: string, color: string) → void
Glitch billboard over a hacked target (one pooled Text3D)
| arg | type | description |
|---|
| p | any | |
| lift | number | |
| label | string | |
| color | string | |
menuRows( ) → void
Quickhacks
closeMenu(keepFocus: boolean?, noRelock: boolean?) → void
| arg | type | description |
|---|
| keepFocus | boolean? | |
| noRelock | boolean? | |
startUpload(name: string, seconds: number, color: string, onDone: () → void
| arg | type | description |
|---|
| name | string | |
| seconds | number | |
| color | string | |
| onDone | ( | |
land(row: any, tid: string) → void
| arg | type | description |
|---|
| row | any | |
| tid | string | |
runQuickhack(i: number) → void
| arg | type | description |
|---|
| i | number | |
menuInput(a: string) → void
| arg | type | description |
|---|
| a | string | |
itemName(id: string) → string
Breach Protocol
| arg | type | description |
|---|
| id | string | |
nearestOnLine(k: number) → any
Free cell of the active line nearest position k along it.
| arg | type | description |
|---|
| k | number | |
moveCursor(d: number) → void
| arg | type | description |
|---|
| d | number | |
daemonPlan(def: any, P: any, diff: number) → void
Daemon names and what each pays out.
| arg | type | description |
|---|
| def | any | |
| P | any | |
| diff | number | |
finishBreach(reason: string?) → void
| arg | type | description |
|---|
| reason | string? | |
closeBreach( ) → void
The player is done with the result card: hand the outcome to the caller.
dropBreach(report: boolean, noRelock: boolean?) → void
Drop the breach without a result card (focus stolen, phase change, reset).
| arg | type | description |
|---|
| report | boolean | |
| noRelock | boolean? | |
pickAt(r: number, c: number) → void
| arg | type | description |
|---|
| r | number | |
| c | number | |
openBreach(e: any) → void
breachInput(a: string) → void
| arg | type | description |
|---|
| a | string | |
hover( ) → void
Mouse hover: the cell under the pointer becomes the cursor (only when the
pointer actually moved, so keyboard/pad navigation is never overridden).
onNav(a: string) → void
| arg | type | description |
|---|
| a | string | |
syncHacked( ) → void
Hackable street furniture
rewardFor(s: any) → void
What a breached spot pays (daemon 1's line) and the grant itself.
onResult(success: boolean) → void
| arg | type | description |
|---|
| success | boolean | |
listen(event: string, fn: (any) → void
Lifecycle
| arg | type | description |
|---|
| event | string | |
| fn | (any | |
update(dt: number) → void
| arg | type | description |
|---|
| dt | number | |
onCallback(id: string, _data: any) → void
| arg | type | description |
|---|
| id | string | |
| _data | any | |