Voting booth initiatives: Difference between revisions
Jump to navigation
Jump to search
imported>Gausie Created page with "{{ #vardefine:name|voting_booth_initiatives}}{{ #vardefine:return_type|string [string]}}{{ #vardefine:aggregate|yes}}{{ FunctionPage| name={{#var:name}}| function1={{Functio..." |
imported>Gausie mNo edit summary |
||
Line 20: | Line 20: | ||
}}| | }}| | ||
function_description=Returns a map of voting initiatives that are available for a given class on a given day of an ascension in a given path | function_description=Returns a map of voting initiatives that are available for a given class on a given day of an ascension in a given path| | ||
code1={{CodeSample| | code1={{CodeSample| |
Revision as of 16:13, 23 September 2020
Function Syntax
string [string] voting_booth_initiatives(class class ,int path ,int daycount )
- class is the class for the seed
- class is the path id for the seed
- daycount is the daycount for the seed
Returns a map of voting initiatives that are available for a given class on a given day of an ascension in a given path
Code Sample
The following will tell you the initiatives available to you today without you ever having to visit the booth.
string [string] initiatives = voting_booth_initiative( my_class(), my_path_id(), my_daycount() );
dump( initiatives );