| Package | Description |
|---|---|
| io.gs2.ranking | |
| io.gs2.ranking.control |
| Modifier and Type | Method and Description |
|---|---|
GetEstimateRankResult |
Gs2RankingClient.getEstimateRank(GetEstimateRankRequest request)
スコアを指定しておおよその順位を取得。
指定したスコアを取ったと仮定して何位ぐらいになれるのか、といった指標を計算する際に利用します。 原則1000位単位でおおよその順位を応答します。 上位プレイヤーに対しては1000位単位の解像度では情報が不足している場合があると思いますので、 応答が上位プレイヤーだった場合は、更に Gs2RankingClient.getRanking(GetRankingRequest) で上位のスコアを取得してさらに詳細な順位に絞り込んで情報提供する。というのもユーザ体験をよく出来ると思います。 |
| Modifier and Type | Method and Description |
|---|---|
GetEstimateRankRequest |
GetEstimateRankRequest.withGameMode(String gameMode)
ゲームモードを設定。
|
GetEstimateRankRequest |
GetEstimateRankRequest.withRankingTableName(String rankingTableName)
ランキングテーブル名を設定。
|
GetEstimateRankRequest |
GetEstimateRankRequest.withScore(Integer score)
スコアを設定。
|
Copyright © 2016 Game Server Services, Inc. AllRights Reserved.