PlayerEvent
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
JSON 表現 |
{
"kind": string,
"definitionId": string,
"playerId": string,
"numEvents": string,
"formattedNumEvents": string
} |
フィールド |
kind |
string
このリソースのタイプを一意に識別します。値は常に固定文字列 games#playerEvent です。
|
definitionId |
string
イベント定義の ID。
|
playerId |
string
プレーヤーの ID。
|
numEvents |
string (int64 format)
このイベントが発生した現在の回数。
|
formattedNumEvents |
string
このイベントが発生した現在の回数(文字列)。この文字列の形式は、Google Play Games デベロッパー コンソールでのイベントの設定によって異なります。
|
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-26 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-26 UTC。"],[],[],null,["# PlayerEvent\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nAn event status resource.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"definitionId\": string, \"playerId\": string, \"numEvents\": string, \"formattedNumEvents\": string } ``` |\n\n| Fields ||\n|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Uniquely identifies the type of this resource. Value is always the fixed string `games#playerEvent`. |\n| `definitionId` | `string` The ID of the event definition. |\n| `playerId` | `string` The ID of the player. |\n| `numEvents` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The current number of times this event has occurred. |\n| `formattedNumEvents` | `string` The current number of times this event has occurred, as a string. The formatting of this string depends on the configuration of your event in the Play Games Developer Console. |"]]