The achievements model.
Not meant to be directly instantiated. Access this object through [GPGManager sharedInstance].applicationModel.achievement.
This model stores the metadata for every achievement registered with your application. The metadata is refreshed when the application starts and when the user initiates a refresh from the GPGApplicationController.
|(NSArray *)||- allMetadata|
|Array of GPGAchievementMetadata objects. |
|(GPGAchievementMetadata *)||- metadataForAchievementId:|
|Retrieve metadata for a specific achievement identifier. |
Member Function Documentation
|- (NSArray *) allMetadata|
Array of GPGAchievementMetadata objects.
Returns all of the most up-to-date local metadata. This metadata may represent information that has yet to be synced with the server.
This will not return anything until GPGModelAllAchievementMetadataKey has been loaded.
See the GPGKeyedModel documentation for more information on loading data.