benilla-re systems structs docs

LightningObject::Bolt

struct · spell · 16 bytes

Meaning
Holds one hop of a chain: endpoint indices, start and end time and renderer handle
Confidence
verified, proof one
Finding
spell/visuals#chain-hop-table

Finding: Chain hop table in spell: visuals

0x6ec980 fills the GUID array as [caster, t[n−1], …, t[0]], reversing the target list, and gives hop i (0 to n − 1) the endpoints i and i + 1, the start now + i·stagger, the end start + life and no renderer handle (-1); stagger is the chain record's +0x18 and life its +0x14, as 32-bit integers.

The derivation is in the doc.

Fields 5

offsetsizetypenamemeaningconfidencefinding
0x00002uint16_tm_fromHolds the GUID index of the hop's start, 0xffff until setverified, proof onespell/visuals#chain-hop-table
0x00022uint16_tm_toHolds the GUID index of the hop's end, 0xffff until setverified, proof onespell/visuals#chain-hop-table
0x00044uint32_tm_startTimeHolds the time the hop startsverified, proof onespell/visuals#chain-hop-table
0x00084uint32_tm_endTimeHolds the time the hop endsverified, proof onespell/visuals#chain-hop-table
0x000c4uint32_tm_handleHolds the renderer bolt handle, -1 for noneverified, proof onespell/visuals#chain-update-per-frame