gpg:: ScorePage
  #include <score_page.h>
  一个数据结构,可让您访问得分数据。
摘要
数据包括排行榜 ID、开始时间、时间跨度、集合、上一个排行榜页面令牌、下一个排行榜页面令牌,以及所有排行榜条目的矢量。
        构造函数和析构函数 | 
    |
|---|---|
        ScorePage()
         | 
    |
        ScorePage(std::shared_ptr< const ScorePageImpl > impl)
        显式构造函数。 
       | 
    |
        ScorePage(const ScorePage & copy_from)
        用于将现有评分页面复制到新评分页面的复制构造函数。 
       | 
    |
        ScorePage(ScorePage && move_from)
        用于将现有评分页面移至新评分页面的构造函数。 
       | 
    |
        ~ScorePage()
         | 
    
        公共函数 | 
    |
|---|---|
        Collection() const 
       | 
      
        
         返回排行榜是公开还是社交排行榜。 
       | 
    
        Entries() const 
       | 
      
        const std::vector< ScorePage::Entry > &
        所有得分条目的向量。 
       | 
    
        HasNextScorePage() const 
       | 
      
        bool
        如果计分板有后续的得分页面,则有效。 
       | 
    
        HasPreviousScorePage() const 
       | 
      
        bool
        如果计分板有上一个得分页面,则有效。 
       | 
    
        LeaderboardId() const 
       | 
      
        const std::string &
        返回 Google Play 管理中心事先生成的唯一字符串。 
       | 
    
        NextScorePageToken() const 
       | 
      
        
         返回后续页面的评分页面令牌。 
       | 
    
        PreviousScorePageToken() const 
       | 
      
        
         返回上一页的评分页面令牌。 
       | 
    
        Start() const 
       | 
      
        
         返回最初是针对最高得分还是当前玩家附近的得分查询排行榜。 
       | 
    
        TimeSpan() const 
       | 
      
        
         返回排行榜的时间跨度。 
       | 
    
        Valid() const 
       | 
      
        bool
        如果此  
      ScorePage 已填充数据,则返回 true。 | 
    
        operator=(const ScorePage & copy_from)
       | 
      
        
         用于从其他评分页面为此评分页面分配值的赋值运算符。 
       | 
    
        operator=(ScorePage && move_from)
       | 
      
        
         用于从其他评分页面为此评分页面分配值的赋值运算符。 
       | 
    
        类 | 
    |
|---|---|
| 
        gpg:: | 
      
         用于在成绩页面上创建条目的类。  | 
    
| 
        gpg:: | 
      
         一种几乎不透明的数据结构,表示对 ScorePage 的查询(或为空)。  | 
    
公共函数
HasNextScorePage
bool HasNextScorePage() const
如果计分板有后续的得分页面,则有效。
HasPreviousScorePage
bool HasPreviousScorePage() const
如果计分板有上一个得分页面,则有效。
LeaderboardId
const std::string & LeaderboardId() const
返回 Google Play 管理中心事先生成的唯一字符串。
您可以使用此 ID 引用游戏客户端中的排行榜。只有在 Leaderboard::Valid() 返回 true 时才能调用此方法。
ScorePage
ScorePage()
有效
bool Valid() const
operator=
ScorePage & operator=( ScorePage && move_from )
用于从其他评分页面为此评分页面分配值的赋值运算符。
r-value-reference 版本。
~ScorePage
~ScorePage()