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 Developer Console
|
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา 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. |"]]