GPGLeaderboardModel Class Reference

GPGLeaderboardModel Class Reference

Overview

The leaderboard model.

Not meant to be directly instantiated. Access this object through [GPGManager sharedInstance].applicationModel.leaderboard

Public Member Functions

Accessing Metadata
(NSArray *) - allMetadata
 Array of GPGLeaderboardMetadata objects.
(GPGLeaderboardMetadata *) - metadataForLeaderboardId:
 Retrieve metadata for a specific leaderboard identifier.

Member Function Documentation

- (NSArray *) allMetadata

Array of GPGLeaderboardMetadata objects.

This will not return anything until GPGModelAllLeaderboardMetadataKey has been loaded.

See the GPGModel documentation for more information on loading data.

Returns:
An array of GPGLeaderboardMetadata objects. GPGLeaderboardMetadata objects
- (GPGLeaderboardMetadata *) metadataForLeaderboardId: (NSString *)  leaderboardId

Retrieve metadata for a specific leaderboard identifier.

Returns:
A metadata object for the given leaderboard identifier, if the information exists, nil otherwise.

Оставить отзыв о...

Текущей странице
Play Games Services for iOS
Play Games Services for iOS