LCLeaderboardStatistic
Objective-C
@interface LCLeaderboardStatistic : NSObject
/// The name of the leaderboard.
@property (nonatomic, readonly, nullable) NSString *name;
/// The version of the leaderboard.
@property (nonatomic, readonly) NSInteger version;
/// The value of this statistic.
@property (nonatomic, readonly) double value;
/// If this statistic belongs to one user, this property is nonnull.
@property (nonatomic, readonly, nullable) LCUser *user;
/// If this statistic belongs to one object, this property is nonnull.
@property (nonatomic, readonly, nullable) LCObject *object;
/// If this statistic belongs to one entity, this property is nonnull.
@property (nonatomic, readonly, nullable) NSString *entity;
@end
Swift
class LCLeaderboardStatistic : NSObject
Undocumented
-
The name of the leaderboard.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *name;
Swift
var name: String? { get }
-
The version of the leaderboard.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger version;
Swift
var version: Int { get }
-
The value of this statistic.
Declaration
Objective-C
@property (nonatomic, readonly) double value;
Swift
var value: Double { get }
-
If this statistic belongs to one entity, this property is nonnull.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *entity;
Swift
var entity: String? { get }