BlizzardObject
struct · spell · 324 bytes
- Meaning
- Holds an area shard emitter: link, model path, world object, position, radius, accumulator, rate and shard list
- Confidence
- verified, proof one
- Finding
- spell/visuals#area-shard-emitter-creation
Finding: Area shard emitter creation in spell: visuals
A dynamic object starts an emitter from the first kit procedure of kind 9 in its spell's visual
kit: 0x6ece30(position, radius, type, rate), with its radius, type the low byte of
bits(f32(param0 + 512.0)) >> 14 and rate the raw param1. 0x6ece30 takes an emitter from
the pool, zeroes it, links it at the tail and initializes it with the path 0x870e24[type],
unbounded: types 0 to 6 are Spells\ Blizzard_Impact_Base, RainOfFire_Impact_Base,
CallLightning_Impact, FlamestrikeSmall_Impact_Base, DeathAndDecay_Area_Base,
ArcaneShot_Area, StarShards_Impact_Base (.mdx); type 7 reads the first path's bytes as a
pointer. A failed allocation is not tested. The dynamic object's stop calls 0x6ecf20, which sets
the rate to 0.0 and clears its handle.
The derivation is in the doc.
Fields 10
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 4 | void * | m_prevLink | Holds the address of the previous link in the emitter list | verified, proof one | spell/visuals#area-shard-emitter-creation |
0x0004 | 4 | void * | m_next | Holds the next emitter, or the terminator address marked by bit 0 | verified, proof one | spell/visuals#area-shard-emitter-creation |
0x0008 | 260 | char[260] | m_modelPath | Holds the shard model path 0x6eb930 copies | verified, proof one | spell/visuals#emitter-initialization |
0x010c | 4 | void * | m_worldObject | Holds the world object 0x670db0 creates with the draw callback | verified, proof one | spell/visuals#emitter-initialization |
0x0110 | 12 | float[3] | m_position | Holds the emitter position | verified, proof one | spell/visuals#emitter-initialization |
0x011c | 4 | float | m_radius | Holds the spread radius the shard placement multiplies | verified, proof one | spell/visuals#shard-placement |
0x0120 | 4 | float | m_accumulator | Holds the fractional shards carried between updates, zeroed at creation | verified, proof one | spell/visuals#shard-emission-rate |
0x0124 | 4 | float | m_rate | Holds the shards per second after the spellEffectLevel scale; 0.0 once stopped | verified, proof one | spell/visuals#shard-emission-rate |
0x0128 | 16 | uint32_t[4] | m_unused128 | Holds four dwords 0x6ece30 zeroes and no function of this file reads | verified, proof one | spell/visuals#area-shard-emitter-creation |
0x0138 | 12 | uint32_t[3] | m_shards | Holds the shard list: link offset 0, then the terminator link | verified, proof one | spell/visuals#area-shard-emitter-creation |