CSimpleFrame::GetScriptByName
function · ui · orchestration
- Address
0x76a0d0· 544 bytes, up to0x76a2ef- Meaning
- Returns the script slot of a handler name, OnEvent included, or 0
- Confidence
- verified, proof two
- Finding
- ui/frames#script-slots-by-name
Finding: Script slots by name in ui: the frame object model
A frame's script slots are found by handler name, ignoring case. OnEvent belongs to the script
object at +0xc; the frame adds sixteen at +0x118 + 8·i in the order OnLoad, OnSizeChanged,
OnUpdate, OnShow, OnHide, OnEnter, OnLeave, OnMouseDown, OnMouseUp, OnMouseWheel,
OnDragStart, OnDragStop, OnReceiveDrag, OnChar, OnKeyDown, OnKeyUp. An unknown name
has no slot.
The derivation is in the doc.
Callers 10
- CGTooltip::GetScriptSlot ui
- CSimpleModel::GetScriptByName ui
- CSimpleButton::GetScriptByName ui
- CSimpleEditBox::GetScriptByName ui
- CSimpleStatusBar::GetScriptByName ui
- CSimpleScrollFrame::GetScriptByName ui
- CSimpleSlider::GetScriptByName ui
- CSimpleColorSelect::GetScriptByName ui
- CSimpleMovieFrame::GetScriptByName ui
- CSimpleHyperlinkedFrame::GetScriptByName ui
Callees 2
- SStrCmpI storm
- GetScriptObjectScriptByName ui
Calls and jumps by a bare address, from tables/calls.tsv.