Achievements#
Achievements are a digital reward signifying an in-game achievement or completion of a task.
Create Achievements#
To use Achievements, Achievements must first be created in the Admin Console:
Click the Create Button:
The only Required Field is Name:
Sending Achievements#
To send an Achievement to the server a reference to the AchievementService is required:
AchievementService service = _serviceFactory.GetService<AchievementService>();
With a reference to the AchievementService a user Achievement can be updated with the Unlock method, using the Name field of the achievement created in the Admin Console as the parameter:
await service.Unlock(<Achievement_Name>);