five-on-it / packages/missions/src/runtime / DeviceEventFacts
Interface: DeviceEventFacts
Defined in: packages/missions/src/runtime.ts:499
A device (or a vehicle actor, repaired) worked since the last step: who (0: nobody, a fuse run out), its actor's key, what it came to (the simulation's DEVICE_OUTCOMES).
Properties
key
key:
string
Defined in: packages/missions/src/runtime.ts:503
The key of the mission actor.
player
player:
number
Defined in: packages/missions/src/runtime.ts:501
The client id of the player who worked it; 0 for nobody.
what
what:
string
Defined in: packages/missions/src/runtime.ts:505
planted, defused, exploded, hacked, off, on, repaired, used, cracked.