ייצוג ההגדרות של לידרבורד.
רשימה של ה-methods במשאב הזה מופיעה בסוף הדף.
ייצוגי משאבים
זוהי תבנית JSON למשאב הגדרה של Leaderboard.
{ "kind": "gamesConfiguration#leaderboardConfiguration", "token": string, "id": string, "scoreOrder": string, "scoreMin": long, "scoreMax": long, "draft": { "kind": "gamesConfiguration#leaderboardConfigurationDetail", "name": { "kind": "gamesConfiguration#localizedStringBundle", "translations": [ { "kind": "gamesConfiguration#localizedString", "locale": string, "value": string } ] }, "iconUrl": string, "sortRank": integer, "scoreFormat": { "numberFormatType": string, "suffix": { "zero": { "kind": "gamesConfiguration#localizedStringBundle", "translations": [ { "kind": "gamesConfiguration#localizedString", "locale": string, "value": string } ] }, "one": { "kind": "gamesConfiguration#localizedStringBundle", "translations": [ { "kind": "gamesConfiguration#localizedString", "locale": string, "value": string } ] }, "two": { "kind": "gamesConfiguration#localizedStringBundle", "translations": [ { "kind": "gamesConfiguration#localizedString", "locale": string, "value": string } ] }, "few": { "kind": "gamesConfiguration#localizedStringBundle", "translations": [ { "kind": "gamesConfiguration#localizedString", "locale": string, "value": string } ] }, "many": { "kind": "gamesConfiguration#localizedStringBundle", "translations": [ { "kind": "gamesConfiguration#localizedString", "locale": string, "value": string } ] }, "other": { "kind": "gamesConfiguration#localizedStringBundle", "translations": [ { "kind": "gamesConfiguration#localizedString", "locale": string, "value": string } ] } }, "numDecimalPlaces": integer, "currencyCode": string } }, "published": { "kind": "gamesConfiguration#leaderboardConfigurationDetail", "name": { "kind": "gamesConfiguration#localizedStringBundle", "translations": [ { "kind": "gamesConfiguration#localizedString", "locale": string, "value": string } ] }, "iconUrl": string, "sortRank": integer, "scoreFormat": { "numberFormatType": string, "suffix": { "zero": { "kind": "gamesConfiguration#localizedStringBundle", "translations": [ { "kind": "gamesConfiguration#localizedString", "locale": string, "value": string } ] }, "one": { "kind": "gamesConfiguration#localizedStringBundle", "translations": [ { "kind": "gamesConfiguration#localizedString", "locale": string, "value": string } ] }, "two": { "kind": "gamesConfiguration#localizedStringBundle", "translations": [ { "kind": "gamesConfiguration#localizedString", "locale": string, "value": string } ] }, "few": { "kind": "gamesConfiguration#localizedStringBundle", "translations": [ { "kind": "gamesConfiguration#localizedString", "locale": string, "value": string } ] }, "many": { "kind": "gamesConfiguration#localizedStringBundle", "translations": [ { "kind": "gamesConfiguration#localizedString", "locale": string, "value": string } ] }, "other": { "kind": "gamesConfiguration#localizedStringBundle", "translations": [ { "kind": "gamesConfiguration#localizedString", "locale": string, "value": string } ] } }, "numDecimalPlaces": integer, "currencyCode": string } } }
שם הנכס | ערך | תיאור | הערות |
---|---|---|---|
kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#leaderboardConfiguration . |
|
token |
string |
האסימון של המשאב הזה. | |
id |
string |
המזהה של הלידרבורד. | |
scoreOrder |
string |
סוג ה-Leaderboard. הערכים האפשריים הם:
|
|
scoreMin |
long |
הניקוד המינימלי שניתן לפרסם בלידרבורד הזה. | |
scoreMax |
long |
הניקוד המקסימלי שניתן לפרסם בלידרבורד הזה. | |
draft |
nested object |
טיוטת הנתונים של ה-Leaderboard. | |
draft.kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#leaderboardConfigurationDetail . |
|
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.iconUrl |
string |
כתובת ה-URL של הסמל של ה-Leaderboard הזה. המערכת מתעלמת מכתיבה בשדה הזה. | |
draft.sortRank |
integer |
הדירוג מתוך הלידרבורד הזה. המערכת מתעלמת מכתיבה בשדה הזה. | |
draft.scoreFormat |
nested object |
פורמט התוצאות של לוח הישגי השחקנים המובילים. | |
draft.scoreFormat.numberFormatType |
string |
הפורמט של המספר. ערכים אפשריים הם:
|
|
draft.scoreFormat.suffix |
nested object |
סיומת אופציונלית לסוג הפורמט NUMERIC. המחרוזות האלה מופיעות אחרי כללי רבים בתור כל משאבי המחרוזת של Android. | |
draft.scoreFormat.suffix.zero |
nested object |
כאשר השפה דורשת יחס מיוחד למספר 0 (כמו בערבית). | |
draft.scoreFormat.suffix.zero.kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedStringBundle . |
|
draft.scoreFormat.suffix.zero.translations[] |
list |
מחרוזות הלוקאל. | |
draft.scoreFormat.suffix.zero.translations[].kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedString . |
|
draft.scoreFormat.suffix.zero.translations[].locale |
string |
מחרוזת הלוקאל. | |
draft.scoreFormat.suffix.zero.translations[].value |
string |
ערך המחרוזת. | |
draft.scoreFormat.suffix.one |
nested object |
כאשר השפה דורשת יחס מיוחד למספרים כגון אחד (כמו הספרה 1 באנגלית וברוב השפות האחרות; ברוסית, כל מספר שמסתיים ב-1 ולא מסתיים ב-11 נמצא במחלקה הזו). | |
draft.scoreFormat.suffix.one.kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedStringBundle . |
|
draft.scoreFormat.suffix.one.translations[] |
list |
מחרוזות הלוקאל. | |
draft.scoreFormat.suffix.one.translations[].kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedString . |
|
draft.scoreFormat.suffix.one.translations[].locale |
string |
מחרוזת הלוקאל. | |
draft.scoreFormat.suffix.one.translations[].value |
string |
ערך המחרוזת. | |
draft.scoreFormat.suffix.two |
nested object |
כאשר השפה דורשת יחס מיוחד למספרים כמו שני מספרים (כמו 2 בוולשית או 102 בסלובנית). | |
draft.scoreFormat.suffix.two.kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedStringBundle . |
|
draft.scoreFormat.suffix.two.translations[] |
list |
מחרוזות הלוקאל. | |
draft.scoreFormat.suffix.two.translations[].kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedString . |
|
draft.scoreFormat.suffix.two.translations[].locale |
string |
מחרוזת הלוקאל. | |
draft.scoreFormat.suffix.two.translations[].value |
string |
ערך המחרוזת. | |
draft.scoreFormat.suffix.few |
nested object |
כאשר השפה דורשת יחס מיוחד ל'קטן' מספרים (כמו 2, 3 ו-4 בצ'כית, או מספרים שמסתיימים ב-2, 3 או 4 אבל לא בפולנית 12, 13 או 14). | |
draft.scoreFormat.suffix.few.kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedStringBundle . |
|
draft.scoreFormat.suffix.few.translations[] |
list |
מחרוזות הלוקאל. | |
draft.scoreFormat.suffix.few.translations[].kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedString . |
|
draft.scoreFormat.suffix.few.translations[].locale |
string |
מחרוזת הלוקאל. | |
draft.scoreFormat.suffix.few.translations[].value |
string |
ערך המחרוזת. | |
draft.scoreFormat.suffix.many |
nested object |
כשהשפה דורשת יחס מיוחד למילה 'large' מספרים (כמו במספרים המסתיימים ב-11-99 במלטזית). | |
draft.scoreFormat.suffix.many.kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedStringBundle . |
|
draft.scoreFormat.suffix.many.translations[] |
list |
מחרוזות הלוקאל. | |
draft.scoreFormat.suffix.many.translations[].kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedString . |
|
draft.scoreFormat.suffix.many.translations[].locale |
string |
מחרוזת הלוקאל. | |
draft.scoreFormat.suffix.many.translations[].value |
string |
ערך המחרוזת. | |
draft.scoreFormat.suffix.other |
nested object |
כאשר השפה לא דורשת טיפול מיוחד בכמות הנתונה (כמו כל המספרים בסינית או 42 באנגלית). | |
draft.scoreFormat.suffix.other.kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedStringBundle . |
|
draft.scoreFormat.suffix.other.translations[] |
list |
מחרוזות הלוקאל. | |
draft.scoreFormat.suffix.other.translations[].kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedString . |
|
draft.scoreFormat.suffix.other.translations[].locale |
string |
מחרוזת הלוקאל. | |
draft.scoreFormat.suffix.other.translations[].value |
string |
ערך המחרוזת. | |
draft.scoreFormat.numDecimalPlaces |
integer |
מספר הספרות אחרי הנקודה העשרונית. בשימוש רק עבור סוג הפורמט NUMERIC. | |
draft.scoreFormat.currencyCode |
string |
מחרוזת הקוד הקבועה. משמש רק לפורמט מסוג CURRENCY. | |
published |
nested object |
הנתונים שפורסמו לגבי הלידרבורד. הנתונים האלה הם לקריאה בלבד. | |
published.kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#leaderboardConfigurationDetail . |
|
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.iconUrl |
string |
כתובת ה-URL של הסמל של ה-Leaderboard הזה. המערכת מתעלמת מכתיבה בשדה הזה. | |
published.sortRank |
integer |
הדירוג מתוך הלידרבורד הזה. המערכת מתעלמת מכתיבה בשדה הזה. | |
published.scoreFormat |
nested object |
פורמט התוצאות של לוח הישגי השחקנים המובילים. | |
published.scoreFormat.numberFormatType |
string |
הפורמט של המספר. ערכים אפשריים הם:
|
|
published.scoreFormat.suffix |
nested object |
סיומת אופציונלית לסוג הפורמט NUMERIC. המחרוזות האלה מופיעות אחרי כללי רבים בתור כל משאבי המחרוזת של Android. | |
published.scoreFormat.suffix.zero |
nested object |
כאשר השפה דורשת יחס מיוחד למספר 0 (כמו בערבית). | |
published.scoreFormat.suffix.zero.kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedStringBundle . |
|
published.scoreFormat.suffix.zero.translations[] |
list |
מחרוזות הלוקאל. | |
published.scoreFormat.suffix.zero.translations[].kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedString . |
|
published.scoreFormat.suffix.zero.translations[].locale |
string |
מחרוזת הלוקאל. | |
published.scoreFormat.suffix.zero.translations[].value |
string |
ערך המחרוזת. | |
published.scoreFormat.suffix.one |
nested object |
כאשר השפה דורשת יחס מיוחד למספרים כגון אחד (כמו הספרה 1 באנגלית וברוב השפות האחרות; ברוסית, כל מספר שמסתיים ב-1 ולא מסתיים ב-11 נמצא במחלקה הזו). | |
published.scoreFormat.suffix.one.kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedStringBundle . |
|
published.scoreFormat.suffix.one.translations[] |
list |
מחרוזות הלוקאל. | |
published.scoreFormat.suffix.one.translations[].kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedString . |
|
published.scoreFormat.suffix.one.translations[].locale |
string |
מחרוזת הלוקאל. | |
published.scoreFormat.suffix.one.translations[].value |
string |
ערך המחרוזת. | |
published.scoreFormat.suffix.two |
nested object |
כאשר השפה דורשת יחס מיוחד למספרים כמו שני מספרים (כמו 2 בוולשית או 102 בסלובנית). | |
published.scoreFormat.suffix.two.kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedStringBundle . |
|
published.scoreFormat.suffix.two.translations[] |
list |
מחרוזות הלוקאל. | |
published.scoreFormat.suffix.two.translations[].kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedString . |
|
published.scoreFormat.suffix.two.translations[].locale |
string |
מחרוזת הלוקאל. | |
published.scoreFormat.suffix.two.translations[].value |
string |
ערך המחרוזת. | |
published.scoreFormat.suffix.few |
nested object |
כאשר השפה דורשת יחס מיוחד ל'קטן' מספרים (כמו 2, 3 ו-4 בצ'כית, או מספרים שמסתיימים ב-2, 3 או 4 אבל לא בפולנית 12, 13 או 14). | |
published.scoreFormat.suffix.few.kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedStringBundle . |
|
published.scoreFormat.suffix.few.translations[] |
list |
מחרוזות הלוקאל. | |
published.scoreFormat.suffix.few.translations[].kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedString . |
|
published.scoreFormat.suffix.few.translations[].locale |
string |
מחרוזת הלוקאל. | |
published.scoreFormat.suffix.few.translations[].value |
string |
ערך המחרוזת. | |
published.scoreFormat.suffix.many |
nested object |
כשהשפה דורשת יחס מיוחד למילה 'large' מספרים (כמו במספרים המסתיימים ב-11-99 במלטזית). | |
published.scoreFormat.suffix.many.kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedStringBundle . |
|
published.scoreFormat.suffix.many.translations[] |
list |
מחרוזות הלוקאל. | |
published.scoreFormat.suffix.many.translations[].kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedString . |
|
published.scoreFormat.suffix.many.translations[].locale |
string |
מחרוזת הלוקאל. | |
published.scoreFormat.suffix.many.translations[].value |
string |
ערך המחרוזת. | |
published.scoreFormat.suffix.other |
nested object |
כאשר השפה לא דורשת טיפול מיוחד בכמות הנתונה (כמו כל המספרים בסינית או 42 באנגלית). | |
published.scoreFormat.suffix.other.kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedStringBundle . |
|
published.scoreFormat.suffix.other.translations[] |
list |
מחרוזות הלוקאל. | |
published.scoreFormat.suffix.other.translations[].kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#localizedString . |
|
published.scoreFormat.suffix.other.translations[].locale |
string |
מחרוזת הלוקאל. | |
published.scoreFormat.suffix.other.translations[].value |
string |
ערך המחרוזת. | |
published.scoreFormat.numDecimalPlaces |
integer |
מספר הספרות אחרי הנקודה העשרונית. בשימוש רק עבור סוג הפורמט NUMERIC. | |
published.scoreFormat.currencyCode |
string |
מחרוזת הקוד הקבועה. משמש רק לפורמט מסוג CURRENCY. |