Read more about the Progression system in Hiro here.
Initializing the progression system #
The progression system relies on the Nakama System which must be passed in as dependency via the constructor.
Subscribing to changes in the progression system #
You can listen for changes in the progression system so that you can respond appropriately, such as updating the UI, by implementing the appropriate interface.
Refreshing the progression system #
To ensure the progression system has the latest information from Nakama you can refresh it.
Get progressions for the user #
You can get all progressions for the current user including their current status and a dependency tree containing any unmet preconditions.
Update the counters of a progression #
You can update one or more counters towards a progression for the user.
Purchase a progression #
You can purchase the unlock of a specified progression for the user.