CraftSessionInfo
Defined in: server/api.d.ts:3539
A player’s alchemy session or kept table, or their smithing workpiece. A copy: changing it changes nothing.
Properties
Section titled “Properties”expiresInMs
Section titled “expiresInMs”expiresInMs:
number
Defined in: server/api.d.ts:3588
Milliseconds until the session times out.
id:
string
Defined in: server/api.d.ts:3548
The session id.
kind:
"alchemy"|"smithing"
Defined in: server/api.d.ts:3543
Which craft.
materials
Section titled “materials”materials:
object[] |undefined
Defined in: server/api.d.ts:3583
Smithing only: the units taken from the inventory for this workpiece. Quest materials are required but never taken.
phase:
"entering"|"brewing"|"finishing"|"betweenBatches"|"working"
Defined in: server/api.d.ts:3563
Where the batch is; working for a smithing workpiece.
recipe
Section titled “recipe”recipe:
string|undefined
Defined in: server/api.d.ts:3578
Smithing only: the recipe being worked.
resources
Section titled “resources”resources:
object[] |undefined
Defined in: server/api.d.ts:3573
Alchemy only: what is on the table: item class, the inventory row it came from (empty for a base liquid), and the native table position.
sequence
Section titled “sequence”sequence:
number|undefined
Defined in: server/api.d.ts:3568
Alchemy only: native actions accepted so far.
station
Section titled “station”station:
string
Defined in: server/api.d.ts:3553
Station id.
virtualWorld
Section titled “virtualWorld”virtualWorld:
number
Defined in: server/api.d.ts:3558
The station’s virtual world.