benilla-re systems structs docs

Frame::GetEffectiveScale

function · ui · orchestration

Address
0x774fc0 · 184 bytes, up to 0x775077
Signature
int __fastcall (lua_State *L)
Meaning
Returns the frame's effective scale
Confidence
verified, proof two
Name from
the community database (idb)
Finding
ui/framemethods#types-scripts-and-identity

Finding: Types, scripts and identity in ui: Frame method contracts

IsFrameType("type") asks the frame's virtual slot +0x18 whether it is of the named type and returns 1 or nil; without a string it raises Usage: %s:IsObjectType("TYPE") with the frame's name or <unnamed>. HasScript("type") asks slot +0xc whether the frame has that script and returns 1 or nil; without a string it raises Usage: %s:HasScript("type"). GetID() returns the integer at +0xb0 and SetID(n) stores the truncated n there, raising Usage: %s:SetID(ID) for a non-number. GetScale() returns the float at +0xb8, GetEffectiveScale() the layout scale at +0x7c, and GetAlpha() the byte at +0xc8 times 1/255.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

Calls and jumps by a bare address, from tables/calls.tsv.