|
ReXGlue SDK
|
Public Member Functions | |
| virtual std::vector< Achievement > | GetAchievements ()=0 |
| virtual Result< std::vector< std::byte > > | GetAchievementIcon (u32 image_id)=0 |
| virtual ScopeGuard | OnAchievementUnlocked (MoveOnlyFunction< void(const Achievement &)> fn)=0 |
|
nodiscardpure virtual |
Returns an icon as PNG bytes, or kNotFound.
|
pure virtual |
Lists the achievements with their unlock state.
|
nodiscardpure virtual |
Calls a function when an achievement unlocks, on the unlocking thread.