s_exhaustionMaxId
global · dbc
- Address
0xc0dd7c· 4 bytes, up to0xc0dd7f- Type
int32_t- Meaning
- Holds the highest Exhaustion.dbc id, -1 before loading
- Confidence
- verified, proof one
- Finding
- ui/rested#exhaustion-table
Finding: Exhaustion table in ui: rested experience functions
Exhaustion.dbc is loaded at startup. The loader accepts only 15 fields and 60 bytes a record; any other layout is a fatal
error. It builds an index by row id: the cell index[row.id] holds the row. The store keeps the index at 0xc0dd78 and the
highest id at 0xc0dd7c, -1 until loaded. A row is the id (+0), a threshold (+4), a factor, a float (+8), two floats
that no Lua function reads (+0xc, +0x10) and the name, one pointer per locale from +0x14.
The derivation is in the doc.