संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
gpg::ScorePage::Entry
#include <score_page.h>
ऐसी क्लास जो स्कोर वाले पेज पर एंट्री बनाती है.
खास जानकारी
कंस्ट्रक्टर और डिस्ट्रक्टर
|
Entry()
|
Entry(std::shared_ptr< const EntryImpl > impl)
एक्सप्लिसिट कंस्ट्रक्टर.
|
Entry(const Entry & copy_from)
किसी मौजूदा एंट्री को नए में कॉपी करने के लिए, कंस्ट्रक्टर को कॉपी करें.
|
Entry(Entry && move_from)
किसी मौजूदा एंट्री को नई एंट्री में ले जाने के लिए कंस्ट्रक्टर.
|
~Entry()
|
सार्वजनिक फ़ंक्शन
|
LastModified() const
|
अब काम नहीं करता.
पिछली बार बदलाव करने का समय चुनना चाहते हैं. |
LastModifiedTime() const
|
वह समय दिखाता है जब एंट्री में आखिरी बार बदलाव किया गया था (इसे Unix epoch के बाद से मिलीसेकंड के तौर पर दिखाया जाता है).
|
PlayerId() const
|
const std::string &
प्लेयर आईडी दिखाता है.
|
Score() const
|
खिलाड़ी का स्कोर दिखाता है.
|
Valid() const
|
bool
'सही' दिखाता है, जब लौटाए गए डेटा की जानकारी अपने-आप भर जाती है और इस जानकारी के साथ रिस्पॉन्स की स्थिति भी दिखती है; गलत, अपने-आप भरी गई उपयोगकर्ता की डाली गई एंट्री के लिए या गलत जवाब की स्थिति वाली भरी गई जानकारी के लिए.
|
operator=(const Entry & copy_from)
|
किसी दूसरी एंट्री से इस एंट्री की वैल्यू असाइन करने के लिए, असाइनमेंट ऑपरेटर.
|
operator=(Entry && move_from)
|
किसी दूसरी एंट्री से इस एंट्री की वैल्यू असाइन करने के लिए, असाइनमेंट ऑपरेटर.
|
सार्वजनिक फ़ंक्शन
प्रवेश
Entry()
प्रवेश
Entry(
std::shared_ptr< const EntryImpl > impl
)
प्रवेश
Entry(
const Entry & copy_from
)
किसी मौजूदा एंट्री को नए में कॉपी करने के लिए, कंस्ट्रक्टर को कॉपी करें.
प्रवेश
Entry(
Entry && move_from
)
किसी मौजूदा एंट्री को नई एंट्री में ले जाने के लिए कंस्ट्रक्टर.
r-value-reference वर्शन का इस्तेमाल करें.
LastModified
Timestamp LastModified() const
LastModifiedTime
Timestamp LastModifiedTime() const
वह समय दिखाता है जब एंट्री में आखिरी बार बदलाव किया गया था (इसे Unix epoch के बाद से मिलीसेकंड के तौर पर दिखाया जाता है).
PlayerId
const std::string & PlayerId() const
स्कोर
const gpg::Score & Score() const
खिलाड़ी का स्कोर दिखाता है.
वैध
bool Valid() const
'सही' दिखाता है, जब लौटाए गए डेटा की जानकारी अपने-आप भर जाती है और इस जानकारी के साथ रिस्पॉन्स की स्थिति भी दिखती है; गलत, अपने-आप भरी गई उपयोगकर्ता की डाली गई एंट्री के लिए या गलत जवाब की स्थिति वाली भरी गई जानकारी के लिए.
इस एंट्री पर मौजूद गैटर फ़ंक्शन (PlayerId, स्कोर वगैरह) के इस्तेमाल के लिए यह सही होना चाहिए.
operator=
Entry & operator=(
const Entry & copy_from
)
किसी दूसरी एंट्री से इस एंट्री की वैल्यू असाइन करने के लिए, असाइनमेंट ऑपरेटर.
operator=
Entry & operator=(
Entry && move_from
)
किसी दूसरी एंट्री से इस एंट्री की वैल्यू असाइन करने के लिए, असाइनमेंट ऑपरेटर.
r-value-reference वर्शन का इस्तेमाल करें.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-08-22 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-22 (UTC) को अपडेट किया गया."],[],[],null,["# gpg::ScorePage::Entry Class Reference\n\ngpg::ScorePage::Entry\n=====================\n\n`#include \u003cscore_page.h\u003e`\n\nA class that creates an entry on a score page.\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Entry](#classgpg_1_1_score_page_1_1_entry_1a819da6506beadf0cbf8c3ad98017a8c6)`()` ||\n| [Entry](#classgpg_1_1_score_page_1_1_entry_1a0459dbe666b3234a464dec9f65a47adc)`(std::shared_ptr\u003c const EntryImpl \u003e impl)` Explicit constructor. ||\n| [Entry](#classgpg_1_1_score_page_1_1_entry_1a6ac998737573b3ea58130df7daf58d04)`(const `[Entry](/games/services/cpp/api/class/gpg/score-page/entry#classgpg_1_1_score_page_1_1_entry)` & copy_from)` Copy constructor for copying an existing entry into a new one. ||\n| [Entry](#classgpg_1_1_score_page_1_1_entry_1a97f71047dfe8c6fb14ac1bf067de9828)`(`[Entry](/games/services/cpp/api/class/gpg/score-page/entry#classgpg_1_1_score_page_1_1_entry)` && move_from)` Constructor for moving an existing entry into a new one. ||\n| [~Entry](#classgpg_1_1_score_page_1_1_entry_1a45717132994736f8142b3486ddd93774)`()` ||\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [LastModified](#classgpg_1_1_score_page_1_1_entry_1a6be6eda3076e935355791d931adfb90b)`() const ` | [Timestamp](/games/services/cpp/api/namespace/gpg#namespacegpg_1a5668d538180e09da17413d5e1c275544) **[Deprecated.](/games/services/cpp/api/deprecated/deprecated)**Prefer LastModifiedTime. |\n| [LastModifiedTime](#classgpg_1_1_score_page_1_1_entry_1a7b1bec91e44f25a31568090abf041823)`() const ` | [Timestamp](/games/services/cpp/api/namespace/gpg#namespacegpg_1a5668d538180e09da17413d5e1c275544) Returns time at which the entry was last modified (expressed as milliseconds since the Unix epoch). |\n| [PlayerId](#classgpg_1_1_score_page_1_1_entry_1aa076d3fb7cceb4dc04a1ce765bec49a5)`() const ` | `const std::string &` Returns player ID. |\n| [Score](#classgpg_1_1_score_page_1_1_entry_1a64d90f26f5ba0a3e0ed57f97b3141a1c)`() const ` | `const `[gpg::Score](/games/services/cpp/api/class/gpg/score#classgpg_1_1_score)` &` Returns player score. |\n| [Valid](#classgpg_1_1_score_page_1_1_entry_1a8ed52640c602772e5fb440e73ebdd418)`() const ` | `bool` Returns true when the returned entry is populated with data and is accompanied by a successful response status; false for an unpopulated user-created entry or for a populated one accompanied by an unsuccessful response status. |\n| [operator=](#classgpg_1_1_score_page_1_1_entry_1a7804f339b8cfe02c180a3c841e7ce202)`(const `[Entry](/games/services/cpp/api/class/gpg/score-page/entry#classgpg_1_1_score_page_1_1_entry)` & copy_from)` | [Entry](/games/services/cpp/api/class/gpg/score-page/entry#classgpg_1_1_score_page_1_1_entry)` &` Assignment operator for assigning this entry's value from another entry. |\n| [operator=](#classgpg_1_1_score_page_1_1_entry_1a660b519d1dcd64a9f92d415e21ad2982)`(`[Entry](/games/services/cpp/api/class/gpg/score-page/entry#classgpg_1_1_score_page_1_1_entry)` && move_from)` | [Entry](/games/services/cpp/api/class/gpg/score-page/entry#classgpg_1_1_score_page_1_1_entry)` &` Assignment operator for assigning this entry's value from another entry. |\n\nPublic functions\n----------------\n\n### Entry\n\n```c++\n Entry()\n``` \n\n### Entry\n\n```c++\n Entry(\n std::shared_ptr\u003c const EntryImpl \u003e impl\n)\n``` \nExplicit constructor. \n\n### Entry\n\n```c++\n Entry(\n const Entry & copy_from\n)\n``` \nCopy constructor for copying an existing entry into a new one. \n\n### Entry\n\n```c++\n Entry(\n Entry && move_from\n)\n``` \nConstructor for moving an existing entry into a new one.\n\nr-value-reference version. \n\n### LastModified\n\n```c++\nTimestamp LastModified() const \n``` \n**[Deprecated.](/games/services/cpp/api/deprecated/deprecated)**Prefer LastModifiedTime. \n\n### LastModifiedTime\n\n```c++\nTimestamp LastModifiedTime() const \n``` \nReturns time at which the entry was last modified (expressed as milliseconds since the Unix epoch). \n\n### PlayerId\n\n```c++\nconst std::string & PlayerId() const \n``` \nReturns player ID. \n\n### Score\n\n```c++\nconst gpg::Score & Score() const \n``` \nReturns player score. \n\n### Valid\n\n```c++\nbool Valid() const \n``` \nReturns true when the returned entry is populated with data and is accompanied by a successful response status; false for an unpopulated user-created entry or for a populated one accompanied by an unsuccessful response status.\n\nIt must be true for the getter functions on this entry (PlayerId, [Score](/games/services/cpp/api/class/gpg/score#classgpg_1_1_score), etc.) to be usable. \n\n### operator=\n\n```c++\nEntry & operator=(\n const Entry & copy_from\n)\n``` \nAssignment operator for assigning this entry's value from another entry. \n\n### operator=\n\n```c++\nEntry & operator=(\n Entry && move_from\n)\n``` \nAssignment operator for assigning this entry's value from another entry.\n\nr-value-reference version. \n\n### \\~Entry\n\n```c++\n ~Entry()\n```"]]