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
這個事件目前發生的次數,以字串表示。這個字串的格式取決於您在 Play 遊戲開發人員控制台中的事件設定。
|
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[[["容易理解","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 (世界標準時間)。"],[],[],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. |"]]