PlayerEvent
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ייצוג JSON |
{
"kind": string,
"definitionId": string,
"playerId": string,
"numEvents": string,
"formattedNumEvents": string
} |
שדות |
kind |
string
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה games#playerEvent .
|
definitionId |
string
המזהה של הגדרת האירוע.
|
playerId |
string
מזהה השחקן.
|
numEvents |
string (int64 format)
המספר הנוכחי של הפעמים שהאירוע הזה התרחש.
|
formattedNumEvents |
string
המספר הנוכחי של הפעמים שהאירוע הזה התרחש, כמחרוזת. הפורמט של המחרוזת הזו תלוי בהגדרת האירוע ב-Play Games Console.
|
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]