AchievementConfigurations

成果の構成を表します。

このリソースのメソッドの一覧は、このページの最後に掲載されています。

リソース表記

これは、実績設定リソースの JSON テンプレートです。

{
  "kind": "gamesConfiguration#achievementConfiguration",
  "token": string,
  "id": string,
  "achievementType": string,
  "initialState": string,
  "stepsToUnlock": integer,
  "draft": {
    "kind": "gamesConfiguration#achievementConfigurationDetail",
    "name": {
      "kind": "gamesConfiguration#localizedStringBundle",
      "translations": [
        {
          "kind": "gamesConfiguration#localizedString",
          "locale": string,
          "value": string
        }
      ]
    },
    "description": {
      "kind": "gamesConfiguration#localizedStringBundle",
      "translations": [
        {
          "kind": "gamesConfiguration#localizedString",
          "locale": string,
          "value": string
        }
      ]
    },
    "pointValue": integer,
    "iconUrl": string,
    "sortRank": integer
  },
  "published": {
    "kind": "gamesConfiguration#achievementConfigurationDetail",
    "name": {
      "kind": "gamesConfiguration#localizedStringBundle",
      "translations": [
        {
          "kind": "gamesConfiguration#localizedString",
          "locale": string,
          "value": string
        }
      ]
    },
    "description": {
      "kind": "gamesConfiguration#localizedStringBundle",
      "translations": [
        {
          "kind": "gamesConfiguration#localizedString",
          "locale": string,
          "value": string
        }
      ]
    },
    "pointValue": integer,
    "iconUrl": string,
    "sortRank": integer
  }
}
プロパティ名 説明 メモ
kind string このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#achievementConfiguration です。
token string このリソースのトークン。
id string 実績の ID。
achievementType string 実績のタイプ。
有効な値は次のとおりです。
  • STANDARD」 - 実績がロックまたはロック解除されています。
  • INCREMENTAL」 - 実績が増分です。
initialState string 実績の初期状態。
有効な値は次のとおりです。
  • HIDDEN」 - 実績が非表示になっています。
  • REVEALED」 - 実績が表示されます。
  • UNLOCKED」 - 実績がロック解除されました。
stepsToUnlock integer ロック解除の手順。増分実績にのみ適用されます。
draft nested object 実績のドラフトデータ。
draft.kind string このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#achievementConfigurationDetail です。
draft.name nested object 実績名のローカライズされた文字列。
draft.name.kind string このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedStringBundle です。
draft.name.translations[] list ロケール文字列。
draft.name.translations[].kind string このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedString です。
draft.name.translations[].locale string ロケール文字列。
draft.name.translations[].value string 文字列値。
draft.description nested object 実績の説明のローカライズされた文字列。
draft.description.kind string このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedStringBundle です。
draft.description.translations[] list ロケール文字列。
draft.description.translations[].kind string このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedString です。
draft.description.translations[].locale string ロケール文字列。
draft.description.translations[].value string 文字列値。
draft.pointValue integer 実績の点数。
draft.iconUrl string この実績のアイコンの URL。このフィールドへの書き込みは無視されます。
draft.sortRank integer この実績の並べ替えランク。このフィールドへの書き込みは無視されます。
published nested object 実績の公開データ。このデータは読み取り専用です。
published.kind string このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#achievementConfigurationDetail です。
published.name nested object 実績名のローカライズされた文字列。
published.name.kind string このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedStringBundle です。
published.name.translations[] list ロケール文字列。
published.name.translations[].kind string このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedString です。
published.name.translations[].locale string ロケール文字列。
published.name.translations[].value string 文字列値。
published.description nested object 実績の説明のローカライズされた文字列。
published.description.kind string このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedStringBundle です。
published.description.translations[] list ロケール文字列。
published.description.translations[].kind string このリソースのタイプを一意に識別します。値は常に固定文字列 gamesConfiguration#localizedString です。
published.description.translations[].locale string ロケール文字列。
published.description.translations[].value string 文字列値。
published.pointValue integer 実績の点数。
published.iconUrl string この実績のアイコンの URL。このフィールドへの書き込みは無視されます。
published.sortRank integer この実績の並べ替えランク。このフィールドへの書き込みは無視されます。

Methods

delete
指定された ID の実績構成を削除します。
get
指定された ID の実績構成のメタデータを取得します。
挿入
このアプリケーションに新しい実績構成を挿入します。
list
このアプリケーションの実績構成のリストを返します。
update
指定した ID で実績構成のメタデータを更新します。