Script::OfferPetition
function · ui · primitive
- Address
0x4f4790· 411 bytes, up to0x4f492a- Signature
int __fastcall (lua_State *L)- Meaning
- Offers the open petition to the current target after the checks, showing the offered message at once
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/petition#signing-and-offering
Finding: Signing and offering in ui: guild charters and petitions
SignPetition([n]) does nothing without an open petition; otherwise it sends opcode 0x1c0 with the item GUID and the
byte n (default 1) and sets the in-flight latch. OfferPetition() offers the open petition to the current target
(the selection, not the interaction target). It does nothing without a petition, a target or a player object; a target
that does not resolve shows ERR_OUT_OF_RANGE; a non-player target is silent; the player itself shows
ERR_PETITION_CREATOR; a target that is not allied shows ERR_GUILD_NOT_ALLIED; one in a guild shows
ERR_ALREADY_IN_GUILD_S with its name. Otherwise it sends 0x1c3 with the item GUID and the target's GUID and shows
ERR_PETITION_OFFERED_S at once.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 8
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGGameUI::DisplayError ui
- ClientServices::Send net
- CGUnit_C::CanCooperate objectlayer
- CGUnit_C::GetUnitName objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.