VoteSite
: int
in package
Enumerates external game voting sites and their properties.
Table of Contents
Cases
Methods
- getImg() : string
- Returns the image to display for this voting site.
- getUrl() : string
- Returns the URL that should be used for this voting site.
- givesFreeTurns() : bool
- Does this voting site have the configuration required to award free turns?
Cases
TWG
PBBG
Methods
getImg()
Returns the image to display for this voting site.
public
getImg(bool $freeTurnsReady) : string
Parameters
- $freeTurnsReady : bool
Return values
stringgetUrl()
Returns the URL that should be used for this voting site.
public
getUrl(bool $freeTurnsReady, int $accountId) : string
Parameters
- $freeTurnsReady : bool
- $accountId : int
Return values
stringgivesFreeTurns()
Does this voting site have the configuration required to award free turns?
public
givesFreeTurns() : bool