benilla-re systems structs docs

s_itemClassMaxId

global · unassigned

Address
0xc0dc28 · 4 bytes, up to 0xc0dc2b
Type
uint32_t
Meaning
Holds the last ItemClass.dbc row index, −1 before the table loads
Confidence
verified, proof one
Finding
ui/tooltipitemhead#the-slot-and-type-line

Finding: The slot and type line in ui: Item name, bind, lock and slot lines

A record with a row in the item-subclass table shows a two-cell line: the slot on the left, the subclass name on the right. The row is found by a linear scan for the record's class and subclass. The left cell is the global string of the inventory type's INVTYPE_ key, except for class 6 (projectile), where it is the localized name of row 6 of the item-class table. The right cell is the row's localized display name, omitted for a cloak (type 16) and when the row's display flags have bit 0. An empty cell is dropped; two empty cells add nothing.

The derivation is in the doc.