WebwalkSnapshot

A value shape that methods take or return.

Group
player
Methods
None
Fields
2

Getting one

player:webwalk():snapshot()

Fields

FieldTypeDescription
indexnumberWhich of steps the walk is on, from 1; #steps + 1 once it has walked them all.
steps{ RouteStep }The route; a replan keeps it until the new one comes, a new walk starts empty.

Returned by

MethodReturnsDescription
Webwalk.snapshotWebwalkSnapshotThe current route and the position in it. Read-only: this does not advance anything.