PlayerIO

The fastest way to build online games without breaking a sweat.

Objective-C Client Reference

Multiplayer  class documentationClass PIOAchievement

Language: Objective-C

An Achievement

Properties

 
completed
True when Progress==ProgressGoal
descriptionText
The description
identifier
The id of the achivement
imageUrl
An url to the image of the achievement
lastUpdated
Last updated time, in UTC
progress
Current progress made towards the ProgressGoal of this achievement
progressGoal
The progress value to reach to complete the achievement
progressRatio
A value in the range [0:1] indicating the progress made towards completion.
title
The title of the achievement

@property (nonatomic) BOOL completed

True when Progress==ProgressGoal

@property (nonatomic) NSString * descriptionText

The description

@property (nonatomic) NSString * identifier

The id of the achivement

@property (nonatomic) NSString * imageUrl

An url to the image of the achievement

@property (nonatomic) NSDate * lastUpdated

Last updated time, in UTC

@property (nonatomic) unsigned int progress

Current progress made towards the ProgressGoal of this achievement

@property (nonatomic) unsigned int progressGoal

The progress value to reach to complete the achievement

@property (nonatomic) double progressRatio

A value in the range [0:1] indicating the progress made towards completion.

@property (nonatomic) NSString * title

The title of the achievement