Captainup  2.4
Properties | List of all members
<CPTCreateActionResponse> Protocol Reference

#import <CPTCreateActionResponse.h>

Inheritance diagram for <CPTCreateActionResponse>:
<CPTResponse> <CPTObject>

Properties

NSArray< id< CPTBadge > > * achievedBadges
 
NSArray< id< CPTLevel > > * advancedLevels
 
CPTPoint awardedPoints
 
CPTPoint awardedBasePoints
 
CPTBadgeProgressDictionarybadgeProgress
 
id< CPTActionaction
 
NSDictionary< NSString *, id< CPTCurrency > > * currencies
 
CPTPoint monthlyPoints
 
CPTPoint weeklyPoints
 
CPTPoint dailyPoints
 
NSDictionary< NSString *, NSNumber * > * leaderboardPositions
 
NSArray< NSString * > * acquiredAssets
 
NSArray< NSString * > * unavailableSegmentedBadges
 
NSArray< NSString * > * unavailableSegmentedAssets
 
NSArray< id< CPTAvailableReward > > * availableRewards
 
- Properties inherited from <CPTResponse>
NSInteger code
 
NSError * error
 
NSString * objectName
 
NSString * requestUrl
 
NSString * apiVersion
 
BOOL isSuccessful
 
- Properties inherited from <CPTObject>
NSDictionary< NSString *, id > * sourceDictionary
 

Additional Inherited Members

- Instance Methods inherited from <CPTObject>
(nonnull instancetype) - initWithDictionary:
 
(nonnull NSDictionary< NSString *, id > *) - toDictionary
 

Detailed Description

CPTCreateActionResponse object

Property Documentation

◆ achievedBadges

- (NSArray<id<CPTBadge> >*) achievedBadges
readnonatomicassign

The list of the new badges the user achieved All the elements of the array conform to the CPTBadge protocol

◆ acquiredAssets

- (NSArray<NSString*>*) acquiredAssets
readnonatomicassign

List of acquired assets ID's

Returns
NSArray<NSString*>

◆ action

- (id<CPTAction>) action
readnonatomicassign

The action's data

◆ advancedLevels

- (NSArray<id<CPTLevel> >*) advancedLevels
readnonatomicassign

The list of levels the user have been promoted to. Can be zero, one or many levels. If the user has advanced more than one level because of an action, the levels will be sorted from low to high. All the elements of the array conform to the CPTLevel protocol

◆ availableRewards

- (NSArray<id<CPTAvailableReward> >*) availableRewards
readnonatomicassign

Available rewards which user can claim.

◆ awardedBasePoints

- (CPTPoint) awardedBasePoints
readnonatomicassign

The base number of points the user received for the action

◆ awardedPoints

- (CPTPoint) awardedPoints
readnonatomicassign

The number of points, in total, the user received from the action and the badges

◆ badgeProgress

- (CPTBadgeProgressDictionary*) badgeProgress
readnonatomicassign

The current user's badge progress

◆ currencies

- (NSDictionary<NSString*,id<CPTCurrency> >*) currencies
readnonatomicassign

Currencies received

◆ dailyPoints

- (CPTPoint) dailyPoints
readnonatomicassign

Daily points

◆ leaderboardPositions

- (NSDictionary<NSString*,NSNumber*>*) leaderboardPositions
readnonatomicassign

The user's position in all the leaderboards

◆ monthlyPoints

- (CPTPoint) monthlyPoints
readnonatomicassign

Monthly points

◆ unavailableSegmentedAssets

- (NSArray<NSString*>*) unavailableSegmentedAssets
readnonatomicassign

Unvailable segmented assets

◆ unavailableSegmentedBadges

- (NSArray<NSString*>*) unavailableSegmentedBadges
readnonatomicassign

Unvailable segmented badges

◆ weeklyPoints

- (CPTPoint) weeklyPoints
readnonatomicassign

Weekly points


The documentation for this protocol was generated from the following file: