Documentation

VoteSite : int
in package

Enumerates external game voting sites and their properties.

Table of Contents

Cases

PBBG  = 5
TWG  = 3

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

Methods

getImg()

Returns the image to display for this voting site.

public getImg(bool $freeTurnsReady) : string
Parameters
$freeTurnsReady : bool
Return values
string

getUrl()

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
string

givesFreeTurns()

Does this voting site have the configuration required to award free turns?

public givesFreeTurns() : bool
Return values
bool

        
On this page

Search results