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
|
<ph type="x-smartling-placeholder"></ph> 已弃用。。 首选 LastModifiedTime。 |
LastModifiedTime() const
|
返回上次修改条目的时间(以自 Unix 纪元以来的毫秒数表示)。
|
PlayerId() const
|
const std::string &
返回玩家 ID。
|
Score() const
|
const gpg::Score &
返回玩家得分。
|
Valid() const
|
bool
如果返回的条目中填充了数据并同时显示成功响应状态,则返回 true;false。
|
operator=(const Entry & copy_from)
|
Entry &
用于从另一个条目分配此条目的值的赋值运算符。
|
operator=(Entry && move_from)
|
Entry &
用于从另一个条目分配此条目的值的赋值运算符。
|
公共函数
条目
Entry()
条目
Entry( std::shared_ptr< const EntryImpl > impl )
显式构造函数。
LastModified
Timestamp LastModified() const
<ph type="x-smartling-placeholder"></ph> 已弃用。。 首选 LastModifiedTime。
PlayerId
const std::string & PlayerId() const
返回玩家 ID。
有效
bool Valid() const
如果返回的条目中填充了数据并同时显示成功响应状态,则返回 true;false。
此条目上的 getter 函数(PlayerId、Score 等)必须设为 true 才可使用。
~条目
~Entry()