benilla-re systems structs docs

Script::GetPetitionNameInfo

function · ui · primitive

Address
0x4f4510 · 196 bytes, up to 0x4f45d3
Signature
int __fastcall (lua_State *L)
Meaning
Returns a signer's name when cached, else nil
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/petition#signatures

Finding: Signatures in ui: guild charters and petitions

GetNumPetitionNames() returns the signature count as an unsigned number. GetPetitionNameInfo(index) returns one value: the signer's name when cached, else nil, and nil for an index outside 1 to the count. A non-number raises Usage: GetPetitionNameInfo(index). CanSignPetition() returns 1 or nil: nil for a charter when the player is in a guild or the list is full, nil for the owner and for a player already listed, and 1 otherwise, including with no petition open.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

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