M2SequenceInfo
struct · models · 60 bytes
- Meaning
- Holds what GetSequenceInfo reports of a sequence: flags, length, speed, box, centre, radius, id and class
- Confidence
- verified, proof one
- Finding
- models/model#sequence-info
Finding: Sequence info in models: the instance
GetSequenceInfo(id, variation, out) waits for the shared model, resolves id
(animation#animation-id-resolution) and fills a 0x3c-byte record: +0x34 and +0x38 get the
resolved dword's low and high words. The id goes through the sequence lookup, and the index then
moves variation times to its sequence's next variation +0x40, stopping at an index past the
table. A sequence in the table gives +0x0 its flags, +0x4 its end minus its start, +0x8 its
speed +0xc times the length of the base matrix's first row, +0xc its six bound floats, +0x24
the box centre and +0x30 its radius. An index past the table, a lookup miss included, zeroes
+0x0 to +0x33. No bone or pose enters.
The derivation is in the doc.
Fields 8
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 4 | uint32_t | m_flags | Holds the sequence's flags | verified, proof one | models/model#sequence-info |
0x0004 | 4 | uint32_t | m_length | Holds the sequence's end minus its start | verified, proof one | models/model#sequence-info |
0x0008 | 4 | float | m_moveSpeed | Holds the sequence's speed times the length of the base matrix's first row | verified, proof one | models/model#sequence-info |
0x000c | 24 | float[6] | m_bounds | Holds the sequence's box, minimum then maximum | verified, proof one | models/model#sequence-info |
0x0024 | 12 | float[3] | m_center | Holds the box centre | verified, proof one | models/model#sequence-info |
0x0030 | 4 | float | m_radius | Holds the sequence's bounding radius | verified, proof one | models/model#sequence-info |
0x0034 | 4 | uint32_t | m_animationId | Holds the resolved animation id | verified, proof one | models/model#sequence-info |
0x0038 | 4 | uint32_t | m_class | Holds the resolved dword's high word: the class, 0 to 3, from a walk, or a playable entry's high word | verified, proof one | models/model#sequence-info |