HitData
HitData =
Registerextendsobject?Data:Readonly<Record<string,unknown>>
What a game attaches to each hit, such as an element and its dose: the
hitData it registers, or any record where it registers none. Plain
values, since a room streams it, and a page reads them as the JSON the
room held.
declare module "@spawnite/engine" { interface Register { hitData: { element: Element; dose: number } } }.