LockScriptObject
function · ui · orchestration
- Address
0x701bd0· 244 bytes, up to0x701cc3- Meaning
- Makes the object's table on first use, counts a holder and sets a name global when unset
- Confidence
- verified, proof two
- Finding
- ui/frames#names-and-lookup-by-name
Finding: Names and lookup by name in ui: the frame object model
Naming a frame replaces $parent at the start of the name with the name of the nearest named
ancestor, or with Top when none is named, stores a copy at +0x98 and makes the name a Lua global
for the frame's table unless that global is already set. Looking a frame up by name applies the same
substitution, reads the global, and accepts it only when it is a table whose element 0 is the object
and the object passes the type test.
The derivation is in the doc.
Callers 30
- Script::GetMouseFocus ui
- FrameScriptRunHandler ui
- FrameScriptRunHandlerV ui
- Script::EnumerateFrames ui
- Script::CreateFont ui
- Script::CreateFrame ui
- CScriptRegion::SetName ui
- Frame::GetTitleRegion ui
- Frame::CreateTitleRegion ui
- Frame::CreateTexture ui
- Frame::CreateFontString ui
- Frame::GetRegions ui
- Frame::GetChildren ui
- Button::GetFontString ui
- ButtonGetStateTextureTable ui
- Button::GetHighlightTexture ui
- FontSetName ui
- ColorSelect::GetColorWheelTexture ui
- ColorSelect::GetColorWheelThumbTexture ui
- ColorSelect::GetColorValueTexture ui
- ColorSelect::GetColorValueThumbTexture ui
- StatusBar::GetStatusBarTexture ui
- Slider::GetThumbTexture ui
- ScrollFrame::GetScrollChild ui
- CheckButton::GetCheckedTexture ui
- CheckButton::GetDisabledCheckedTexture ui
- FontString::GetFontObject ui
- FontMethods::GetFontObject ui
- Region::GetParent ui
- Region::GetPoint ui
Callees 14
- lua_settop lua
- lua_insert lua
- lua_type lua
- lua_pushnumber lua
- lua_pushstring lua
- lua_pushlightuserdata lua
- lua_gettable lua
- lua_rawgeti lua
- lua_newtable lua
- lua_settable lua
- lua_rawset lua
- lua_setmetatable lua
- luaL_ref lua
- FrameScript::GetContext ui
Calls and jumps by a bare address, from tables/calls.tsv.