SetCurrentPetition
function · ui · primitive
- Address
0x4f3f60· 299 bytes, up to0x4f408a- Meaning
- Keeps a petition's id and GUID for the signature window, declining an earlier one
- Confidence
- inferred
- Finding
- objectlayer/party#petitions
Finding: Petitions in objectlayer: party, guild and petitions
0x5e5050 handles six petition opcodes for the active player. 0x1bc lists a vendor's charters: a u8
count of 20-byte entries into a 10-entry table, unbounded, so entry 10 on overwrites the globals
after it, the vendor GUID 0xc4d498 among them. 0x1bf passes the signatures to the window unless
the owner is ignored. 0x1c1 reports a signature: another signer goes to 0x4f41c0, the player's own
shows ERR_PETITION_SIGNED and signals PETITION_CLOSED, or the reasons 1, 2, 3, 5. 0x1c2 shows
ERR_PETITION_DECLINED_S; 0x1c5 the turn-in result; 0x2c1 renames a charter item's cached petition.
0x5ef2b0 turns a charter in.
The derivation is in the doc.
Callers 2
- Script::ClosePetition ui
- ReadPetitionShowSignatures objectlayer
Callees 7
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- ClntObjMgrGetActivePlayer objectlayer
- ResetPetitionSigners ui
- PetitionCacheGetRecord dbcache
- ClientServices::Send net
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.