Script::SignPetition
function · ui · primitive
- Address
0x4f46d0· 190 bytes, up to0x4f478d- Signature
int __fastcall (lua_State *L)- Meaning
- Sends the signature of the open petition and sets the in-flight latch
- 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 7
- __ftol crt
- CDataStore::PutInt8 base
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- ClientServices::Send net
- lua_isnumber lua
- lua_tonumber lua
Calls and jumps by a bare address, from tables/calls.tsv.