Module: champion

Wrapper for Riot's champion api

Source:
See:

Methods


<inner> getChampionList(freeToPlay, region)

gets list of champions with their current flags set

Parameters:
Name Type Argument Description
freeToPlay boolean <optional>
<nullable>

true to only retrieve champions which are currently free to play.
False retrieves all champions.DEFAULT: FALSE

region module:serverdata.REGION <optional>
<nullable>

if no region is specified the configured region will be used

Source:
See:

<inner> getChampionsById(championId, region)

gets a specific champion's flag state

Parameters:
Name Type Argument Description
championId number
region module:serverdata.REGION <optional>
<nullable>

if no region is specified the configured region will be used

Source:
See: