LCLeaderboardRanking
Objective-C
@interface LCLeaderboardRanking : NSObject
/// The name of the leaderboard.
@property (nonatomic, readonly, nullable) NSString *statisticName;
/// The ranking on the leaderboard.
@property (nonatomic, readonly) NSInteger rank;
/// The value of the statistic.
@property (nonatomic, readonly) double value;
/// The statistics on the other leaderboards.
@property (nonatomic, readonly, nullable) NSArray<LCLeaderboardStatistic *> *includedStatistics;
/// If this ranking belongs to one user, this property is nonnull.
@property (nonatomic, readonly, nullable) LCUser *user;
/// If this ranking belongs to one object, this property is nonnull.
@property (nonatomic, readonly, nullable) LCObject *object;
/// If this ranking belongs to one entity, this property is nonnull.
@property (nonatomic, readonly, nullable) NSString *entity;
@end
Swift
class LCLeaderboardRanking : NSObject
Undocumented
-
The name of the leaderboard.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *statisticName;
Swift
var statisticName: String? { get }
-
The ranking on the leaderboard.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger rank;
Swift
var rank: Int { get }
-
The value of the statistic.
Declaration
Objective-C
@property (nonatomic, readonly) double value;
Swift
var value: Double { get }
-
The statistics on the other leaderboards.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<LCLeaderboardStatistic *> *includedStatistics;
Swift
var includedStatistics: [LCLeaderboardStatistic]? { get }
-
If this ranking belongs to one entity, this property is nonnull.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *entity;
Swift
var entity: String? { get }