WoW:API GetPetitionInfo: Difference between revisions
Jump to navigation
Jump to search
(Added GetPetitionInfo based on the FrameXML usage.) |
m (Move page script moved page API GetPetitionInfo to API GetPetitionInfo without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
Gets the information for a petition being viewed. | Gets the information for a petition being viewed. | ||
petitionType, title, bodyText, maxSigs, originator, isOriginator, minSigs = GetPetitionInfo() | |||
== Returns == | == Returns == | ||
;petitionType : String - The type of petition (ex. "guild" or "arena") | |||
;title : String - The title of the group being created | |||
;bodyText : String - The body text of the petition | |||
;maxSigs : Number - The maximum number of signatures allowed on the petition | |||
;originator : String - The name of the person who started the petition | |||
;isOriginator : (Boolean?) - Whether the player is the originator of the petition | |||
;minSigs : Number - The minimum number of signatures required for the petition | |||
== Details == | == Details == | ||
* Petition information is available after the event [[Events/P#PETITION_SHOW|PETITION_SHOW]]. | |||
Latest revision as of 04:46, 15 August 2023
Gets the information for a petition being viewed.
petitionType, title, bodyText, maxSigs, originator, isOriginator, minSigs = GetPetitionInfo()
Returns[edit]
- petitionType
- String - The type of petition (ex. "guild" or "arena")
- title
- String - The title of the group being created
- bodyText
- String - The body text of the petition
- maxSigs
- Number - The maximum number of signatures allowed on the petition
- originator
- String - The name of the person who started the petition
- isOriginator
- (Boolean?) - Whether the player is the originator of the petition
- minSigs
- Number - The minimum number of signatures required for the petition
Details[edit]
- Petition information is available after the event PETITION_SHOW.