Script::CanSignPetition
function · ui · primitive
- Address
0x4f45e0· 225 bytes, up to0x4f46c0- Signature
int __fastcall (lua_State *L)- Meaning
- Returns 1 unless the player owns, has signed or may not sign the open petition
- 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 4
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- lua_pushnil lua
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.