benilla-re systems structs docs

Script::GetPetitionInfo

function · ui · orchestration

Address
0x4f43d0 · 267 bytes, up to 0x4f44da
Signature
int __fastcall (lua_State *L)
Meaning
Returns the open petition's type, title, body, signature limit, owner name and ownership flag
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/petition#petition-info

Finding: Petition info in ui: guild charters and petitions

GetPetitionInfo() always returns six values: the type (charter when bit 0 of the record's flags at +0x1110 is set, else petition), the title, the body text, the signature limit, the owner's name when cached (else nil), and 1 when the player owns the petition (else nil). With no petition cached it returns nil, nil, nil, 0, nil, nil. The limit is the record's signed word at +0x1118, the title is the string at +0x10 and the body the string at +0x110.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

Calls and jumps by a bare address, from tables/calls.tsv.