ShowItemTextPage
function · ui · primitive
- Address
0x4e35b0· 702 bytes, up to0x4e386d- Meaning
- Expands, translates and shows the current page of the open item text
- Confidence
- verified, proof one
- Finding
- ui/itemtext#showing-a-page
Finding: Showing a page in ui: the item text window
0x4e35b0(guid, translate) does nothing unless the GUID is the open one and the object exists. With a single item text
it expands the cached record text for the player, masks profanity and signals READY. With page text it looks up the record
for the current page, stores the record's next page id (+0x400) as the following list entry, expands its text into a local buffer and signals READY after
writing the page text. An item whose field flags have bit 2 set shows the expanded text unchanged. Any other item or an object that is a game object has its text rewritten in the object's
language, with the player's skill in that language (from GetIndexedSpellSkill) only when translate is set.
The derivation is in the doc.
Callers 4
- SetItemTextObject ui
- ItemTextPreviousPage ui
- ItemTextAdvancePage ui
- CGPlayer_C::OnReadItemReply objectlayer
Callees 15
- 0x4368c0 unassigned
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- GrowableArrayChunk glue
- RoundUpToChunk glue
- RewriteInLanguage ui
- MaskProfanity ui
- ExpandServerText ui
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- PageTextCacheGetRecord dbcache
- ItemTextCacheGetRecord dbcache
- CGPlayer_C::GetIndexedSpellSkill objectlayer
- GetGameObjectLanguage objectlayer
- SStrCopy storm
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.