GetScreenWidth
Lua global function · registered 2 times
Registration 1
- Function
- Script::GetScreenWidth glue
- Meaning
- Returns the screen root width from the scales 0x832a44 and 0x832a4c, about 768 times the aspect verified, proof two
- Registered in
- global table s_glueScriptFunctions glue
- Registrar pair
- 0x837408
- Arguments
- 0 exact
- Returns
1values exact, kinds(number)agree- Notes
- name-not-unique
Registration 2
- Function
- GetUiScreenWidth ui
- Meaning
- Pushes the screen width K1 over the UIParent layout scale, in script units verified, proof two
- Registered in
- global table s_gameScriptFunctions ui
- Registrar pair
- 0x83e218
- 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