CMissile
struct · objectlayer · 144 bytes
- Meaning
- Holds a spell missile: model, GUIDs, spell, speed, position, destination, flags, sound, outcome arrays and list link
- Confidence
- verified, proof one
- Finding
- objectlayer/missiles#the-missile-object
Finding: The missile object in objectlayer: missiles
| offset | member |
|---|---|
+0x00 | the model; +0x7c the world object that carries it |
+0x08, +0x10 | the caster's and the target's GUIDs |
+0x18, +0x1c | the spell id and the speed in yards per second |
+0x20, +0x2c | the position and the destination |
+0x38 | the flags, below; +0x3c the target attachment, −1 for none |
+0x40, +0x44 | the flight sound id and its playing sound |
+0x48, +0x4c | the outcome code and the code a reflection takes |
+0x50, +0x74, +0x78 | the stuck expiry, the target's reaction time, the time it was queued |
+0x54 to +0x6c | the GUID array (capacity, count, data) and the reason array |
+0x80, +0x84, +0x88 | the list link (the slot that points here, the next) and the pool handle |
Flags: 0x1 hit, 0x2 impact model, 0x4 fired from a bow, crossbow or thrown weapon, 0x8 missed, 0x10 blocked, 0x20 resisted, 0x40 deflected, 0x80 reflected, 0x100 outcome reported.
The derivation is in the doc.
Fields 20
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 4 | CM2Model * | m_model | Points at the missile model | verified, proof one | objectlayer/missiles#the-missile-object |
0x0008 | 8 | uint64_t | m_caster | Holds the caster GUID | verified, proof one | objectlayer/missiles#the-missile-object |
0x0010 | 8 | uint64_t | m_target | Holds the target GUID | verified, proof one | objectlayer/missiles#the-missile-object |
0x0018 | 4 | uint32_t | m_spellId | Holds the spell id | verified, proof one | objectlayer/missiles#the-missile-object |
0x001c | 4 | float | m_speed | Holds the speed in yards per second | verified, proof one | objectlayer/missiles#the-missile-object |
0x0020 | 12 | float[3] | m_position | Holds the position | verified, proof one | objectlayer/missiles#the-missile-object |
0x002c | 12 | float[3] | m_destination | Holds the destination | verified, proof one | objectlayer/missiles#the-missile-object |
0x0038 | 4 | uint32_t | m_flags | Holds the hit, impact, bow, outcome and reported flags | verified, proof one | objectlayer/missiles#the-missile-object |
0x003c | 4 | int32_t | m_attachment | Holds the target attachment, -1 for none | verified, proof one | objectlayer/missiles#the-missile-object |
0x0040 | 4 | uint32_t | m_soundId | Holds the flight sound id | verified, proof one | objectlayer/missiles#the-missile-object |
0x0044 | 4 | void * | m_sound | Points at the playing flight sound | verified, proof one | objectlayer/missiles#the-missile-object |
0x0048 | 4 | uint32_t | m_outcome | Holds the outcome code | verified, proof one | objectlayer/missiles#the-missile-object |
0x004c | 4 | uint32_t | m_reflectOutcome | Holds the outcome code a reflection takes | verified, proof one | objectlayer/missiles#the-missile-object |
0x0050 | 4 | uint32_t | m_expiry | Holds the time a stuck or impact missile is freed | verified, proof one | objectlayer/missiles#the-missile-object |
0x0074 | 4 | uint32_t | m_reactionTime | Holds the time the target plays its block or dodge | verified, proof one | objectlayer/missiles#the-missile-object |
0x0078 | 4 | uint32_t | m_queueTime | Holds the time the launcher queued the missile on its caster | verified, proof one | objectlayer/missiles#the-missile-object |
0x007c | 4 | void * | m_worldObject | Points at the world object that carries the model | verified, proof one | objectlayer/missiles#the-missile-object |
0x0080 | 4 | CMissile ** | m_prevLink | Points at the slot that points at the missile | verified, proof one | objectlayer/missiles#the-missile-object |
0x0084 | 4 | CMissile * | m_next | Points at the next missile on its list | verified, proof one | objectlayer/missiles#the-missile-object |
0x0088 | 4 | uint32_t | m_poolHandle | Holds the pool handle | verified, proof one | objectlayer/missiles#the-missile-object |
Globals of this type
0xc4de28s_flyingMissiles0xc4de2cs_impactMissiles