Retrieves content items for a specific language. This method fetches the content items by first searching for a game and then getting its associated items. This way, items are more complete in regards of data and are also already properly organized.
Optional
lang: string = "en"The language for which to retrieve the complete content items (default is English).
Retrieves content items for a specific language. The content items include various game elements such as units, upgrades, ranks, awards, etc.
Optional
lang: string = "en"The language for which to retrieve the content items (default is English).
Loads the complete content items and stores them in the contentItems
property.
This method calls getCompleteContentItems
and updates the contentItems
state.
Optional
lang: string = "en"The language for which to load the complete content items (default is English).
Creates an instance of the UtilApi class.