מייצג את ההגדרה של לידרבורד.
רשימה של שיטות למשאב הזה מופיעה בסוף הדף.
ייצוגים של משאבים
זוהי תבנית JSON למשאב תצורה של לידרבורד.
{ "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 } } }
שם הנכס | Value | התיאור | הערות |
---|---|---|---|
kind |
string |
מזהה באופן ייחודי את סוג המשאב הזה. הערך הוא תמיד המחרוזת הקבועה gamesConfiguration#leaderboardConfiguration . |
|
token |
string |
האסימון של המשאב הזה. | |
id |
string |
מזהה הלידרבורד. | |
scoreOrder |
string |
סוג ה-Leaderboard. ערכים אפשריים:
|
|
scoreMin |
long |
ניקוד מינימלי שאפשר לפרסם בלידרבורד הזה. | |
scoreMax |
long |
ניקוד מקסימלי שניתן לפרסם בלידרבורד הזה. | |
draft |
nested object |
נתוני הטיוטה של הלידרבורד. | |
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 |
כאשר השפה דורשת טיפול מיוחד במספרים "גדולים" (כמו במספרים המסתיימים במלטית 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 |
כאשר השפה דורשת טיפול מיוחד במספרים "גדולים" (כמו במספרים המסתיימים במלטית 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. |