benilla-re systems structs docs

s_realmListScriptFunctions

global · glue

Address
0x837ea0 · 80 bytes, up to 0x837eef
Type
luaL_reg[10]
Meaning
Pairs the ten realm list script names with their C functions, with no terminating pair
Confidence
verified, proof one
Finding
glue/realms#script-functions

Finding: Script functions in glue: the realm list

The ten pairs at 0x837ea0 ({name, function}, no terminator) are registered by 0x46f480 from the glue screens' script setup and unregistered by name by 0x46f4a0. Each function takes lua_State in ecx and returns its result count.

nameargumentsreturns
RequestRealmListflag (default 0)0; calls 0x46b8d0 with the flag
CancelRealmListQuerynone0; calls 0x46b7e0
RealmListDialogCancellednone0; calls 0x46b810
GetNumRealms[category]1
GetRealmInfocategory[, index]8
ChangeRealmcategory[, index]0
GetRealmCategoriesnonethe names pushed, or 1
SetPreferredInfocategory, pvp, rp0
SortRealmskey0
GetSelectedCategorynone1

These agree with tables/bindings.tsv, which leaves GetRealmCategories' arity open.

The derivation is in the doc.