সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
gpg:: স্কোর
#include <score.h>
একক ডেটা কাঠামো যা আপনাকে একজন খেলোয়াড়ের স্কোর সম্পর্কে ডেটা অ্যাক্সেস করতে দেয়।
সারাংশ
কনস্ট্রাক্টর এবং ডেস্ট্রাক্টর |
---|
Score ()
|
Score (std::shared_ptr< const ScoreImpl > impl)
স্পষ্ট কনস্ট্রাক্টর। |
Score (const Score & copy_from)
একটি বিদ্যমান স্কোর একটি নতুন স্কোর কপি করার জন্য কন্সট্রাক্টর অনুলিপি করুন। |
Score ( Score && move_from)
একটি বিদ্যমান স্কোর একটি নতুন স্কোর সরানোর জন্য কন্সট্রাক্টর। |
~Score () |
পাবলিক ফাংশন |
---|
Metadata () const | const std::string & স্কোর-সম্পর্কিত বিকাশকারী-নির্দিষ্ট মেটাডেটা প্রদান করে, যদি এই স্কোরের জন্য কোনো সেট করা থাকে। |
Rank () const | uint64_t অন্যান্য খেলোয়াড়দের তুলনায় খেলোয়াড়ের স্কোরের র্যাঙ্ক প্রদান করে। |
Valid () const | bool প্রত্যাবর্তনকৃত স্কোরটি ডেটা দ্বারা পরিপূর্ণ হলে এবং একটি সফল প্রতিক্রিয়ার স্থিতির সাথে সাথে থাকলে সত্য দেখায়; জনসংখ্যাবিহীন ব্যবহারকারীর তৈরি স্কোরের জন্য মিথ্যা বা একটি অসফল প্রতিক্রিয়া স্ট্যাটাস সহ জনবহুল একটির জন্য। |
Value () const | uint64_t খেলোয়াড়ের স্কোর ফেরত দেয়। |
operator= (const Score & copy_from) | অন্য স্কোর থেকে এই স্কোরের মান নির্ধারণের জন্য অ্যাসাইনমেন্ট অপারেটর। |
operator= ( Score && move_from) | অন্য স্কোর থেকে এই স্কোরের মান নির্ধারণের জন্য অ্যাসাইনমেন্ট অপারেটর। |
পাবলিক ফাংশন
const std::string & Metadata() const
স্কোর-সম্পর্কিত বিকাশকারী-নির্দিষ্ট মেটাডেটা প্রদান করে, যদি এই স্কোরের জন্য কোনো সেট করা থাকে।
পদমর্যাদা
uint64_t Rank() const
অন্যান্য খেলোয়াড়দের তুলনায় খেলোয়াড়ের স্কোরের র্যাঙ্ক প্রদান করে।
স্কোর
Score(
std::shared_ptr< const ScoreImpl > impl
)
স্কোর
Score(
const Score & copy_from
)
একটি বিদ্যমান স্কোর একটি নতুন স্কোর কপি করার জন্য কন্সট্রাক্টর অনুলিপি করুন।
স্কোর
Score(
Score && move_from
)
একটি বিদ্যমান স্কোর একটি নতুন স্কোর সরানোর জন্য কন্সট্রাক্টর।
r-value-রেফারেন্স সংস্করণ।
বৈধ
bool Valid() const
প্রত্যাবর্তনকৃত স্কোরটি ডেটা দ্বারা পরিপূর্ণ হলে এবং একটি সফল প্রতিক্রিয়ার স্থিতির সাথে সাথে থাকলে সত্য দেখায়; জনসংখ্যাবিহীন ব্যবহারকারীর তৈরি স্কোরের জন্য মিথ্যা বা একটি অসফল প্রতিক্রিয়া স্ট্যাটাস সহ জনবহুল একটির জন্য।
এই বস্তুর গেটার ফাংশন ব্যবহারযোগ্য হওয়ার জন্য এটি অবশ্যই সত্য হতে হবে।
মান
uint64_t Value() const
খেলোয়াড়ের স্কোর ফেরত দেয়।
অপারেটর=
Score & operator=(
const Score & copy_from
)
অন্য স্কোর থেকে এই স্কোরের মান নির্ধারণের জন্য অ্যাসাইনমেন্ট অপারেটর।
অপারেটর=
Score & operator=(
Score && move_from
)
অন্য স্কোর থেকে এই স্কোরের মান নির্ধারণের জন্য অ্যাসাইনমেন্ট অপারেটর।
r-value-রেফারেন্স সংস্করণ।
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# gpg::Score Class Reference\n\ngpg::Score\n==========\n\n`#include \u003cscore.h\u003e`\n\nSingle data structure which allows you to access data about a player's score.\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Score](#classgpg_1_1_score_1a53b3761c581242f381d018dc233cf7c5)`()` ||\n| [Score](#classgpg_1_1_score_1a0e53cbec749198699706c8e4b9fbfc39)`(std::shared_ptr\u003c const ScoreImpl \u003e impl)` Explicit constructor. ||\n| [Score](#classgpg_1_1_score_1a9ba7be4c99fe240d79111d728b1f0109)`(const `[Score](/games/services/cpp/api/class/gpg/score#classgpg_1_1_score)` & copy_from)` Copy constructor for copying an existing score into a new one. ||\n| [Score](#classgpg_1_1_score_1a84e4f8a8f31c5ef6bfd6cec0a655653c)`(`[Score](/games/services/cpp/api/class/gpg/score#classgpg_1_1_score)` && move_from)` Constructor for moving an existing score into a new one. ||\n| [~Score](#classgpg_1_1_score_1a36ae2115fdd97b283cdc0351a76145e4)`()` ||\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Metadata](#classgpg_1_1_score_1a29b70de17eaf2d0473907e3709a2011a)`() const ` | `const std::string &` Returns score-related developer-specified metadata, if any was set for this score. |\n| [Rank](#classgpg_1_1_score_1a796a005a5c0fc2d7e6c39d90565a5044)`() const ` | `uint64_t` Returns rank of the player's score compared to those of other players. |\n| [Valid](#classgpg_1_1_score_1a224442f46587850453278184b8acf198)`() const ` | `bool` Returns true when the returned score is populated with data and is accompanied by a successful response status; false for an unpopulated user-created score or for a populated one accompanied by an unsuccessful response status. |\n| [Value](#classgpg_1_1_score_1a16ede201a8fcf7069f6bfaa0f95f2a56)`() const ` | `uint64_t` Returns the player's score. |\n| [operator=](#classgpg_1_1_score_1a5e3e2349fb0f87cdbb546c2c37bd0ad8)`(const `[Score](/games/services/cpp/api/class/gpg/score#classgpg_1_1_score)` & copy_from)` | [Score](/games/services/cpp/api/class/gpg/score#classgpg_1_1_score)` &` Assignment operator for assigning this score's value from another score. |\n| [operator=](#classgpg_1_1_score_1a514fe11e1d876c40276a7cebab5847e3)`(`[Score](/games/services/cpp/api/class/gpg/score#classgpg_1_1_score)` && move_from)` | [Score](/games/services/cpp/api/class/gpg/score#classgpg_1_1_score)` &` Assignment operator for assigning this score's value from another score. |\n\nPublic functions\n----------------\n\n### Metadata\n\n```c++\nconst std::string & Metadata() const \n``` \nReturns score-related developer-specified metadata, if any was set for this score. \n\n### Rank\n\n```c++\nuint64_t Rank() const \n``` \nReturns rank of the player's score compared to those of other players. \n\n### Score\n\n```c++\n Score()\n``` \n\n### Score\n\n```c++\n Score(\n std::shared_ptr\u003c const ScoreImpl \u003e impl\n)\n``` \nExplicit constructor. \n\n### Score\n\n```c++\n Score(\n const Score & copy_from\n)\n``` \nCopy constructor for copying an existing score into a new one. \n\n### Score\n\n```c++\n Score(\n Score && move_from\n)\n``` \nConstructor for moving an existing score into a new one.\n\nr-value-reference version. \n\n### Valid\n\n```c++\nbool Valid() const \n``` \nReturns true when the returned score is populated with data and is accompanied by a successful response status; false for an unpopulated user-created score or for a populated one accompanied by an unsuccessful response status.\n\nIt must be true for the getter functions on this object to be usable. \n\n### Value\n\n```c++\nuint64_t Value() const \n``` \nReturns the player's score. \n\n### operator=\n\n```c++\nScore & operator=(\n const Score & copy_from\n)\n``` \nAssignment operator for assigning this score's value from another score. \n\n### operator=\n\n```c++\nScore & operator=(\n Score && move_from\n)\n``` \nAssignment operator for assigning this score's value from another score.\n\nr-value-reference version. \n\n### \\~Score\n\n```c++\n ~Score()\n```"]]