GetScreenHeight
Lua global function · registered 2 times
Registration 1
- Function
- Script::GetScreenHeight glue
- Meaning
- Returns the screen root height from the scales 0x832a44, 0x832a48 and 0x832a4c, about 768 verified, proof two
- Registered in
- global table s_glueScriptFunctions glue
- Registrar pair
- 0x837410
- Arguments
- 0 exact
- Returns
1values exact, kinds(number)agree- Notes
- name-not-unique
Registration 2
- Function
- GetUiScreenHeight ui
- Meaning
- Pushes the screen height K2 over the UIParent layout scale, in script units verified, proof two
- Registered in
- global table s_gameScriptFunctions ui
- Registrar pair
- 0x83e220
- Arguments
- 0 exact
- Returns
1values exact, kinds(number)agree- Notes
- name-not-unique
Arguments is the largest Lua stack index the function reads: a floor, never a check. Returns lists the number and the kinds of the values it pushes; ? is unknown. what the columns mean.
Cited in 4
- Cursor and screen size in glue: the script functions
- Screen size and cursor globals in ui: the Frame and Region methods
- Model unit to pixel in ui: Model frames, camera and paint
- Reading the scale in ui: The interface scale