Skip to main content

AchievementGateway

AchievementGateway

Base class for implementing achievement system API connectors

Kind: global class

achievementGateway.getUnlocked() ⇒ Promise.<Array.<string>>

Retrieve list of unlocked achievements

Kind: instance method of AchievementGateway
Returns: Promise.<Array.<string>> - IDs of unlocked achievements

achievementGateway.unlock(id) ⇒ Promise

Unlock an achievements by ID

Kind: instance method of AchievementGateway

ParamType
idString