benilla-re systems structs docs

s_unknownText

global · glue

Address
0x838044 · 8 bytes, up to 0x83804b
Type
char[8]
Meaning
Holds UNKNOWN, the name of a realm category without a row and a fallback string elsewhere
Confidence
verified, proof one
Finding
glue/realms#category-ordinals

Finding: Category ordinals in glue: the realm list

Script category arguments are 1-based ordinals over the non-empty categories. 0x46edf0(k) returns the stored index of the k-th (0-based) non-empty category, else 0, so an ordinal below 1 or past the last reads category 0, empty or not. GetSelectedCategory returns the ordinal of the first non-empty category whose index is at least 0x837e98, signed, so −1 reads the first; with none,

  1. GetNumRealms(c) returns the count of category 0x46edf0(c − 1), 0 past the array, and without a number the sum over all. GetRealmCategories returns the non-empty categories' names in the client's locale, UNKNOWN (0x838044) without a row; with none, the first category's name alone, and with no categories it reads through null.

The derivation is in the doc.