Script::QuestLogPushQuest
function · ui · primitive
- Address
0x4e1340· 135 bytes, up to0x4e13c6- Signature
int __fastcall (lua_State *L)- Meaning
- Sends the selected quest to the party when it is shareable and the player is in a party
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/questshare#whether-a-quest-can-be-shared
Finding: Whether a quest can be shared in ui: sharing a quest with the party
GetQuestLogPushable() takes no argument and returns the number 1 or nil. It is 1 when a quest is selected
(0xbb7480 is non-zero), its template is cached, and bit 0x8 of the template's flags word (+0x38) is set.
A cache miss gives nil and sends no query. QuestLogPushQuest() repeats those three tests and
also needs a local player and a first party member (0xbc6f48/0xbc6f4c not both 0), then calls 0x5eaed0 with the
quest id and returns no values.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 4
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- QuestCacheGetRecord dbcache
- SendPushQuestToParty objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.